cancel
Showing results for 
Search instead for 
Did you mean: 

create spool request with given PDF-stream

jens_blueher
Discoverer
0 Kudos

Hello together,

I have created a PDF-stream created by SAP Adobe Forms using function module 'FP_JOB_OPEN' with parameter fp_outputparams-getpdf = 'X'

After then I create an pdf object and attach some files to the PDF-stream with method IF_FP_PDF_OBJECT->set_attachments

Now i want put this PDF-stream into spool system.

Has anybody any idea which function module or method which I have to use to create an spool request ???

Thanks in advance and kind regards

Jens

Accepted Solutions (1)

Accepted Solutions (1)

CreyJ
Participant

Hello all who are searching for a solution to put an PDF stream to spool,

SAP provides a function module ADS_CREATE_PDF_SPOOLJOB, that can put an PDF in the SAP spool system. Example program is FP_TEST_SAVE_PDF_TO_SPOOL.

If not available, check note 0001855522.

Regards

Jürgen

jens_blueher
Discoverer
0 Kudos

Hello Jürgen,

thanks a lot for your answer and keep us in touch.

Best regards

Jens

Answers (1)

Answers (1)

0 Kudos

Hello

In my case I left  fp_outputparams-getpdf empty (initial) and I got both, spool and pdf-stream.

jens_blueher
Discoverer
0 Kudos

Hello Spaceone,

my approach is:

1. get only the PDF-stream from rendered Adobe Form

2. create PDF-object with given PDF-stream and attach some files

3. Put the PDF-stream(PDF-object) with included attachments to the spool system

Which function module or method can I use to create an spool request ???

regards

Jens