Skip to Content
author's profile photo Former Member
Former Member

Print PO and save as PDF

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 13, 2011 at 10:39 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

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

  • author's profile photo Former Member
    Former Member
    Posted on Apr 13, 2011 at 09:39 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 13, 2011 at 10:06 AM

    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

    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.