2009 Feb 19 2:11 PM
Hi all,
Currently i am using function module ENQUEUE_READ to check for production order lock
but it is giving wrong results some times.
I just wanted to know if any order is locked i.e., if an order is in change mode ( CO02 )
than i should get a message saying order has been locked by so and so user.
Please can some one suggest me the proper function module whcih checks for production order lock?
Thanks in Advance
Sagar.
2009 Feb 19 2:34 PM
2009 Feb 19 2:34 PM
2009 Feb 19 2:37 PM
series of steps to determine
order header is either AFKO or AUFK, so in SE11, do a where-used within lock objects.
you find ESORDER as the lock object that controls a production order.
the function module, then, is ENQUEUE_ESORDER and DEQUEUE_ESORDER.
hth
Dave