cancel
Showing results for 
Search instead for 
Did you mean: 

Group condition with value scale

Former Member
0 Kudos

Hi Friends

I have the following requirement.

I have a condition type that has base value equal to the condition value of a previous conditon in the procedure . My requirement is such that I need to cumulate the base value across all items for this condition type for each item .

Eg. if at item 10 , a condition type TEST has base value 100 (condition value of a previous condition in the procedure) and at item 20 TEST has base value 400, I would like this condition type to consider a base value of 500 (100 + 400) for each item .

If I make this condtion a group conditon with routine 1 , and scale basis - value scale (in V/06), will it work ?

Any other ideas ? Please let me know

Regards

Mahesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

This will work based on the SAP explanation and example given below -

Title

Total document

Purpose

This is an example of a structure of group key formula. A structure of

group key formula can be used to influence the basis the system uses

when reading the scale of a group condition. The formula is assigned to

a group condition type in customizing.

Formula '1' adds up the quantities / values of all of the line items in

the sales document that have the same condition type as the group

condition currently being processed.

Example

A company defines a particular discount (condition type Z001) with

scales based on weight. When a sales order line item is priced that is

eligible for the Z001 discount, the user would like the system to read

the scale with not just the weight of the current line item, but the

combined weight of all items in the sales document where the Z001

discount applies. To accomplish this, the user defines condition type

Z001 as a group condition and assigns structure of group key formula '1'

to it in customizing.