cancel
Showing results for 
Search instead for 
Did you mean: 

Print PO and save as PDF

Former Member
0 Kudos

Hi

I am facing a scenario where the user would like to print a purchase order and then save it on a given local directory (C:) as a PDF file. But I am not sure what to do to make it happen. We are in SAP 4.7.

My question is basically:

How do I save a PDF in the background on the local PC everytime a print a Purchase order? Is there any program/FM to be used for the purpose? I tried RSTXPDFT4 but the user do not want to specify the spool request every time they need to save something.

Also, is there a good way to use an output type for the purpose? Similar to for example NEU but instead of printing the PO, it should save to the PC as PDF. Any idea on how to configure such an output type, step by step?

Any suggestions are welcome for the best solution.

Thanks,

Lars Tornblom

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

this is an option you can use rather than trying to download a PDF to the Users desktop or folder.

Goto NACE - Select the Application EF - Purchase order, select the Out put type that you are using for the PO Print, and go to the details, Click on the Atorgae sytem tab, Select Storage Mode - Print and archive or Archive only. and maintain the document type as MEOORDER

Create a PO and process the output, once you process the out put, in the ME23N screen , click on services for the object and clik on attachments, there you can find the PO output attched whicj opens in a PDF format.

Hope this helps.

Former Member
0 Kudos

Kishore

Thanks for the input, but when I select the storage mode Print and Archive (and MEOORDER) for my output type, I cannot print the PO with ME9F anymore? I tried to, but when I press Output message, nothing happens...

Any ideas?

Thanks

former_member188931
Active Contributor
0 Kudos

Hi,

Please check the below links for creating the PDF printer and then assign this to your print output of PO,

[]

[]

Thanks

Hrishi

Shiva_Ram
Active Contributor
0 Kudos

Check with Basis whether you can use MAIL as printer in the SAP system [This is SAP standard print feature). When MAIL is used as printer name, the user need to maintain the user ID or email address in the print screen. The output will be sent to user email box as .PDF attachment, which they can store it in their local PC.

Regards,

Former Member
0 Kudos

I have same problem..User wants to have PO output as pdf..I have tried changing in output type maintaining Storage Mode - print and archieve and Document type - MEOORDER...

It didnt work in my case..I have also tried PDF! okcode..but it is also not working as the form is not smartform.

Please help me with this..

Answers (2)

Answers (2)

pankaj_singh9
Active Contributor
0 Kudos

Hi,

If you want to save PO output to PDF in a specific file path then through BAdi call the program "RSTXPDFT4" immediately once you print the PO and pass the Spool request and path where you want to store the document.

BAdi - ME_PROCESS_PO_CUST and Interface - POST

Former Member
0 Kudos

Hi,

1) Configuration to be done in transaction NACE for PDF attachment.

NACE->select application EF - Purchase Order -> output types->select your output type and configure.

2)Maintain condition type in MN05 with the entry of medium.

Regards,

BK