Update ztable in BADI implementation
I am trying to implement ORDER_SAVE badi. And, I have to update one ztable in that implementation.
My question is, do we need to use commit statement after the update statement to reflect the changes in ztable?
Can someone please explain if you have worked on ztable updating in BADI implementations?
Faisal PC replied
Create an update function module. This can be set in the attributes tab of the FM.
Now, call your commit in the update function module. This will get updated at the time of BADI commit. Don't forget to call your FM as CALL FM IN UPDATE TASK. Please let me know if you need any other details on this.