Skip to Content
avatar image
Former Member

How to upload/download files from webdynpro to R/3.

hi,

we have a scenario where we need to upload/download any type of files(ppt, doc, zip, jpg,...) from webdynpro to R/3.

Is there any possibile way to move the file physically from webdynpro to R/3,

and download the same file once again to webdynpro.

NWDS version is 7.0.10. If any one aware of this please let us know, the task is in high priority.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 19, 2007 at 03:34 PM

    Hi,

    Follow this:

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

    and this:

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d2201c20-0801-0010-49b3-94fca8f590d5

    I guess you can for example read file data in web dynpro as byte[] from binary context node in fileuploadui element and then call the function from the first link to save it to r/3.

    Similarly, you can define another function in r/3 which reads file data from r/3 and then it passes file data as byte[] to webdynpro binary context. You must also set appropriate IWDModifiableBinaryType for this node (mime type, filename) to be able to download the file.

    Regards,

    Ladislav

    Add comment
    10|10000 characters needed characters exceeded