cancel
Showing results for 
Search instead for 
Did you mean: 

Pricing Issue - Group Condition applied to products not assigned to a Material Pricing Group

Former Member
0 Kudos

We have created a condition type ZPR0 as a Group Condition using the Group Condition Routine '3'.

ZPR0 has the Calculation Type set to Quantity.

The ZPR0 condition records include scale pricing for some products.

Products with the Material Pricing Group set (the mvke-kondm field has a value), are qualitying for the group condition for the combined quantity of products in that group as they should.

ISSUE:  Products that are NOT assigned to a Material Pricing Group (the mvke-kondm field is blank), ARE QUALIFYING for the group condition and should NOT be. 

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Resolution:  We copied the group condition routine '3', creating a new group condition routine.  In the new routine, we changed the code as follows:

if komp-kondm is initial.

' No group condition is set for this material

    exit.

else.

' A group condition has been found.

    xvakey = '003'.

    xvakey+3(2) = komp-kondm.

endif.

Configuration for the pricing condition ZPR0 was then changed to use this new group condition routine.

Answers (0)