on 10-13-2010 9:16 AM
Hi all gurus @ SDN forums,
I'm working on a requirement in which a specific method/function should be triggered/executed (in the change badi) when specific fields (some standard and some custom) values are changed, i.e, the value of purchase organization (which is in our scenario a custom field label in the header structure).
When a value is changed, then the CHANGE BADI is triggered but obviously, data passed to the BADI are the updated one. I'm looking for a way to determine which fields have been changed once in the change badi.
I thought I could play with IMPORT/EXPORT to memory ID and compare at any change badi run the value of the previous iteration w.r.t. the actual one. But this seems quite an unclean solution, so I'm asking if there's a "clearer" solution (consider also I'm a newbie with SRM7 and therefore not that skilled on OO ABAP...).
Thanks in advance,
M.
Solved. Using a getdetail() method I'm able to see in change badi the data before the execution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.