Our client has maintained a pricing procedure(ZJGCI1) for header in their biling generation purposes. Under that pricing procedure, there are specific condition types. So, the taxation and discounts are calculated based upon these condition types in the invoice.
My issue is., in VF03 for a specific billing document, there are condition types [ZPRC- Base price] and [SKTO- Cash Discount] maintained.
* VAT [Cnd type - ZVAT] of 4% is calculated from the Base price(ZPRC), and it is added to the base price for net value.
* Cash Discount [Cnd type - SKTO] of 3% should also be calculated from the base price itself and it should be subtracted from the base price.
But, what happens is the cash discount[SKTO] is calculating from the net value that comes after VAT calculation. It is wrong. It should calculate from the base price.
I tried checking out in txn:- vok0 ---> pricing procedures ----> condition types. From there it inturn goes in the subroutines. But, no calculation happens there also.,😢
I'm not able to figure out where the issue is, as it requires functional knowledge. Plz provide help