Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Read PDF data from Spool request

Former Member
0 Kudos

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

4 REPLIES 4

former_member226519
Active Contributor
0 Kudos

se report RSTXPDFT4 as an example.

Former Member
0 Kudos

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.

0 Kudos

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.

Sandra_Rossi
Active Contributor
0 Kudos

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