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

How to print PDF document from application server

Former Member
0 Likes
2,110

is there any sap function module or program or SM69 command to print the pdf document ?

I know the app server path and printer id.

Thanks,

Mahesh

is there any sap function module or program or SM69 command to print the pdf document ?

I know the app server path and printer id.

Thanks,

Mahesh

4 REPLIES 4
Read only

Former Member
0 Likes
1,302

Have a look at standrad report RSPO0023, it might be of some use to you.

Read only

0 Likes
1,302

REPORT RSPO0023.

*

*

* Not used anymore, coding removed for security reasons

* See note 1575006

Read only

0 Likes
1,302

OK that's good to know as that note hasn't been applied yet in our system so.

Read only

peng_wen
Product and Topic Expert
Product and Topic Expert
0 Likes
1,302

Hello,

If you wish to store the files on the NT OS of the SAP server when
you print, the following consulting note describes the procedure:
   Note 161516 - Printing into a file or anywhere else in NT

To print a pdf file on the R/3 server as described in Note 161516, you
must create an output device which uses Access Method L, and type 'PDF1'
and a combination of Command Sets and a windows script.
Some knowledge of commands/scripts is needed. Note 161516 provides
a sample script. Your os admin should be able to help if required.

Otherwise, you can consider that create a addon program to use FM
FM 'CONVERT_OTFSPOOLJOB_2_PDF' or 'CONVERT_OTF' to convert the spools
in backgroud and store them in the server.

Regards,

Wen Peng