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

User exit while creating a production order

Hi

While creating production order, i want to have a warning message if the header material has not been produced in last three months.

Please suggest user exit/enhancement or another solution to this.

Thank you

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Apr 29, 2008 at 07:13 PM

    Hi,

    For your requirement, you need to use the User Exit: PPCO0007.

    Regards,

    Siva

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      This is triggered just before saving...in your case what you are asking about if pertaining to production order header data, it is possible...just see the dpocumention on this

      This enhancement does the following:

      checks data when saving the order and possibly to prevent the order being saved and

      changes data in the order header

      To prevent the order being saved the export parameters of NO_UPDATE must be set to a value other than initial. The transaction then branches back to online processing.

      Changed fields from the order header can be transferred back to the calling program using the export structure HEADER_EXP. The calling program then saves the changed data. The changed data is then copied to the order header if order saving was initially prevented by the parameter NO_UPDATE.

      Note that the calling program no longer checks the changed data in the order header. The person using the customer exit is thus responsible for data consistency!

      You should also note that a lot of data in the order header is only set once the customer exit has been processed. This data includes, for example, the person who created the order, the last person to change it, the creation date and the change date. Numbers assigned internally, such as the order number, are not assigned when the order is created. The number fields are thus still filled with temporary numbers.

  • author's profile photo Former Member
    Former Member
    Posted on Apr 29, 2008 at 07:46 PM

    PPCO0001 /PPCO0007 enhancement when saving the order can be used to get the your requirement

    Edited by: Rajesha Vittal on Apr 29, 2008 9:46 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 30, 2008 at 12:15 AM

    Hi,

    Try user exit PPCO0012

    Regards,

    Sankaran

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 30, 2008 at 11:19 AM

    Hi

    BADI workorder_update with methode at_save might be also helpfulll for you.

    Regards,

    Sabine

    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.