Skip to Content

Report to send spool (pdf form) to printer

Hello Gurus,

I've got the following requirement: there is a background job that daily generates pdf forms and sends them to the spool: I need now a report that, knowing the spool id, will send the forms to the user printer.

My starting point is the spool, as follows:

I tried already with a report, making use of the FM RSPO_OUTPUT_SPOOL_REQUEST but unfortunately the output is not sent to the printer.

I can see the following error while looking at the processed output:

The error mentioned is saying

Unable to initialize device __DEFAULT

note: If I double click on the pdf icon in the first screen shot above, I can get the pdf document rendered correctly within SAP.

Do you have any alternative FM / program to get my requirement satisfied?

Thanks a lot in advance for the help.

With best regards,


img_105.png (20.0 kB)
img_106.png (11.4 kB)
img_107.png (16.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 21, 2016 at 06:09 PM

    Hi Jepi,

    Collect spool ids from TSP01 table and submit to RSNAST00 program.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 22, 2016 at 08:08 AM

    I think the easiest way to do it is to use the RSPO0020 program (cf SAP note 2268476 Download print data from an Adobe PDF spool to a file, download the PDF to the user's desktop and display it via Acrobat Reader and let the user print from there (there are also possibilities to automate the print, which was already discussed in the forum). There are also many consulting SAP notes about the PDF spool files, maybe one of them could help you.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.