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: 

How to capture the LOCK and UNLOCK status of an Internal Order

Former Member
0 Kudos

Hi,

I am trying to upload the data for transaction KO02. The order can be in LOCK status or UNLOCK status. Could you please let me know how can we determine whether an order is locked or unlocked. Is this data stored in some table. Help is very much appreciated.

Thanks in advance,

Suresh.

3 REPLIES 3

andreas_mann3
Active Contributor
0 Kudos

Hi,

i assume it's in table JEST

so select:

  SELECT        * FROM  JEST
           WHERE  OBJNR  =  aufk-OBJNR
            AND   STAT   IN S_STATI

...

Andreas

0 Kudos

alternatively you could also use Function Module

STATUS_READ

Regards

Raja

Former Member
0 Kudos

First Step.

Get OBJNR from AUFK for the given internal order.

Use OBJNR and Status = 'I0043' and INACT = space ,query the database JEST. If there is an entry then the order is locked, otherwise it is open.