You are on page 1of 16

5/7/2022

SAP Integrated Business Planning for


Supply Chain
Generated on: 2022-05-07 04:54:16 GMT+0000

SAP Integrated Business Planning for Supply Chain | 2205

PUBLIC

Original content:
https://help.sap.com/docs/SAP_INTEGRATED_BUSINESS_PLANNING/feae3cea3cc549aaa9d9de7d363a83e6?locale=en-
US&state=PRODUCTION&version=2205

Warning

This document has been generated from the SAP Help Portal and is an incomplete version of the official SAP product
documentation. The information included in custom documentation may not re ect the arrangement of topics in the SAP Help
Portal, and may be missing important aspects and/or correlations to other topics. For this reason, it is not for productive use.

For more information, please visit the https://help.sap.com/docs/disclaimer.

This is custom documentation. For more information, please visit the SAP Help Portal 1
5/7/2022

Calculation Examples
The calculation of ABC/XYZ segments depends on the segmentation measure, on the calculation level, and on the calculation
method. However, the way that the resulting segments are stored in the system depends on the master data type of the target
attribute.

In the following examples, different calculation levels are used and the results are stored in different master data types. All
examples are based on the same input key gure and on the same ABC segmentation method, (5) by segmentation measure
(single values).

Input Values
In the examples below, the base planning level of the input key gure contains the following master data attributes (with the
root attributes marked by asterisks):

Product ID*

Product Group

Location ID*

Region ID

Sales Representative

The input key gure and the attributes of its base planning level have the following values:

Product ID Product Group Location ID Region ID Sales Key Figure Value


Representative

Product 1 Product Group 1 Location 1 Europe Stephan 100

Product 2 Product Group 1 Location 1 Europe Stephan 1000

Product 3 Product Group 1 Location 1 Europe George 200

Product 4 Product Group 1 Location 2 Europe George 150

Product 5 Product Group 1 Location 2 Europe Stephan 400

Product 6 Product Group 1 Location 2 Europe George 500

Product 7 Product Group 1 Location 3 Asia Stephan 600

Product 8 Product Group 1 Location 3 Asia George 100

Product 9 Product Group 1 Location 3 Asia Anna 1000

Product 10 Product Group 1 Location 4 Asia Anna 2000

Product 11 Product Group 2 Location 4 Asia Stephan 500

Product 12 Product Group 2 Location 4 Asia Anna 3000

Product 13 Product Group 2 Location 5 America George 600

Product 14 Product Group 2 Location 5 America Anna 500

Product 15 Product Group 2 Location 5 America George 1100

Product 16 Product Group 2 Location 6 America George 120

This is custom documentation. For more information, please visit the SAP Help Portal 2
5/7/2022

Product ID Product Group Location ID Region ID Sales Key Figure Value


Representative

Product 17 Product Group 3 Location 6 America Anna 200

Product 18 Product Group 3 Location 6 America Anna 1000

Product 19 Product Group 3 Location 7 America George 2000

Product 20 Product Group 3 Location 7 America George 50

Segmentation Results for Calculation Level: Product ID – Location ID


In this example, we want to classify the combinations of products and locations based on the key gure values produced by each
combination.

As shown in the rst table on this page, the following key gure values belong to the various product-location combinations:

Product ID Location ID Key Figure Value

Product 1 Location 1 100

Product 2 Location 1 1000

Product 3 Location 1 200

Product 4 Location 2 150

Product 5 Location 2 400

Product 6 Location 2 500

Product 7 Location 3 600

Product 8 Location 3 100

Product 9 Location 3 1000

Product 10 Location 4 2000

Product 11 Location 4 500

Product 12 Location 4 3000

Product 13 Location 5 600

Product 14 Location 5 500

Product 15 Location 5 1100

Product 16 Location 6 120

Product 17 Location 6 200

Product 18 Location 6 1000

Product 19 Location 7 2000

Product 20 Location 7 50

Since the calculation level is Product ID - Location ID, the segments are calculated for each of these calculations based on the
following thresholds:

This is custom documentation. For more information, please visit the SAP Help Portal 3
5/7/2022
Segment A >= 1000

Segment B >= 100

Segment C < 100

To save the results for each combination separately, we can choose Product Location as the target master data type. Tthis
master data type contains the following attributes:

Product ID*

Location ID*

Sales Representative

Segment

After the calculation is run, the attributes of the target master data type will store the following values:

Product ID Location ID Sales Representative Segment

