cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in VF03 billing document

Former Member
0 Kudos

Dear Gurus,

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Select pricing procedue ZJGCI1 from VOk0, click on Control, in the next screen you could see all the condition types.

Here refer to the columns FROM and TO against your condition type SKTO, that columns should refer to the STEP no of your BASE value than the STEP no of the NET value.

If it is not correctly mapped, request your functional consultant to cross check and correct it.

If it is correctly mapped, then refer to the routine no in column CALTYPE for the condition type SKTO, check whether any logic is written for determining the condition value.

br...

Dwaraka

Former Member
0 Kudos

Thanks for the response dwarakanath.,

I checked there for STKO. FROM and TO columns are empty. The order in which it is happening is after the VAT(Step no. 915) calculation. Base price ZPRC is in [step no. 320]. Two sytem routines are already ther as [Qualif.f.cash discnt-9] under [Requirement] and [Cash Discount Base-11] under (bastype).

In both these routines, no calculation is done. CALTYPE is also empty. No logic is written for determining the condition value.

Need still more help on this.

Former Member
0 Kudos

Hi Harish,

Do 3 things.

Firstly try to replicate a similar SO in system and check the pricing.

If the issue is not occuring and the configuration setting is found to be correct, then try to retrigger the pricing from VA02 for the faulty sales order item and see if it changes the pricing in the condition tab for the item. VA02->Item condition tab->UPDATE button.  You can do this without SAVING the document in production system (just to cross check). Sometimes pricing comes incorrectly due to some unknown reasons.

Thirdly if the issue is occuring for the new SO as well, then check if any logic has been written in the user exit include program MV45AFZZ, form routine USEREXIT_PRICING_PREPARE_TKOMP OR  USEREXIT_SAVE_DOCUMENT_PREPAREfor determing the value of the condition type.

br...

Dwaraka

Former Member
0 Kudos

Thank you for the help Dwarakanath., It was useful

But, Our client has asked us to change the logic in subroutine 11 - [Cash Discount Base] under (bastype) in the pricing conditions. Waiting for the access key!

Former Member
0 Kudos

Thread Closed.....

Answers (0)