cancel
Showing results for 
Search instead for 
Did you mean: 

Condition Type - Values getting changed at billing

Former Member
0 Kudos

Hii All

I have a header condition which is set up as group condition at header level. When an amount is entered at the header level it gets proportionately distributed among the line items. This is fine.

Problem comes when a line item is completely shorted (i.e. delivery quantity becomes 0) then in the billing the header condition value also get reduced.

What setting needs to be done so that the header condition value does not get affected.

Current setting of condition type is as follows:

Condition Class: A

Calculation Type: B

Condition Category: Blank

Copy Control from delivery to billing is marked as 'G'

Pls do let me know if there is a feasible solution for the same.

Many Thanks

Gaurav Manocha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi Gaurav,

you can achieve that by using user exit pricing copy in program RV61AFZA.

put this code :

if konv-koaid = 'A'

and ( vbtyp_new = 'M' or vbtyp_new = 'U' ) and

konv-krech = 'B' and

quantity_new ne 0.

*quantity_old ne quantity_new.

quantity_new = quantity_old. " prevent change

konv-ksteu = 'E'.

endif.

Hope it will resolve ur problem

Best Regard.

Hendry

Answers (2)

Answers (2)

claudia_neudeck
Active Contributor
0 Kudos

Dear customer,

What you are experiencing with Fixed Amount Header conditions is stand-

ard behaviour. Please see below Notes:

876617 FAQ: Header conditions / Header condition screen

317112 Behavior of conditions w/ calculation rule B changed

485740 Conditions with fixed amount in copy activities

To achieve what you wish (absolute amount), solution is in the below

Notes:

84605 Transfer absolute amount condition to billing doc.

25020 Value changes during over/underdelivery

25144 Freight conditions during milestone billing

But I guess that there are many threads with the same problem.

At first please search for old threads and solutions.

I hope that the information are helpful.

regards

Claudia

Former Member
0 Kudos

thanks all..it got sorted by the code mentioned

former_member183879
Active Contributor
0 Kudos

Hi,

This is expected behaviour in a way.

Header condition types are expected to be put only after introducing all the line items and no more changes are to be done at the items. Once H.CT is entered, the values are distributed as per the group condition routine. Now if the items are changed, the pricing at item gets affected and as a result the header gets affected. Ideally for header conditions it should be otherwise.i.e. the header condition value should be redistributed considering the number of items after processing some line items. Hence whenever there is a change in the line item, the header condition type value has to be entered once again for the correct distribution of its values.