Skip to Content
0

Function call to MB_CREATE_GOODS_MOVEMENT failing

Jan 31 at 12:25 PM

20

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers