on 05-21-2009 8:12 AM
Hi Expert,
I want to check the total amount of one condition of the SO when it save.
and display error when the amount exist the limit.
I found an user exit program MV45AFZZ form USEREXIT_SAVE_DOCUMENT_PREPARE.
I want to read the internal table XKOMV for the pricing type KSCHL = 'ZP02'... and sum up the KWERT.
However, the ABAP editor prompt for syntax error
"XKOMV" is not defined in the ABAP dictionary as a table, projection view or database view"...
Is there another table which have same function as XKOMV ?
Please help...
Terry
Edited by: Kin Hang, Terry NGAI on May 21, 2009 3:13 PM
Hello
Use table : KONV Conditions (Transaction Data)
Thanks
RK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The internal table you have mentioned is right. You may have to check the way it is coded. I think you cannot code directly on XKOMV as it is an internal table. The best person who can answer this qn is a guy who knows ABAP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi RK,
I am not familiar with ABAP coding, I use SELECT to read the XKOMV, now I know I should use the command LOOP AT instead of SELECT....
Thank you very much.
Terry
Edited by: Kin Hang, Terry NGAI on May 26, 2009 2:31 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.