Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with GUI_UPLOAD

Hi all,

I am using GUI_UPLOAD to upload pdf and doc files.I am using filetype = 'BIN'.But though the files are getting uploaded,they are not opened. Word is showing error in opening and so is Acrobat Reader.Where have I gone wrong ? Please suggest.

Regards,

Ananya

Tags:
Former Member
replied

How do I pass the filename in this FM?

FILES table parameter

directory = "d:\Documents and Settings\user\Desktop\"

(please note that this is case sensitive"

filename = <fielanme.txt> "with extension"

How can it be of table type ?

i dont get this question, can you explain a bit further

Also,I am loading the document from the presentation server from one system as an attachment of a BO.

Do I need to pass my system info ?

this is for this purpose only and no local system info is required.

Will GUI_UPLOAD be simpler for a beginner like me?

No, because when you upload binary content like DOC or PDF you have to convert it to a propery type before loading that into GOS (which FM or class/method do you use for loading the uploaded content to GOS)

Regards

Raja

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question