05-26-2010 5:05 AM
HI all ,
Please help me in the issue . I am doing Goods movement through BAPI(BAPI_GOODSMOVEMENT_CREATE) and i am scheduling this job in background . I am gettigng an Error of Plant data of Material locked by the user(myself) and for the next iteration its not proceeded . Please help me how to get rid of the error .
Thanks in advance,
05-26-2010 6:19 AM
Hi Eric,
Is the value get updated in the table? After the Goods movement BAPI Just do wait up to 5 seconds and do the bapi commit.
Other wise if it is possible just debug .
With Regards,
Sumodh.P
05-26-2010 5:11 AM
I think may be in goods movement transaction some user exit is taking more time to complete while save. Please give a wait command after the bapi and check
and also for testing purpose check whether any lock entries for that material before calling bapi
a®
05-26-2010 5:24 AM
05-26-2010 5:28 AM
What i am meant is some userexit used in transactions while saving will get triggered in bapi also.
Please give wait command and check
a®
05-26-2010 5:32 AM
I am using wait for 3 seconds but still its showing user lock issue please help.
05-26-2010 6:06 AM
Hi,
Use following statements after calling the BAPI.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'.
Regards
Vinod
05-26-2010 6:19 AM
Hi Eric,
Is the value get updated in the table? After the Goods movement BAPI Just do wait up to 5 seconds and do the bapi commit.
Other wise if it is possible just debug .
With Regards,
Sumodh.P
05-26-2010 10:13 AM
Please anyone suggest me on the same when i am scheduling the program in background the material and plant data is getting locked and for the next iteration i am not able get the next goods movement posted because of locked material and plant data
05-26-2010 10:19 AM
Have you tried, BAPI_TRANSACTION_COMMIT with WAIT = 'X' parameter after each call of goods movement create bapi?
Regards
Vinod
05-26-2010 11:38 AM
01-23-2014 7:33 AM
Dear Eric,
Can you please share me the solution applied,I'm also facing the same problem from
a week and not able to solve.
Thanks in Advance
sridhar