Creating a Key Figure

Objectives

After completing this lesson, you will be able to:
  • Create a key figure using an attribute
  • Create a key figure

Methods for Creating a Key Figure

Key figures can be created in the following two ways:

  1. Defining attributes as key figures:

    Model Configuration allows the attributes of a master data type to be assigned as key figures. For example, Unit Price is an attribute of T##CUSTOMERPRODUCT. It provides a single value for a unique customer and product combination. This attribute can be defined as a key figure so that the Unit Price value is repeated across all of the planning time periods for the customer and product combination.

  2. Creating new key figures:

    These key figures are defined in the SAP Integrated Business Planning Model Configuration UI for a key figure planning area.

In this lesson, we look at the first type of key figure creation, defining attributes as key figures.

Key Figure

Key figures in SAP IBP represent the quantitative or qualitative values that businesses need to monitor, analyze, and plan. These can be likened to the key performance indicators (KPIs) of the business planning process. Key figures can denote a range of business metrics, such as sales volume, revenue, stock levels, or production capacity – any measure that a business finds necessary for its planning and forecasting.

One of the unique features of key figures in SAP IBP is their flexibility and configurability. A key figure can be either 'stored' or 'calculated', wherein stored key figures represent data that are directly loaded or entered into the system, while calculated key figures generate insights determined by an underlying calculation based on other key figures or master data types. This balance between stored and calculated key figures allows for an efficient utilization of data, enabling sophisticated analysis while minimizing data redundancy.

Additionally, key figures are tightly integrated with planning levels in SAP IBP. Specifically, each key figure is associated with a planning level, and the data represented by the key figure is segregated and organized according to the corresponding planning level. For instance, a key figure representing sales volumes could be tied to a planning level that combines the "Product" and "Region" master data types, enabling sales analysis and forecasting for individual products across specific regions.

Moreover, key figures underpin a wide array of planning, analysis, and forecasting processes within SAP IBP. Be it sales and operations planning (S&OP), inventory optimization, or demand sensing, key figures play an instrumental role in infusing these processes with the necessary data, thereby driving meaningful insights and informed decision-making.

In conclusion, key figures in SAP IBP form the quantitative backbone of the planning processes, providing the valuable metrics that businesses need to plan, analyze, and forecast effectively. By taking full advantage of the inherent flexibility, configurability, and integration capabilities of key figures, businesses can elevate their planning processes, making them more insightful, reliable, and aligned with strategic objectives.

Note the following points:

  • Key figures are measures that hold transactional data (quantity and currency).

  • Key figures represent plan data, such as sales forecast, marketing forecast, consensus demand plan, projected inventory, capacity plans, or actual data (for example, sales orders and shipment history).

  • Key figure data is associated with master data type elements. Key figures can be imported, edited, or based on calculations.

  • Key figures are defined at the base planning level. The base planning level is the lowest, most granular (key) planning level at which the value of a key figure is defined, for example, MTHPRODCUST (time, product, or customer) for various key figures or MTHPRODLOC (time, product, or location).

The key figures that end users view in the planning view or in analytics are usually stored, editable, calculated, alert, snapshot, or supply planning key figures.

Types of Key Figures

There are various types of key figures:

  • Stored key figures:

    Data is stored in this type of key figure at a defined base planning level. All of the stored key figures can be editable and are usually imported into the system, for example, Actuals Qty. Only stored key figures can be set to editable in the system.

  • Calculated key figures:

    Values in this type of key figure are always calculated based on user-defined formulas, for example, ‘Revenue = Qty * Price’. Since this type of key figure is not usually stored, it cannot be set to be editable. However, in special use cases, such as defaulting a key figure value, the key figure can be set to both calculated and stored and, therefore, can also be set to editable.

  • Alert key figures:

    These are key figures with user-defined criteria that monitor and manage execution of business plans. They can only have values of 0 or 1, meaning that the alert itself is either ON or OFF. Alerts typically check conditions on other key figures, such as TargetRev versus ConsensusRev >10%.

  • Helper key figures:

    • Typically used for intermediate calculation results used in a key figure or another helper key figure
    • Not exposed to the user in planning views or modeling
    • Can be used at REQUEST or any planning level
    • Can be used to break down a large calculation into manageable subcalculations
    • Usually prefixed with a H, for example, HINVENTORYTARGETQTY
    • Used when you have more than three inputs at different planning levels in one calculation
      • Primarily used in ratio calculations, last period aggregation, cost calculations, and so on. Note that they do not have a base planning level.
      • Used only for calculation, meaning that they do not have the other key figure properties, such as Stored, Editable, Aggregation, or Disaggregation.
  • Attribute transformations:

    Attributes of master data types that are assigned to a planning level can be transformed to a different value based on certain conditions. For example, period ID can be transformed to calculate lead time offset.

  • Attributes as key figures:

    As well as creating key figures, you can assign attributes of a master data type as a key figure. For example, unit price is an attribute of CUSTOMERPRODUCT. It has a single value for a unique customer and product combination. This attribute can be defined as a key figure in the same way as the unit price. When an attribute is turned into a key figure, you're taking a descriptive characteristic and turning it into a record of measurable data that you can use for calculations, data analysis, or reporting.

Where-Used Information for Key Figures

A relatively new app helpful for model configuration is Where-Used Information for Key Figures.

