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

File Upload Service for xlsx not working

$
0
0

Hi Experts,

 

I have a strange issue, i have built a service to upload file content and store the same and then allow the user to download it using the get_stream method.

similar to this tutorial: How To Upload and Download Files Using SAP NW Gateway SP06

Only i have extended the example to store the xstring content into KPRO instead of stroring it into a DB.

The service works fine with jpg and txt files. the problem arises when i use xlsx docs.

 

I have successfully tested the same using the gateway client and it works for xlsx also but when the same is called using a rest client or form a UI file upload program, no response is returned back.

 

In case of the gateway client the program uses sap_gui_upload and the xstring which is uploaded is different then the xstring which is received from the rest client upload.

 

Any suggestion to resolve this issue will be really helpful,

Saurav.


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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