cancel
Showing results for 
Search instead for 
Did you mean: 

Group condition(CAP/ceiling on surcharge) calculation on line item input

mantri_sagar
Explorer
0 Kudos

We have requirement where maximum surcharge should be as per condition records based on material group considering all materials in order, at item level surcharge is calculated using percentage but maximum surcharge should be based on group condition. We are calculating group condition value using formula to copy item level surcharge value in item level group condition but in VA01 when item entered it doesn't calculate maximum value but when saved or go to header level or prepare new pricing document corrects the value using FM PRICING_COMPLETE.

Is there any way to calculate and display values immediately after entering item ? any change in pricing procedure or condition ?

Below is setting for condition type,

vijay_hariharan
Contributor
0 Kudos

Pricing is a complex process since there are a lot of calculations with dependencies.. On entering a new line item.. calculations pertaining to that line item will usually take place.. Only during save the entire document calculation including total tax value, group conditions etc.. would probably be calculated since a number of items can be entered and it makes sense to calculate the(group condition) value once in the end.. It is generally not a good idea to interfere with the pricing process.. You may check if PRICING_REFRESH works(haven't tried it) but i have my doubts..

Regards,
Vijay

Accepted Solutions (0)

Answers (2)

Answers (2)

Lakshmipathi
Active Contributor
0 Kudos

In that case, did you have material group as one of the fields in access sequence? If not, try by adding this field

mantri_sagar
Explorer
0 Kudos

Yes, Material group is in access sequence. Condition determined correctly but condition values not set correctly in VA01 when line item is inserted. When I go to document header pricing or save document or go to new pricing document option this group condition values calculated correctly through FM pricing_complete

Lakshmipathi
Active Contributor
0 Kudos

If the calculation type is Fixed Amount, it should be treated as Header Condition Type; only then, the value will be distributed equally at line item level

mantri_sagar
Explorer
0 Kudos

Condition value should be as per material group so its not same for entire document, its the reason to use group condition not header condition.