cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member188498
Active Participant
0 Kudos

Hi,

Follow this:

and this:

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

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