EK02 calculation

Dear Frnds,

Need your assistance. I am in support and there is ticket as per which the cust wants to understand how EK02 is calculated where and how the values are being fetched .

I have read quite a few of the posts through google but none of them give an explanation as to where or how the calculation is done.

The condition type is assigned in the document type.

PLease assist