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

retrieve PO number in print program

Hi,

The process to print a smartform for a particular PO consists of triggering of smartform by a print program. print program is triggered by output type. Output type is trigerred for a particular document. In my case document is Purchase Order.

My query is: At runtime how do we determine the purchase order number for which smartform has to be processed.

Is it fetched using some function module ? I am not sure about this but I think function module ME_READ_PO_FOR_PRINTING has to be used for this purpose. Please clarify this as well.. If this can be used then what will be the values for its import parameters..

Another query is whether the print program should be declared as an executable program or as a subroutine pool as I see that for the standard SAP form for PO , print program is a subroutine pool ...(looks like that 😉 )

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 12:14 PM

    Hi,

    No need to write any new drive program

    use this driver program SAPFM06P

    and assign it to form using NACE

    Regards

    Shiva

    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.