Skip to Content
Former Member
Jun 28, 2007 at 11:48 AM

Upload documents from webdynpro to R/3


Hi All,

I have referred to the below thread and created a RFC which gets the binary content and uploads it to DMS.

How to upload file from Web Dynpro into R/3 (BAPI_DOCUMENT_CREATE2)

The file is getting created without any problems. But i am unable to open this file directly from DMS using the transaction CV03N. For example when i upload a PDF and when i try to open the document in CV03N it launches the application with an error message

"Acrobat Reader could not open '_DEVCC10.PDF' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasnt correctly decoded)."

When i upload a text file it opens some junk data and not the original content that was uploaded from portal.

<b>Can someone help me out in finding out the problem?

Also can someone help me in understanding what is the exact data that needs to be passed to <i>BIN_CONTENT</i> as mentioned in the above thread.</b>


Prasath N<i></i>