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

Which user exit can be used to update component before Production Order saving?

Hi, I need check component data and set value to field "Unloading Point"(RESB-ABLAD) before Production Order saving in CO01/CO02/CO08/CO40/CO41 and so on.

I have tried user exit PPCO0001, but system only call use exit PPCO0001(Line 733 in FM CO_BT_ORDER_POST) after post Production Order(around line 477 in FM CO_BT_ORDER_POST), so use exit PPCO0001 is not useable for ths requirement.

For other user exits as PPCO00XX, the import and export parameter is not enough for component data update.

Do we have a good user exit for this requirement?

I also saw some ENHANCEMENT-POINT in FM CO_BT_ORDER_POST. Is this the only way to update component before Production Order saving?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Apr 16, 2013 at 11:01 AM

    Hello liu

    Try to make use of enhancement PPCO0007 (Exit when saving production order). This enhancement holds a structure which does not have the field mentioned in your query i.e. RESB-ABLAD(Unloading Point). But through method of stack programming you can achieve this goal of updating some value to unloading point.

    Regards

    Suresh Nair

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 16, 2013 at 11:08 AM

    Hi,

    you can use BADI WORKORDER_UPDATE with Methode AT_SAVE

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Suresh Nair

      Hi, method IN_UPDATE will not be call when we saving Production Order, only BEFORE_UPDATE will be call. And BEFORE_UPDATE does't have any exception to raise.

      However, the table parameters of BEFORE_UPDATE are all only Importing, not Changing, so we can not cange data here! For this reason, BADI WORKORDER_UPDATE is not useable for this requirement anymore.

      Do we have a solution to change data before Production Order saving?

  • author's profile photo Former Member
    Former Member
    Posted on Apr 17, 2013 at 03:27 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2016 at 02:09 PM

    Hi liu bin,

    sry I cannot help you, but I have one question:

    How do you set the value of RESB-ABLAD?

    Are your reservation created automatically?

    Maybe you can help me with my problem in

    Regards,

    Hubert

    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.