Hi,
I´m using the function CONVERT_OTFSPOOLJOB_2_PDF to get the sppoljob, created by sapscript
in a pdf.
When I´m using the function GUI_DOWNLOAD afterwards, to get the pdf on my workstation, I´m using
the option 'BIN' and the filsize (got it from the function CONVERT_OTFSPOOLJOB_2_PDF).
I have the pdf now on my workstation and it´s working fine. but now my question...
I can see, that I have the whole pdf data in a string before using the GUI_DOWNLOAD function. That
means, that the data is not binary, it is in ASCII format, right? But when I´m using the function GUI_DOWNLOAD
in BIN mode then, is it going to be converted to binary and then written to a file? Because when I´m using the
GUI_DOWNLOAD in ASCII mode without filesize, it is not working. I can´t open the PDF afterwards...
the reason, why I´m asking: I want to use all this in a function, giving back the PDF value as binary in an exporting
parameter. So do I have to convert my pdf data, getting from CONVERT_OTFSPOOLJOB_2_PDF to binary? And how
do I have to do that?
thank you!