cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:File upload

former_member197425
Active Participant
0 Kudos

Dear All,

I got a requirement of uploading any document into SAP using Webdynpro screen .For this i designed a screen but using by

File Upload UI element how can we upload any document format's and where can we store it?

Please suggest me how can i go ahead??

Accepted Solutions (0)

Answers (2)

Answers (2)

aaron_morden2
Contributor
0 Kudos

Using the FIleupload UI element, bind the data, FileName, and mimeType properties to your context. From there you can save the file anywhere you want. Database, App Server, Network Drive.

See

Try searching the forum.

anand_nidamanuru
Active Participant
0 Kudos

You can upload to KPRO Server.

We normally use two ways of uploading the documents.

Using the BDS and upload to Business objects as Attachments. Any Business object can handle attachments.

So create a BO (SWO1 transaction) and provide the key that you want to identify the attachments.

Then you can use the BDS classes (example cl_bds_document_set) for uploading attachments.

The other approach is to use the SAP Office API's.

You can Google for documentation.

I am not sure if there are any other ways, but we found using Business Objects and BDS to be very simple and useful

Thanks,

Anand