Skip to Content
0

Read PDF data from Spool request

Apr 25, 2017 at 11:01 PM

96

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Volker Binder Apr 26, 2017 at 08:28 AM
0

se report RSTXPDFT4 as an example.

Share
10 |10000 characters needed characters left characters exceeded
Eric Caillet Apr 26, 2017 at 09:21 AM
0

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.

Show 1 Share
10 |10000 characters needed characters left 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.

0
Sandra Rossi Apr 26, 2017 at 10:38 AM
0

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).

Share
10 |10000 characters needed characters left characters exceeded