Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

Re: convert bin to pdf and upload in application server

$
0
0

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


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>