Skip to Content
avatar image
Former Member

Read PDF data from Spool request

Hi gurus,

in my system ECC i have spool requests (transaction SP01) which are of PDF type (take a look ,at my screenshot). Now, in ABAP, i need to get the raw data of this PDF. Any ideas ?

It's not OTF conversion or others.

2017-04-26-00-56-27.jpg

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 26, 2017 at 08:28 AM

    se report RSTXPDFT4 as an example.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 26, 2017 at 09:21 AM

    Hi,

    it's so strange. If i use report RSTXPDFT4, the downloaded file is not correct, the size is wrong and can not read the file. If i use transaction SP01, i can read the file correctly.

    Add comment
    10|10000 characters needed characters exceeded

    • When replying to an answer, please use "Comment on this answer" instead of posting a new answer. Otherwise the person you're replying to is not notified. It also confuses the readers because it's not an actual answer/solution.

      Thank you.

  • Apr 26, 2017 at 10:38 AM

    Use the function module FPCOMP_CREATE_PDF_FROM_SPOOL. If there's only one PDF (i.e. not a bundle), the parameter I_PARTNUM should be passed the integer value "1" I think (or try 0 if 1 doesn't work).

    Add comment
    10|10000 characters needed characters exceeded