Application Development 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: 

Convert Binary Data to Spool and then Spool to PDF in ABAP

former_member210252
Contributor
0 Kudos
2,240

Hi Experts,

Using WebService PDF file data will be sent to PI Proxy and from PI Proxy I am receiveing

RAWSTRING data into ABAP.

I am converting RAWSTRING to BINARY FORMAT using FM scms_xstring_to_binary.

The BINARY Formatted Data from FM scms_xstring_to_binary I am able to download using GUI_DOWNLOAD in PDF format and I get correct data in the downloaded PDF. Downloaded PDF data and Actual PDF data looks good/similar.

But my requirement is to generate a PDF in ABAP program for the Actual PDF Data coming from WebService through PI proxy. In short BINARY FORMATTED DATA needs to converted to PDF and then to SPOOL.

If any inputs please provide.

Regards,

Rafi

1 REPLY 1

DoanManhQuynh
Active Contributor
0 Kudos
492

You can try this fm: ADS_CREATE_PDF_SPOOLJOB