Skip to Content
avatar image
Former Member

Details on SAP User Exit or Enhancement available to check discontinuted materials in Production Order


I need information and help on suitable SAP user exit or enhancement for Production order for this below scenario.

  • While creating production order in CO01 system  does material  status checks if master data is fine then i can save the the production order.        But if a BOM component had been updated with Discontinuation indicator  in MPR4 view and details of follow up material  updated in Material  master then system pops up message informing

        "The component XXXX has material status Phase out ROH. Do you still want to adopt the component?".

  • Then there is option of Yes, No and Cancel in the Pop Up message.
  • If i click on Yes then new component gets replaced with discontinuation material and then i can save the production order
  • If i click on No then new component will not get replaced and production order should not  be saved

If you have come across this scenario and would like to know which User exit or enhancement can be used

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 31, 2014 at 05:39 AM


    Check below User exits with your ABAP people.

    PPCO0023  Checks Changes to Order components

    PPCO0007  Exit when saving production order

    PPCO0008  Enhancement in the adding and changing of components

    PPCO0019  Checks for changes to order operations

    Also check below BADI.

    WORKORDER_UPDATE           Business Add-In PM/PP/PS/PI Orders  Operation: UPDATE.


    Add comment
    10|10000 characters needed characters exceeded

  • Jan 05, 2015 at 02:45 PM

    Dear Ramesh,

    If your requirement is with discontinuation indicator I will recommend you to use the standard setting. In that case system will first find the availability of the discontinuation material. If it is not there, then system will check for the follow up material.

    Please refer the document below.

    But if you want exactly what you have mentioned, talk to the ABAP person with the  exits.

    PPCO0023  Checks Changes to Order Components

    PPCO0007  Exit when saving production order



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Krishnendu,

      Thank you for forwarding the link details and inputs on UE. I had gone thru the link and document created by Dora. I had noticed that follow up material does not get requirement quantity details updated with respective to discontinued material.

      Do you have any idea on this.

      Even if we save the production order what will happen to ATP check. Any thought on this point