cancel
Showing results for 
Search instead for 
Did you mean: 

Pricing condition tables for Sales Order

Former Member
0 Kudos

Hi experts,

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

Kind Regards

Andrea

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Regards,

GSL.

Answers (0)