Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Upload a file as RAWSTRING to application server va RFC

$
0
0

Hi all!

 

I need to upload the binary file (JPG image) to application server.

 

I created a function module which takes the file data table in TABLES parameter and transfers it into appserver.

The problem is I cant pass the binary string to that FM, I get the error message that I can't pass RAWSTRING to RFC function module.

But if I use RAW type instead, the file is uploaded successfully but can't be opened. The error message says the file is probably damaged.

 

So I need to find a way to pass the RAWSTRING into RFC function module.

Or maybe to find some other way to upload a binary file into an application server.

 

Any help is appreciated!

 

Best regards,

Anton.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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