Skip to Content
0
Former Member
Mar 13, 2013 at 06:15 PM

Upload a file as RAWSTRING to application server va RFC

433 Views

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.