2007 Nov 02 11:00 AM
I receive a PDF file as binary content in RAWSTRING from a WebService and want to download this to a file on my frontent or application server.
GUI_DOWNLOAD only accepts a table as input, how do I split the RAWSTRING to a format that I can download to my frontend?
I receive a PDF file as binary content in RAWSTRING from a WebService and want to download this to a file on my frontent or application server.
GUI_DOWNLOAD only accepts a table as input, how do I split the RAWSTRING to a format that I can download to my frontend?
2007 Nov 02 8:27 PM
I'm pretty sure that you can just chop it up into strings of constant length and append these fields to an internal table. Then GUI_DOWNLOAD with filetype 'BIN'. You will also have to determine the length of the file and pass that to the FM.
Rob
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |