Pricing condition tables for Sales Order
please can you tell me the code I have to write into a query's field to retrive the value of a specific header pricing condition saved into a Sales Order?
Thank you very much
Sunil G replied
1) From sale order header table VBAK fetch the condition number KNUMV for a particular sale order VBELN.
2) From conditions table KONV fetch the conditions for condition number KNUMV with item number POSNR as 000000.
This way you can fetch the header conditions. Our ABAPers normally do a loop on the line items and total up the values to arrive at the header condition value. If you use this way then you need to pass another field condition origin KHERK with value D while fetching data from KONV.