Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Function Modules consecutive calls

Former Member
0 Kudos

Hi.

Please help me. The following problem arised.

I try to move some quantity of some material to storage_location_1 and then the same quantity from storage_location_1 to storage_location_2. First movement passes successfully, but the second stops with error message - something like "not enough material quantity for movement at storage_location_1". What is wrong?

I call both BAPI_GOODSMVT_CREATE and BAPI_TRANSACTION_COMMIT with "wait='X'" and purely see the first document.

When the stock quantity for this material at storage_location_1 certainly exceeds quantity to be moved both movements passes without errors.

Since such error happens from time to time, i investigate through BAPI_GOODSMVT_CREATE source code and found it uses function modules calls in update task. Specifying SET UPDATE TASK LOCAL seems nothing to change.

Forward thanks.

2 REPLIES 2

Former Member
0 Kudos

Hallo Maxim,

see OSS 738673, 520813 or search OSS with BAPI_GOODSMVT_CREATE

Viktor

0 Kudos

Hello Viktor,

OSS 369518 is what exatly i searched for.

Thanks in advance!