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: 

Classification check of an internal order at run time, in KO01 KO02

Former Member
0 Kudos

Hi All,

i need to check if some Classification fields of an internarl order are been valued when i save yhe order in transaction KO01 and KO02.

In debugging mode I've found an interesting internal table: P100. If P100-W <> 0 it means that the corrisponding field is been valued, but i haven't found a way to use it inside any user-exit or BADI.

I'm focused on the user-exit EXIT_SAPLRKIO_002 because it stars at the save event.

Can anyone help me?

Thank you everybody!!

Regards,

Roberto

2 REPLIES 2

Former Member
0 Kudos

Hi,

try this inside your user-exit:

data: c_progn VALUE '(program name of transaction)<table name>[]'.

FIELD-SYMBOLS: <fs> TYPE ANY TABLE.

ASSIGN (c_progn) TO <fs>.

In this way you can use table, structure or variable of program that call your user-exit a run time.

Regards,

Leo.

0 Kudos

I've tried it, but it doesn't find the table P100.

So what can i do? how can i know if a classification field is valued or not?

Edited by: Roberto Mannari on Apr 8, 2009 4:58 PM