Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Production Order Lock

Former Member
0 Kudos
2,470

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.

1 ACCEPTED SOLUTION

nagarajan_ramudu
Active Participant
0 Kudos
434

Function mode : CO_ZF_ORDER_READ

2 REPLIES 2

nagarajan_ramudu
Active Participant
0 Kudos
435

Function mode : CO_ZF_ORDER_READ

Former Member
0 Kudos
434

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