Professional Documents
Culture Documents
Community
Former Member
January 7, 2014 1 minute read
1) Whenever one triggers a print output in SAP it either gets immediately printed or will be saved as bu er
in print spool.
2) It might require that at some point user want to convert this output in to a PDF le .
SAP provides two ways in which a print output can be converted in to a PDF format.
1. Directly from print preview of output. Steps involved for the same is as below.
A.) Goto the print preview of the document which needs to be converted in to pdf format.
B.) Execute the command ‘PDF!’ in the command line as shown below. This will convert print preview
of output in to PDF which can be saved.
When a spool has less than 99 pages we can run a SAP report RSTXPDFT4 in SE38 to convert the output to PDF. We
can also have a Z t-code made for the program made for the same .
steps:
a) Execute the program RSTXPDFT4 in SE38 by entering the spool number which is to be converted to PDF.
Follow RSS feed Like
When spool output contains more than 99 pages: The above steps are only useful if number of pages is less than 99.
When the number of pages in spool is more than 99 in addition to RSTXPDFT4 program we need to run one additional
program RSTXPDFT5. Steps are as explained below.
Step 1 :- Spool number identified which has more than 99 pages in it.
Step 2:- Run the program RSTXPDFT4 with the Spool number.
Step 3:- There will be message pop up “PDF convertion in Back ground?”. Click on Yes.
Step 4:- On clicking ‘Yes’ a batch job will be created and scheduled.
Step 5:- Go to sm37 and you can see the batch job running. Note down the spool number from the batch job.
Step 6:- Run the Second program( using se38) – RSTXPDFT5 and enter the Second spool number(the one got in
background job) in the selection screen and execute.
Step 7 :- On executing there will be pop up for entering the file name. Name the file and path for saving the file. The file
name extension would be .pdf
PDF File downloaded will be downloaded to the path specified in save as screen
Alert Moderator
Assigned tags
SD Sales |
SAP delivered: more than 30 new improvements in the area of SD Sales & Billing
By Carolin Hormuth , Oct 20, 2017
Related Questions
17 Comments
Pradeep Mani
Good one..
Like(0)
Former Member
Like(0)
Santosh Sharma
Former Member
Not sure if any of you can help, I have the following problem
we are converting our purchase order in pdf format and the content of the le does not match what we see in
the print preview…
Like(0)
G Lakshmipathi
Roberto Cotechino
Output Management
Like(0)
Phanikumar Valiveti
Dear Roberto,
Phanikumar
Like(0)
Shareeq Hussain K M
Thanks for sharing. My out put is more than 200 pages. It is around 5000 pages. RSTXPDFT5 is not creating the
PDF file. It is working fine if it is 199 pages.
Kindly help.
Follow RSS feed Like
Regards,
Shareeq
Like(0)
Former Member
Like(0)
John Vo
Like(0)
Former Member
Hi Krishna Prasad,
I have tried the local drive as well as AL11 path. I’m getting the message “xxxxxx bytes transferred” but I do not
see any le in the path. Please let me know is there anything I missed.
Like(0)
Former Member
Another alternate way could be using LOCL printer as any PDF writer.
Like(0)
Follow RSS feed Like
Former Member
The documents had to be sent to government o cials in a couple of hours and the user was not able to print via
SAP.
I tried above steps for converting to pdf but did not work.
Easier way to change the extension to pdf is via CMD command “ren * *.pdf”
I used PDFSAM.
Like(1)
Anitha Paul
Chris Bermel
Could someone tell me if they know if what is the magic number of pages to export the spool le to a PDF? The
job is cancelling when I run RSTXPDFT4 in back ground with the – “PDF data of length 95698316 created”
Like(0)
Former Member
When I execute the command ‘PDF!’ in the command line, SAP will only convert the print preview of the quote
output to PDF if the quote is not longer than 1 page. How would you print a quote containing multiple pages?
Many quotes exceed 1 page and I need to gure out how to convert them to PDF.
Like(0)
Maheshkumar Gattu
Like(0)
John Higgins
I would also be interested in how to disable. The only workaround I’ve found is to go into the messages output
and type NONE as my printer. I still get an output to use the PDF! method but no wasting of paper.
Like(0)
Follow RSS feedFind us on Like
Newsletter Support