‎2010 Feb 08 10:01 AM
Hi Friends,
Iam using BAPI_OBJCL_CHANGE to update the characteristics for equipment.
The code is somthing like:
call Function BAPI_OBJCL_CHANGE
|
|
Read it_return - for any error messages.
|
|
Bapi_commit..
The problem here is, when run on Batch Mode sometimes this Bapi gives out the error 'Equipment is locked by user.'
There is no other parallel job running at this time. But also we get this error. Sometimes able to replicate and sometimes not.
I searched in SDN and found few others also faced the same problem with this FM BAPI_OBJCL_CHANGE.
The thread i viewed for your ref:
Kindly suggest me the suitable solution.
Should locking and unlocking the equipment using FM enqueue/dequeue before calling this bapi will help?
or
Should this Bapi be called in Update task?
Kindly suggest me.
thanks,
Padma
‎2010 Feb 08 12:30 PM
Hi,
Please try this
CALL FUNCTION function IN UPDATE TASK
COMMIT WORK
Regards
Hiren K.Chitalia
‎2016 Sep 13 12:14 PM
Hi,
I am also facing same issue.
I am using BAPI inside a program to assign characteristics to sales orders.
for 1st item it is creating rest all it is returning lock entries errors.
did you get any solution, please suggest.
Thanks,
Chandra.
‎2020 Feb 03 1:59 PM
‎2020 Feb 03 7:57 PM
Please see this informative Blog on the same issue and its possible Resolutions : link