Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to convert RAWSTRING to table format

Former Member
0 Likes
973

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?

1 REPLY 1
Read only

Former Member
0 Likes
520

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