Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Problem in receiving Media file from SAP UI5

$
0
0

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.


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>