Skip to Content
1
Former Member
Jul 08, 2016 at 03:07 PM

Adobe spool to PDF

855 Views

Hello! Can anybody help how to convert an Adobe spool(Type-ADS) to PDF?

I have a spool created from an Adobe form that the program has to read and send an email copy.

I tried CONVERT_OTFSPOOLJOB_2_PDF and CONVERT_ABAPSPOOLJOB_2_PDF and FCC2_SPOOL_TO_PDF.

First one throws an error that 'spool contains no script data',

Second one converts data but the internal table has all Chinese characters and the

Third one returns nothing.

I looked at RSTXPDFT4. It generates a pdf file with a 2kb size and doesn't open as it has no data in it.

I found this FM FPCOMP_CREATE_PDF_FROM_SPOOL, tried it but I guess it only returns the first page. I read from some posts that it has to be followed by calling this FM SCMS_XSTRING_TO_BINARY but this has a parameter(Binary tab) without a type and not sure how to declare it. I am not even sure if this process works.

Can someone who had a similar requirement be of any help.

Regards,
Sunny