My requirement is to automatic creation of IDoc for any creation/changes of CS01/CS02/C201 after save
I found the badi BOM_UPDATE .from badi I have to call the Custom FM to create IDocs.
I have changed BOM item details and tried to look at the changed item details ( BADI: bom_update In debugging mode ) .But I have noticed both old and new changes item details in delta_stpob variable . so how to find out the updated records or new ?
Is there any specifc badi or user exit to find new changed details of BOM or after updation ?
Please help me .
Try to search for CHANGE POINTERS available for the BOM change. Then it would be easy for you that, u just need to configure the message type, etc...to generate the outbound Idoc.
Even if you want to go for the existing one as you have mentioned, there might be some indicator to differentiate it. Like for new records flagged as 'I' and changed records flagged as 'U'. Check once again.