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!