Application Development and Automation 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 only

Read PDF data from Spool request

Former Member
0 Likes
2,688

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
Read only

former_member226519
Active Contributor
0 Likes
1,684

se report RSTXPDFT4 as an example.

Read only

Former Member
0 Likes
1,684

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.

Read only

0 Likes
1,684

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.

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,684

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