Hi,
If you have data in Binary format, then upload the same into application server for a PDF file.
Assume you have your binary data in table it_pdf.
Below is sample code:
DATA: lv_as_path(100) VALUE '/tmp/zdocs/myPDF'.
open dataset lv_as_path for output in binary mode.
loop at it_pdf into ls_pdf.
transfer ls_pdf-field to lv_as_path.
clear ls_pdf.
endloop.
close dataset lv_as_path.
refresh it_pdf.
Hope this would be useful!
Regards,
Meganadhan S