Problem with GUI_UPLOAD
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.
Durairaj Athavan Raja 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)