Application Development and Automation 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: 
Read only

database field indicating locked internal order

Former Member
0 Likes
3,182

Hi All,

Through transaction Ko02 we can lock an internal order.

The master table for Internal order is AUFK but it does not have any indicator as such for Locked Internal orders.We are looking for the database field which gets updated when an internal order is locked. If any one has any information on this please get back asap.

Thanks in advance,

Simmi

Hi All,

Through transaction Ko02 we can lock an internal order.

The master table for Internal order is AUFK but it does not have any indicator as such for Locked Internal orders.We are looking for the database field which gets updated when an internal order is locked. If any one has any information on this please get back asap.

Thanks in advance,

Simmi

6 REPLIES 6
Read only

Former Member
0 Likes
1,768

Hi,

there is no table field, but the structure <b>kauf-flg_locked</b> will be set as 'X'. when it is locked.

i don't think there is any table will be updated with this flag.

regards

vijay

Read only

0 Likes
1,768

Hi Vijay,

There has to be some database field which gets updated when an internal order is locked. If we assume that this is only stored in a structure then how does the status gets stored every time we run the transaction Ko02.

In our report, we need to validate if an internal order is locked or not and continue the processing accordingly.

Regards,

Simmi

Read only

0 Likes
1,768

Hi Simmi,

Yes , you need to use KAUF_ORDER_READ FM and find the status of the order. pass the ordernumber to the fm.

find it is locked or not.

regards

vijay

Read only

Former Member
0 Likes
1,768

Hi simmi,

1. For detecting whether a order

is locked or not,

use the FM

KAUF_ORDER_READ

regards,

amit m.

Read only

0 Likes
1,768

I need to check whether the order is locked or not?

I tried to use this RFC and passed Order no.

I manually locked the order( using Tcode -IW32) but still Function module is not returning 'X' in FIELDS flg_locked and FLG_ENQUE odf the structure E_KAUF.

As per this thread, the FM should return 'X'.

Please help.

Read only

Former Member
0 Likes
1,768

hi ,

DB2 System Parameters with Recommended

Settings

The DB2 system parameter settings listed in the following table are recommended as initial settings that should be adjusted based on the particular workload as a result of performance monitoring and tuning.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/785f0200-0801-0010-6eb2-8c0...

Page no. 54..... try this

hope it helps

THanks

VArun CN