‎2008 Apr 30 8:55 AM
Hi,
when i use BAPI_GOODSMVT_CREATE inside MB_CF001
it gives an error 'Plant data for Material is locked by User (myself) "'
Is there any possible way to overcome this or any alternate way to create goods movement inside user exit MB_CF001
‎2008 Apr 30 9:00 AM
Hi
Do you want to create a new good movement while creating another ones for the same material?
I don't know it's possible, u could unlocked the material before creating the movement but I don't believe it's good idea.
U can try to schedule a job for a program will run the BAPI.
Max
‎2008 Apr 30 9:36 AM
Hi,
We have been using it for the same but by using the addition backgroud task. i.e.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE' IN BACKGROUND TASK
It's working perfectly for us.
Regards
Raju Chitale
‎2008 Apr 30 9:46 AM
‎2008 Apr 30 11:03 AM
its not happening even if i say IN BACKGROUND TASK.
Any way to debug this
‎2008 May 05 12:09 PM
Hi,
I am on 4.6C.
You can debug it. But instead of using 'in background task' use the addition Destination 'NONE' .Go into normal debug mode with /h & menu option Settings---->Update Debugging it will display update debugging has been switched on. Please note that it's a toggle hence observe the message carefully.Keep onskipping till you come to the FM MB_POST_DOCUMENT.From this FM that exit gets triggered.
I hope this helps,
Regards
Raju Chitale