With this app, you can select key figures and display a list of SAP IBP entities in which the selected key figures are used. The app displays a table. The number of entities in which the selected key figures are used is shown in the Hits column. Also, you can see the number of users using the selected key figures if there are entities in which users can share the objects they created.

Overview of the where-used information for key figures app

Available entities include the planning views templates and favorites, key figures and key figure groups, snapshots, forecast models, analytics, business roles and permission filters, copy operator profiles, and others.

You can narrow down your search to certain entities. You can also search within the Where-Used List of the key figures and export your results. Moreover, to explore additional details, you can select the entity links and navigate to other SAP apps related to these entities.

By selecting an item from the Where-Used List, you can display some basic information about it. Also, by selecting Open in New Tab, you can navigate to other apps for further details, such as Analytics - Advanced, Copy Operator Profiles, Define and Subscribe to Customs Alerts, Intelligent Visibility Profiles, Key Figure Groups, and so on.

You can export your search results by selecting the Export Where-Used Information to Excel button.

We will use this app later in the course to demonstrate the where-used information for one of the key figures in the custom planning area.

How to Create a Key Figure Using an Attribute

Create a Key Figure Using an Attribute

In this exercise, you create a key figure using an attribute that is required for one or more subsequent exercises in the course.

The exercise requires you to use the planning level created in a previous exercise.

Business Example

You are a member of the project team managing the implementation of SAP Integrated Business Planning. You want to set up the business model objects in the SAP Integrated Business Planning system. Based on your blueprint, you now set up your key figures. Key figures are a series of numbers over time. Each number corresponds to a particular time period value. In SAP Integrated Business Planning, end users view and use key figures in a planning view or in analytics.

When the data values for the exercise include ##, replace ## with the group number that the instructor has provided to you.

Steps

  1. In the Attributes as Key Figures tab, in the Planning Areas Model Configuration app, define the attribute T##UNITPRICE as a key figure from period -6 to period 12 at planning level MTHPRODCUST, using the T## planning area.

    1. In the Model Configuration group, choose the Planning Areas Model Configuration tile.

    2. Choose your planning area in the list, and choose the Attributes as Key Figures tab.

    3. Choose New.

      Result

      The Attributes as Key Figures dialog appears.
    4. In the Attribute ID field, select the dropdown and choose the attribute that you want to define as key figure.

    5. Select the T##UNITPRICE attribute.

    6. In the Base Planning Level dropdown list, choose MTHPRODCUST.

    7. Enter -6 in the From Period cell, and 12 in the To Period cell.

    8. Choose Save.

      Result

      The T##UNITPRICE key figure now appears on the Key Figures tab.
  2. Define the key figure properties for the new T##UNITPRICE key figure. Use the following data:

    T##UNITPRICE Screen

    FieldValue
    NameUnit Price
    DescriptionUnit Price
    Base Planning LevelMTHPRODCUST
    StoredSelect checkbox
    Edit AllowedEditable in the Current or Future
    Aggregation ModeCustom
    Disaggregation ModeCopy value
    ProportionalitySame Key Figure Stored Values
    1. In the Model Configuration group, choose Planning Areas Model Configuration tile.

    2. Choose your planning area in the list, and choose the Key Figures tab.

    3. T##UNITPRICE displays.

    4. Select the T##UNITPRICE.

      Result

      The T##UNITPRICE screen appears.
    5. Edit the key figure details by entering the values shown in the table.

    6. Choose Save.

      Result

      Remain on the Configuration screen.

How to Create a Key Figure

Create a Key Figure

In this exercise, you create a key figure that is required for one or more subsequent exercises in the course.

This exercise requires you to use the planning level you created in a previous exercise.

Business Example

You are a member of the project team managing the implementation of SAP Integrated Business Planning for Supply Chain solution. You want to set up the business model objects in the SAP Integrated Business Planning system. Based on your blueprint, you now set up your key figure.

Steps

  1. In the Key Figures tab of your planning area, create key figures using the following data:

    New Key Figure Configuration Screen

    Aggregation Mode for all key figures is Sum

    Key Figure IDBase Planning LevelName/

    Description

    StoredCalculatedDisaggregation Mode/

    Proportionality

    Edit Allowed
    CONSENSUSDEMANDQTYMTHPRODCUSTConsensus Demand Qty

    Consensus Demand Qty

    SelectedNot SelectedEqual distribution

    Same Key Figure - stored value

    Editable in the Current or Future
    ACTUALSQTYMTHPRODCUSTActuals Qty

    Actuals Qty

    SelectedNot selectedN/ANot Editable
    CONSENSUSDEMANDREVMTHPRODCUSTConsensus Demand Revenue

    Consensus Demand Revenue

    Not selectedSelectedN/AN/A

    Note

    You can only select the Disaggregation Mode once the Edit Allowed dropdown list is selected.
    1. While working with configuration of your planning area, choose Key Figures.

    2. Go to the Key Figures tab and choose New → Key Figure.

      Result

      The New Key Figure screen opens.
    3. Enter the first Key Figure ID shown in the table, followed by the Base Planning Level, and Name.

    4. Enter the remaining values shown in the table for the key figure.

    5. Choose Save.

      Note

      Key figure calculations are discussed in a later lesson.

      Result

      A REQUEST level calculation is created by the system as a default.
    6. Repeat steps c–e for the remaining key figures.

      Result

      Note

      You should receive a warning associated with the CONSENSUSDEMANDREV key figure. Choose Proceed Anyway.
      Remain on the Configuration screen.

Log in to track your progress & complete quizzes