12-11-2007 5:17 AM
Hi all,
I have a requirement of chaging the characteristics of the Equipment but when i use the BAPI BAPI_OBJCL_CHANGE by passing the Equipment number and the required values i get a return message saying that the equipment is locked by User WF-BACTH but when i open the same equipment using the IE02 i do not see any locks........
i want to know the funstion modules which can be used to put a lock and unlock an Equipment...........
Regards,
Ravi G
12-11-2007 5:20 AM
hi Ravi,
Use ENQUE & DEQUE function modules for locking and unlocking the objects.
search for them in SE11.
Chandra
12-11-2007 5:21 AM
hI
Enqueue and Dequeue using BAPI can be used to lock an object.
For example :
If we need to lock and employee number to be edited only by the person who set the lock, we can use a BAPI.
Do read the documentation of 'BAPI_EMPLOYEE_ENQUEUE'. It will give you a better idea of how to implement Enqueue for a BAPI.
Refer the link -