Skip to Content
1
Former Member
Dec 18, 2014 at 12:48 PM

Attachment Upload in SAPUI5 application through Gateway

3413 Views

Hi,

I am developing an UI5 application for approval of purchase requisitions.

I have already created the provision for viewing the uploaded attachments for a PR uploaded through ME52N.

Now, I have to create the provision of uploading the attachment for a PR as available in ME52N.

For this, I have already created an RFC in SAP R/3 which will accept the filename and the XSTRING of the file and it will create the attachment. The RFC has been tested also and working fine.

Now I have to create the SAPUI5 control in my application for this (choosing a file) and correspondingly converting the file to XSTRING and sending the filename and the XSTRING to the Gateway which will call the RFC.

Can anybody guide me how to make the provision of uploading the file (through uploader) and sending the file content in XSTRING format to the Gateway?

Any help will be highly appreciated.

Regards,

Subhabaha Pal

Attachments

Pic41.jpg (38.0 kB)