Derivation

Derivation is a data enrichment function that can be used to enhance the data in a dataset with calculated attributes based on predefined rules at runtime. The enriched data can then be used for consumption in downstream processes such as allocation. If the data to be derived is already available in the source data, the derived data is only overwritten if the condition values are met. Otherwise, the source values are retained.

Key Features

Header

In the header, you define the principal behavior of the derivation.

You can use the Ensure Distinct Result option with the following settings:

  • Yes: Only the first successful derivation of overlapping derivation rules is included in the result and all subsequent matching derivations are excluded.

  • No: All matching derivations of overlapping derivation rules are included in the result. This can lead to more result records than originally input.

Other header options, for example Include Original Input Data, Result Handling, Suppress Initial Results and Result Model Table are functional building blocks and are not specific to conversion. For more information about these options, see Header.

Rules

Each derivation rule semantically defines an if-then-statement. The if-part is maintained in the Selection section of a rule and the then-part in the Action section of a rule. In the if-part (Selection section), you specify which subset of the input data the rule applies to. In the then-part (Action section), all fields specified are then filled with configured or set values.

Procedure

Function Access

Follow the steps below to access the Derivation function:

  1. In the client where SAP Profitability and Performance Management is installed, choose Start of the navigation pathSAP Menu Next navigation step Profitability and Performance Management Next navigation step Modeling Next navigation step Start My EnvironmentsEnd of the navigation path.

  2. The Environment screen appears in a separate browser window. Choose an existing environment and continue. Within the environment, you can set up the newly added function.

Function Configuration

Follow the steps below to configure the Derivation function:

  1. In edit mode, configure the following required fields in the header. For more information about the header, see the Key Features section above.

    • Result Handling
    • Suppress initial Result
    • Ensure Distinct Result
    • Include original Input Data
    • Result Model Table
  2. Define the input function to be used on the Input tab.

  3. Define the fields to be used on the Signature tab.

  4. On the Rules tab, each derivation rule semantically defines an if-then-statement. In the “if”-part (“Selection” section of the rule), you specify which subset of the input data the rule applies to. In the “then”-part (Action section of the rule), all fields specified are then filled with configured or set values.

    Proceed as follows to configure the rules:
    1. On the Rule tab of your Derivation function, choose (Add).

    2. The Add Details screen is displayed. Enter the following information:
      • Rule
      • Description
    3. Choose OK.

    4. Select the created rule.

    5. In the Selection section of the created rule, choose (Add).

    6. On the Fields screen that is displayed next, choose the field to be used and then choose OK.

    7. Select the field and choose Selection Condition.

    8. On the Selection Condition screen, define the selection condition to be used and choose OK.

    9. In the Action section of the created rule, choose (Add).

    10. On the Fields screen that is displayed next, choose the field to be used and choose OK.

    11. Select the field and choose Formula.

    12. On the Formula screen that is displayed next, define the formula to be used and choose OK.

  5. Define the checks to be used on the Checks tab, if needed.

  6. Choose Save and then choose Activate.

Related Information