Skip to Content

create spool request with given PDF-stream

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 29, 2013 at 08:40 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 19, 2012 at 03:44 PM

    Hello

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

    Add comment
    10|10000 characters needed characters exceeded

    • 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