04-08-2009 12:12 PM
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
04-08-2009 12:16 PM
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.
04-08-2009 3:44 PM
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