Product 1 Location 1 Stephan B

Product 2 Location 1 Stephan A

Product 3 Location 1 George B

Product 4 Location 2 George B

Product 5 Location 2 Stephan B

Product 6 Location 2 George B

Product 7 Location 3 Stephan B

Product 8 Location 3 George B

Product 9 Location 3 Anna A

Product 10 Location 4 Anna A

Product 11 Location 4 Stephan B

Product 12 Location 4 Anna A

Product 13 Location 5 George B

Product 14 Location 5 Anna B

Product 15 Location 5 George A

Product 16 Location 6 George B

Product 17 Location 6 Anna B

Product 18 Location 6 Anna A

Product 19 Location 7 George A

Product 20 Location 7 George C

Segmentation Results for Calculation Level: Location ID

This is custom documentation. For more information, please visit the SAP Help Portal 4
5/7/2022
In this example, we want to classify the locations based on the key gure values they produced. First we will save the results for
each Product ID - Location ID combination, then for each location.

As shown in the rst table, the following key gure values belong to the various Location IDs:

Location ID Product ID Key Figure Value

Location 1 Product 1 100

Location 1 Product 2 1000

Location 1 Product 3 200

Location 2 Product 4 150

Location 2 Product 5 400

Location 2 Product 6 500

Location 3 Product 7 600

Location 3 Product 8 100

Location 3 Product 9 1000

Location 4 Product 10 2000

Location 4 Product 11 500

Location 4 Product 12 3000

Location 5 Product 13 600

Location 5 Product 14 500

Location 5 Product 15 1100

Location 6 Product 16 120

Location 6 Product 17 200

Location 6 Product 18 1000

Location 7 Product 19 2000

Location 7 Product 20 50

Since the calculation level is Location ID, the key gure values are aggregated for each location. Then the segments are
calculated based on the following thresholds:

Segment A >= 5000

Segment B >= 2000

Segment C < 2000

The results are shown in the following table:

Location ID Aggregated Key Figure Value Segment

Location 1 1300 C

Location 2 1050 C

This is custom documentation. For more information, please visit the SAP Help Portal 5
5/7/2022

Location ID Aggregated Key Figure Value Segment

Location 3 1700 C

Location 4 5500 A

Location 5 2200 B

Location 6 1320 C

Location 7 2050 A

To save the results for each Product ID - Location ID combination separately, we can choose Product Location as the target
master data type. As we have seen in the previous example, this master data type contains the following attributes:

Product ID*

Location ID*

Sales Representative

Segment

After the calculation is run, the attributes of the target master data type will store the following values:

Location ID Product ID Sales Representative Segment

Location 1 Product 1 Stephan C

Location 1 Product 2 Stephan C

Location 1 Product 3 George C

Location 2 Product 4 George C

Location 2 Product 5 Stephan C

Location 2 Product 6 George C

Location 3 Product 7 Stephan C

Location 3 Product 8 George C

Location 3 Product 9 Anna C

Location 4 Product 10 Anna A

Location 4 Product 11 Stephan A

Location 4 Product 12 Anna A

Location 5 Product 13 George B

Location 5 Product 14 Anna B

Location 5 Product 15 George B

Location 6 Product 16 George C

Location 6 Product 17 Anna C

Location 6 Product 18 Anna C

Location 7 Product 19 George A

This is custom documentation. For more information, please visit the SAP Help Portal 6
5/7/2022

Location ID Product ID Sales Representative Segment

Location 7 Product 20 George A

The segments calculated for the locations determine the segments that the various product-location combinations are
assigned to, regardless of the key gure values of the individual products. For example, Product 1 would be in segment B
according to the calculation on Product - Location level (see the 2nd table on this page), but it's produced at location Location 1,
which has been classi ed into segment C. Therefore, Product 1 is now also stored as an item belonging to segment C.

Now we want to classify the locations based on the key gure values they produced. For this, we need to choose Location ID as
the target master data type, which contains the following attributes:

Location ID*

Region ID

Segment

After the calculation is run, this target master data type will contain the following values:

Region ID Location ID Segment

Europe Location 1 C

Europe Location 2 C

Asia Location 3 C

Asia Location 4 A

America Location 5 B

America Location 6 C

America Location 7 A

Segmentation Results for Calculation Level: Product Group


In this example, we want to classify the product groups based on the key gure values they produced. First we will save the
results for each product-location combination, then for each product, and nally for each product group separately.

