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

How to identify if there is any change in production order - Any BADI or BAPI?


Hello Expert,

I need a help.

My requirement is to call a custom FM, only when any change occurred in production order(CO02) on header level in general tab or assignment tab or control tab or master data tab etc.

I was able to find the BADI - WORKORDER_UPDATE which triggers at time of saving. Also I am able to find method BEFORE_UPDATE where I can see the parameter like HEADER_OLD and HEADER. So it's easy to compare if there is any change and I can call my FM.

But the problem is while comparing it's always showing difference though I didn't change any thing for this order. It's some flag. I have only option to skip these fields to check and compare remaining fields only.

But I am not sure if it's correct way of doing. I want to know these fields are default to be changed when there is no changed occurred.

If you know any other option to identify then please let me know.

Please find the attached screen shot document for better understanding.

Thank you!

Pankaj Kumar

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Feb 21, 2017 at 04:52 PM


    SAP Proposed a solution to track the changes of a production order using an exit. You can use this solution and enhance it to meet your business requirements. See the thread for details.



    Add comment
    10|10000 characters needed characters exceeded