‎2011 Dec 19 8:18 AM
Hi Experts,
I have a requirement from my client. When a Material BOM gets changed from CS02 a mail will trigger. I have found a BADI
bom_update with method CHANGE_AT_SAVE but can not understand which field is getting changed from the parameters of the mentioned method. For example, how to know which BOM item got deleted? Can anyone suggest me on this ?
Thanks in advance.
Regards,
SURYA
Edited by: suryabasu on Dec 19, 2011 2:56 PM
‎2011 Dec 19 10:58 AM
actually when i m deleting an item it is showing in delta_stpob with other items which are not deleted. so how to differentiate in this case?. Please can anyone suggest me?
Regards,
SURYA
Edited by: suryabasu on Dec 19, 2011 8:20 PM
‎2011 Dec 20 9:55 AM
Hi
I had a look in BADI method and what is feel is since you the change number in CHANGE_AT_SAVE can you just check if corresponding this change number we have entries in CDHDR and CDPOS. If yes then you can use them to idenfitfy what is changed.
Else please look into below mentioned link for your query.
<link to blocked site removed by moderator>
Thanks
Nabheet
Edited by: Thomas Zloch on Dec 21, 2011 12:26 AM
‎2011 Dec 21 12:05 AM
Hi Surya,
Pls check field VBKZ in Delta_Stpob. We can see the indicator 'D' for the item deleted.
Thanks.
‎2011 Dec 22 3:04 PM
Hi Ashok,
Thanks for your reply.
In method change_at_save i found that the indicator is not getting updated with 'D' but in change_before_update method of the same badi i can see the 'D' indicator.
regards,
SURYA
‎2012 Feb 27 11:16 AM