As shown in the rst table on this page, the following key gure values belong to the various products belonging to various
product groups:

Product Group Product ID Key Figure Value

Product Group 1 Product 1 100

Product Group 1 Product 2 1000

Product Group 1 Product 3 200

Product Group 1 Product 4 150

Product Group 1 Product 5 400

Product Group 1 Product 6 500

Product Group 1 Product 7 600

This is custom documentation. For more information, please visit the SAP Help Portal 7
5/7/2022

Product Group Product ID Key Figure Value

Product Group 1 Product 8 100

Product Group 1 Product 9 1000

Product Group 1 Product 10 2000

Product Group 2 Product 11 500

Product Group 2 Product 12 3000

Product Group 2 Product 13 600

Product Group 2 Product 14 500

Product Group 2 Product 15 1100

Product Group 2 Product 16 120

Product Group 3 Product 17 200

Product Group 3 Product 18 1000

Product Group 3 Product 19 2000

Product Group 3 Product 20 50

Since the calculation level in this case is Product Group, the key gure values are aggregated for each product group and the
segments are recalculated based on the following thresholds:

Segment A >= 6000

Segment B >= 4000

Segment C < 4000

The results are shown in the following table:

Location ID Aggregated Key Figure Value Segment

Product Group 1 6050 A

Product Group 2 5820 B

Product Group 3 3250 C

To save the results for each product-location combination separately, we can choose Product Location as the target master
data type. As we have seen in the previous example, this master data type contains the following attributes:

Product ID*

Location ID*

Sales Representative

Segment

The Product Group attribute is not included but it is included in Product, the simple master data type that Product ID belongs
to, so it can be used for saving the segmentation results.

After the calculation is run, the target master data type will contain the following values:

This is custom documentation. For more information, please visit the SAP Help Portal 8
5/7/2022

Product ID Product Group Location ID Sales Representative Segment

Product 1 Product Group 1 Location 1 Stephan A

Product 2 Product Group 1 Location 1 Stephan A

Product 3 Product Group 1 Location 1 George A

Product 4 Product Group 1 Location 2 George A

Product 5 Product Group 1 Location 2 Stephan A

Product 6 Product Group 1 Location 2 George A

Product 7 Product Group 1 Location 3 Stephan A

Product 8 Product Group 1 Location 3 George A

Product 9 Product Group 1 Location 3 Anna A

Product 10 Product Group 1 Location 4 Anna A

Product 11 Product Group 2 Location 4 Stephan B

Product 12 Product Group 2 Location 4 Anna B

Product 13 Product Group 2 Location 5 George B

Product 14 Product Group 2 Location 5 Anna B

Product 15 Product Group 2 Location 5 George B

Product 16 Product Group 2 Location 6 George B

Product 17 Product Group 3 Location 6 Anna C

Product 18 Product Group 3 Location 6 Anna C

Product 19 Product Group 3 Location 7 George C

Product 20 Product Group 3 Location 7 George C

Similarly to the previous example, the results calculated for the product groups determine the segments that the various
products are assigned to, regardless of the key gure values of the individual products. For example, Product 8 would be in
segment B according to the calculation on Product - Location level (see the 2nd table on this page), but it belongs to the
product group Product Group 1, which has been classi ed into segment A. Therefore, Product 8 is now also classi ed into
segment A.

If we want to want to save the results for each product separately, we can use a simple target master data type, Product, which
contains the following attributes:

Product ID*

Product Group

Segment

After the calculation is run, this target master data type will contain the following values:

Product ID Product Group Segment

Product 1 Product Group 1 A

Product 2 Product Group 1 A

This is custom documentation. For more information, please visit the SAP Help Portal 9
5/7/2022

Product ID Product Group Segment

Product 3 Product Group 1 A

Product 4 Product Group 1 A

Product 5 Product Group 1 A

Product 6 Product Group 1 A

Product 7 Product Group 1 A

Product 8 Product Group 1 A

Product 9 Product Group 1 A

Product 10 Product Group 1 A

Product 11 Product Group 2 B

Product 12 Product Group 2 B

Product 13 Product Group 2 B

Product 14 Product Group 2 B

Product 15 Product Group 2 B

Product 16 Product Group 2 B

Product 17 Product Group 3 C

Product 18 Product Group 3 C

Product 19 Product Group 3 C

Product 20 Product Group 3 C

Again, the segments calculated for the product groups determine the segments that the various products are assigned to,
regardless of the key gure values of the individual products.

