Pricing check when save the Sales Ordeer VA01/ VA02
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 ?
Edited by: Kin Hang, Terry NGAI on May 21, 2009 3:13 PM