cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in receiving Media file from SAP UI5

Former Member
0 Kudos

Hi all,

I have developed a Media collection set in Gateway to receive Doc file from front end ( SAP UI5).

My input parameter for the same is IS_MEDIA_RESOURCE-VALUE ( Type XSTRING) ( Method CREATE_STREAM ).

The Service from front end is successfully getting triggered but the content in the above mentioned  importing parameter

is not getting downloaded after i save it in SAP in binary form.

Moreover if i test my Service from Gateway by using 'ADD File' option , then it works perfectly fine.

Hence i need to know if something  missing from my end ( any conversion to get the correct XSTRING  ) or its the file format from the front end which is causing problem

If so then any clues as to what format the frontend should necessarily be following in sending the file to Odata. ?

If possible pls mention the approach as well.

Accepted Solutions (0)

Answers (1)

Answers (1)

AshwinDutt
Active Contributor
0 Kudos

Hello Shailendra,

If its working from GW Client then service looks fine.

Please check from UI side like if appropriate Mine Type is sent when content is attached or not.

Have a look at the below which may help you ->

You can also try to search contents for handling media content with UI5 and SAP Gateway. I assume already information is available in the forums.

Regards,

Ashwin