Finally, we can also classify the product groups based on the key gure values they produce. For this, we can choose Product
Group as the target master data type. After the calculation is run, this target master data type will contain the following values:

Product Group Segment

Product Group 1 A

Product Group 2 B

Product Group 3 C

Segmentation Results for Calculation Level: Location ID - Sales Representative


In this example, we want to classify the the combinations of sales representatives and locations. First we will save the results
for each product-location combination, then for each location-sales representative combination.

As shown in the rst table on this page, the following key gure values belong to the various products belonging to various
locations and sales representatives:

Location ID Sales Representative Key Figure Value

This is custom documentation. For more information, please visit the SAP Help Portal 10
5/7/2022

Location ID Sales Representative Key Figure Value

Location 1 George 200

Location 1 Stephan 100

Location 1 Stephan 1000

Location 2 George 150

Location 2 George 500

Location 2 Stephan 400

Location 3 Anna 1000

Location 3 George 100

Location 3 Stephan 600

Location 4 Anna 2000

Location 4 Anna 3000

Location 4 Stephan 500

Location 5 Anna 500

Location 5 George 600

Location 5 George 1100

Location 6 Anna 200

Location 6 Anna 1000

Location 6 George 120

Location 7 George 2000

Location 7 George 50

Since the calculation level in this case is Location ID - Sales Representative, the key gure values are aggregated for each
representative and location, and the segments are recalculated based on the following thresholds:

Segment A >= 5000

Segment B >= 1000

Segment C < 1000

The results are shown in the following table:

Location ID Sales Representative Aggregated Key Figure Values Segment

Location 1 George 200 C

Location 1 Stephan 1100 B

Location 2 George 650 C

Location 2 Stephan 400 C

Location 3 Anna 1000 B

This is custom documentation. For more information, please visit the SAP Help Portal 11
5/7/2022

Location ID Sales Representative Aggregated Key Figure Values Segment

Location 3 George 100 C

Location 3 Stephan 600 C

Location 4 Anna 5000 A

Location 4 Stephan 500 C

Location 5 Anna 500 C

Location 5 George 1700 B

Location 6 Anna 1200 B

Location 6 George 120 C

Location 7 George 2050 B

For example, the Stephan-Location 1 combination has been classi ed into segment B because Stephan produced 1100 at
Location 1 from Product 1 and Product 2. George only produced 200 at the same location so the George - Location 1
combination has been classi ed as C.

To save the results for each product-location combination separately, we can choose Product Location as the target master
data type. As we have seen in the previous example, this master data type contains the following attributes:

Product ID*

Location ID*

Sales Representative

Segment

Sales Representative is included but not as a key attribute in this compound master data type.

The target master data type will include the following values:

Product ID Location ID Sales Representative Segment

Product 1 Location 1 Stephan B

Product 2 Location 1 Stephan B

Product 3 Location 1 George C

Product 4 Location 2 George C

Product 5 Location 2 Stephan C

Product 6 Location 2 George C

Product 7 Location 3 Stephan C

Product 8 Location 3 George C

Product 9 Location 3 Anna B

Product 10 Location 4 Anna A

Product 11 Location 4 Stephan C

Product 12 Location 4 Anna A

This is custom documentation. For more information, please visit the SAP Help Portal 12
5/7/2022

Product ID Location ID Sales Representative Segment

Product 13 Location 5 George B

Product 14 Location 5 Anna C

Product 15 Location 5 George B

Product 16 Location 6 George C

Product 17 Location 6 Anna B

Product 18 Location 6 Anna B

Product 19 Location 7 George B

Product 20 Location 7 George B

Although Sales Representative is not a key attribute in the target master data type, the segments calculated for it determine
the segments that the various product-location combinations are assigned to. For example, Product 2 would be in segment A
according to the calculation on Product - Location level (see the 2nd table on this page), but it belongs to the location Location 1
and the sales representative Stephan, the combination of which has been classi ed into segment B. Therefore, Product 2 is now
also classi ed into segment B.

In the next step, we want to save the results for each location-sales representative combination separately. For this, we can
choose Location ID - Sales Representative as the target master data type. It will contain the following values:

Location ID Sales Representative Segment

Location 1 George C

Location 1 Stephan B

Location 2 George C

Location 2 Stephan C

Location 3 Anna B

Location 3 George C

Location 3 Stephan C

Location 4 Anna A

