cancel
Showing results for 
Search instead for 
Did you mean: 

Function call to MB_CREATE_GOODS_MOVEMENT failing

Former Member
0 Kudos

Function call to MB_CREATE_GOODS_MOVEMENT failing when it is called in a Function module which is executing with "in update task"

The issue is occuring for Usage decision change which triggers the stock movement 344.

The material batch has two storage locations for which FM MB_CREATE_GOODS_MOVEMENT and MB_POST_GOODS_MOVEMENT are being called.

The execution for 1st storage location gets completed.

However for the 2nd storage location, in MB_CREATE_GOODS_MOVEMENT there is a subroutine enqueue_check which is checking a variable xcommit and it requires this variable to be blank. However this variable has been set during the execution of the previous storage location and can only be unset by a subroutine which is called with "on commit".

The Function module which is calling MB_CREATE_GOODS_MOVEMENT and MB_POST_GOODS_MOVEMENT is executing as a part of update task.

Please share your thoughts on this issue.

Accepted Solutions (0)

Answers (0)