cancel
Showing results for 
Search instead for 
Did you mean: 

Smart form: Spool to PDF Conversion more than 100 pages.

Former Member
0 Kudos

Hi folks,

I have an issue with Function Module (FM) CONVERT_ABAPSPOOLJOB_2_PDF when the report to be converted has more than 100 pages.....i have explained this scenario as below

We have been using the FM CONVERT_ABAPSPOOLJOB_2_PDF to convert ABAP report to PDF file and then send this via mail using FM SO_DOCUMENT_SEND_API1.....

PDF conversion using FM CONVERT_ABAPSPOOLJOB_2_PDF works well if the number of report pages is less than 100....i.e the table pdf of the FM will contain the output as expected.....

If the report has more than 100 pages, the the FM CONVERT_ABAPSPOOLJOB_2_PDF will schedule the conversion job as a background job and returns with a SY-subrc eq 0 and the table parameter pdf will ne empty.

Could you suggest me a woorkaround in this situtaion...i.e how do I then get the output of the background job

And any process to convert Spool to PDF if having more than 100 pages.

Thanks in Advance............

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi prasd

use the st6andard program for pdf coversion.

RSTXPDFT4 -Converting SAPscript (OTF) or ABAP List Spool Job to PDF.

thanks

sachidananda

former_member181995
Active Contributor
0 Kudos

Pb,

If the report has more than 100 pages, the the FM CONVERT_ABAPSPOOLJOB_2_PDF will schedule the conversion job as a background job and returns with a SY-subrc eq 0 and the table parameter pdf will ne empty

.

i would suggest you to if pages are more than 100 than you need to send report output to sp01 with spool request number by using fm job_open..job_close..

than from sp01 you can convert pdf by running RSTXPDFT4 in se38.

hope this would solve your problem.

Amit.