Location 4 Stephan C

Location 5 Anna C

Location 5 George B

Location 6 Anna B

Location 6 George C

Location 7 George B

Segmentation Results for Calculation Level: Product Group - Region ID


In this example, we want to classify the combinations of product groups and regions. First we will save the results for each
product-location combination, then for each product group - location combination separately.

This is custom documentation. For more information, please visit the SAP Help Portal 13
5/7/2022
As shown in the rst table on this page, the following key gure values belong to the various product groups and regions:

Product Group Region ID Key Figure Value

Product Group 1 Europe 100

Product Group 1 Europe 1000

Product Group 1 Europe 200

Product Group 1 Europe 150

Product Group 1 Europe 400

Product Group 1 Europe 500

Product Group 1 Asia 600

Product Group 1 Asia 100

Product Group 1 Asia 1000

Product Group 1 Asia 2000

Product Group 2 Asia 500

Product Group 2 Asia 3000

Product Group 2 America 600

Product Group 2 America 500

Product Group 2 America 1100

Product Group 2 America 120

Product Group 3 America 200

Product Group 3 America 1000

Product Group 3 America 2000

Product Group 3 America 50

Since the calculation level in this case is Product Group - Region ID, the key gure values are aggregated for each product group
and region, and the segments are recalculated based on the following thresholds:

Segment A >= 3000

Segment B >= 3000

Segment C < 2000

The results are shown in the following table:

Product Group Region ID Aggregated Key Figure Values Segment

Product Group 1 Europe 2350 B

Product Group 1 Asia 3700 A

Product Group 2 Asia 3500 A

Product Group 2 America 2320 B

This is custom documentation. For more information, please visit the SAP Help Portal 14
5/7/2022

Product Group Region ID Aggregated Key Figure Values Segment

Product Group 3 America 3250 A

For example, the Product Group 1-Asia combination has been classi ed into segment A because Product Group 1 produced 3700
from all products that belong to that group and were manufactured in Asia. The same product group only produced 2350 in
Europe, so the Product Group 1 - Europe combination has been classi ed as B.

To classify the product-location combinations based on the key gure values produced by each product group manufactured in a
region, we can choose Product Location as the target master data type. This target master data type will include the following
attributes and values:

Product ID Product Group Location ID Region ID Sales Representative Segment

Product 1 Product Group 1 Location 1 Europe Stephan B

Product 2 Product Group 1 Location 1 Europe Stephan B

Product 3 Product Group 1 Location 1 Europe George B

Product 4 Product Group 1 Location 2 Europe George B

Product 5 Product Group 1 Location 2 Europe Stephan B

Product 6 Product Group 1 Location 2 Europe George B

Product 7 Product Group 1 Location 3 Asia Stephan A

Product 8 Product Group 1 Location 3 Asia George A

Product 9 Product Group 1 Location 3 Asia Anna A

Product 10 Product Group 1 Location 4 Asia Anna A

Product 11 Product Group 2 Location 4 Asia Stephan A

Product 12 Product Group 2 Location 4 Asia Anna A

Product 13 Product Group 2 Location 5 America George B

Product 14 Product Group 2 Location 5 America Anna B

Product 15 Product Group 2 Location 5 America George B

Product 16 Product Group 2 Location 6 America George B

Product 17 Product Group 3 Location 6 America Anna A

Product 18 Product Group 3 Location 6 America Anna A

Product 19 Product Group 3 Location 7 America George A

Product 20 Product Group 3 Location 7 America George A

Although the attributes of the calculation level (Product Group and Region ID) are not part of the target master data type, the
segments calculated for the combinations of those attributes determine the segments that the various product-location
combinations are assigned to. For example, Product 2-Location 1 would be in segment A according to the calculation on Product
- Location level (see the 2nd table on this page), but Product 2 belongs to Product Group 1 and Location 1 belongs to the Europe
region, and the combination of these two items has been classi ed into segment B. Therefore, Product 2 is now also classi ed
into segment B.

Finally, we want to save the results for each product group - region combination. For this, we can choose Product Group Region
as the target master data type. This simple master data type will contain the following values:
This is custom documentation. For more information, please visit the SAP Help Portal 15
5/7/2022

Product Group Region ID Segment

Product Group 1 Europe B

Product Group 1 Asia A

Product Group 2 Asia A

Product Group 2 America B

Product Group 3 America A

This is custom documentation. For more information, please visit the SAP Help Portal 16

You might also like