I need to change goods receipt storage location, work centers and component storage location in production order, if some specific user status is maintained.
So I'm using BADI WORKORDR_UPDATE, method BEFORE_UPDATE, where I call some function in update task.
This function has delayed start (V2) and change all required things using BAPI_ALM_ORDER_MAINTAIN.
Problem is, that wen I run it, I got message 'Update was terminated' with reason COMMIT_IN_POSTING.
I have check the code and didn't find any commit work statement.
Could someone help me?