Skip to Content
0
Former Member
Jan 15, 2014 at 08:45 PM

Transfer PDF spool in web service

73 Views

We have a output document that generates a spool in PDF format

I would like to wrap this PDF document within a web service and transfer the PDF data. I have done something similar with classical reports.

SUBMIT program to create spool for report

* Convert the spool request to PDF format. CONVERT_ABAPSPOOLJOB_2_PDF

* convert pdf to xstring string

'SCMS_XSTRING_TO_BINARY'

* Convert xstring to binary table

But in this case, PDF is already created in PDF, so how can we transfer the PDF data?