cancel
Showing results for 
Search instead for 
Did you mean: 

Group condition calulation error

Former Member
0 Kudos

Hi Gurus

I am facing a problem while applying a group condition as discount at item level. Tried to search in the existing threads but no luck.

We have marked a discount condition as group condition with quantity scales.

Now if there are multiple line items in the sales order for the same material with different quantities, there is a strange system behaviour.

The line item with highest quanity gets the discount calulated with a conditon round diff populated (KOMV-KDIFF) with negative value in the sales order. Now when billing document is created for this sales order the same line item gets the condition round diff (KOMV-KDIFF) populated with positive value. This in turn results a difference in net value of sales order and billing document.

Pls advise what could be the possible cause and solution.

Thanks in advance,

Gaurav

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gaurav,

It is correct behaviour that the the rounding difference (whether + or -) is added to the item with the highest value (so that the relative difference is as inconspicuous as possible). See Note 403254 for detailed explanation of this behaviour.

Now regarding the different behaviour in the Sales order & invoice, is there a 1:1 relationship between the Sales order & the Invoice? If not, then perhaps this behaviour is seems to be correct since if the quantities are difference, then the difference could be different. If yes, then we need to see deeper. Perhaps you should provide a detailed example.

Hope this provides a clue,

Regards

Nikhilesh

Former Member
0 Kudos

Hi Nikhilesh

Thanks for ur early reply.

Yes there is a 1:1 relationship between sales order and invoice. Example is detailed below:

Line item Material Qty Amount (GBP)

10 STL 6531 2220.54

20 STL 6770 2301.80

Now in the sales order, when the discount condition YGID is calulated on the above items @ 4.5%, discount value for line # 10 comes to 99.92 and discount value for line # 20 comes to 103.59 with -0.01 value in KOMV-KDIFF field.

Thereafter when billing document is created for this sales order, value in line # 10 for the discount remains same i.e. 99.92 but for line # 20 the discount value comes as 103.58 with +0.01 value in KOMV-KDIFF field.

This results in a difference in net values of sales order and billing document.

Regards

Gaurav