Valuation

In financial accounting, valuation is the process of determining the values of financial instruments or other resources. The Valuation function provides a variety of different rule and line types to calculate financial or statistical measures, such as discounted value of money, as well as median, variance, and so on, which can be used in the process.

Valuation usually consists of several product-specific or service-specific steps. In SAP Profitability and Performance Management each rule or line of the valuation function represents one of these steps in the configuration. For example, for commercial insurance contracts discounting may be carried out at cash flow level and value aggregation used to calculate statistical properties or sum up discounted cash flows to present values of the observed contracts. Therefore, you can use hierarchical rules to trigger the sequential valuation steps.

Key Features

Rule Types

Characteristic Formula: Applies formulas and SAP HANA SQL functions that return a string to characteristics output field.

Discounting: Calculates discounted or (in investment finance) “present” value of future money, such as expected payments.

Duration: Calculates three different types of durations. Their outputs are of similar numerical value, but the theoretical concepts behind the calculations and the interpretation of results differ significantly, as do the practical applications.

Interpolation: Produces a new series by linear approximating values between (interpolation) and beyond (extrapolation) known-value time points. It does so by replacing user-specified initial values with linear approximated values. It is used in finance to determine interest rates for missing time points along the yield curve (i.e. term structure of the curve).

Key Figure Formula: Applies formulas and SAP HANA SQL functions that returns numeric values to key figure output field.

Line Item Valuations: As an umbrella for eight different line types, this rule type enables the following data manipulations:
  • Output can be calculated separately for each change in selected granularity (Balance Granularity Fields)
  • Input can be multiplied by a number, formula or selected field (Factor)
  • Input can be filtered for certain Selection conditions.

Running Total: Like the line type “Running Balance” of rule type “Line Item Valuation”, this rule type sequentially sums a selected field and updates this sum (aka “running total”) for each row by adding it to the previous running total. Unlike the line type “Running Balance” of rule type “Line Item Valuation”, this rule type takes the current row’s value in the calculation of the running total. It is used in finance to calculate the amount of outstanding loan principal that forms the basis for interest calculation, for example.

Value Aggregation: Output can be calculated separately for each change in selected granularity and by limiting the range of rows from the current row (Lower / Upper Row Offset).

Rule Lines

Duration
  • Macaulay Duration is the weighted average maturity of future cash flows of a financial instrument. The weight of each cash flow’s maturity is determined by dividing the present value of the cash flow by the net present value of the observed instrument. Under the assumption of yearly compounding, Macaulay Duration is given by the following formula, where “CFi” is the (absolute) amount of the i-th cash flow, T is the respective maturity of i-th cash flow, “r” is the yield of maturity of this financial instrument:

  • Modified Duration is a measure of price sensitivity, defined as the percentage derivative of price with respect to yield to maturity and compounding method. Under the same assumption modified duration is given by

  • Fisher-Weil Duration: When rates from zero-coupon yield curve are used instead of the yield to maturity , the so-called Fisher-Weil duration is calculated with the same formula instead of Macaulay duration.

Interpolation
  • Extrapolation None: Leading and trailing initial values are not extrapolated (replaced). For example, an input of [null, null, 1, 2, null, null, 5, null, null] returns [null, null, 1, 2, 3, 4, 5, null, null].

  • Extrapolation Linear: Leading and trailing initial values are replaced by the values calculated by the linear line extended first or last two known values respectively.

  • Extrapolation Constant: Extends the first and last known value to leading and trailing initial values respectively.

Line Item Valuations
  • Balance: Returns the sum of an expression that is maintained in the Value input field of rows from the flow lookup function that matches the current row of input function by certain characters. The sum can then be multiplied with the returned value of an expression if this expression is maintained in input field Factor.

  • Formula: Applies certain formulas and SQL functions to key figures and/or characteristics.

  • Lag: Uses SAP HANA SQL LAG function to return the value of a previous row where the position is specified by the offset value in the same granularity set. The offset value should be positive, the default is “1”. Its widespread usage entails cases where preceding data needs to be compared with or applied to current data. For example, the previous period’s interest rate needs to be applied to current period’s interest payment calculation.

  • Lead: Uses SAP HANA SQL LEAD function to return the value of a following row whose position is specified by the offset value in the same granularity set. The offset value should be positive, the default is “1”. Its widespread usage entails cases where subsequent data needs to be compared with or applied to current data. For example, a running total of all future payments needs to be calculated on a data set containing outflows.

  • Register: Just like the line type “Formula”, this line type applies formulas and SQL functions to key figures and/or characteristics. Unlike the rule type “Formula”, this line type does not have options “Flow Lookup Function” and “Lookup Result”.

  • Running Balance or Running “Opening” Balance: Similar to the rule type “Running Total”, this rule type sums the values of a selected field of rows before the current row so that each following line’s value is added to the previous running balance. Unlike the rule type “Running Total”, this rule type considers the preceding row’s value in the calculation – hence the term “opening” balance.

  • Scaled Weighted Average: Calculates weighted mean by dividing the sum of weights times values with the sum of the weights, according to the following formula:

  • Running Scaled Weighted Average: Calculates a “running” weighted mean for rows before the current row by dividing the sum of weights times values with the sum of the weights.

Value Aggregation
  • Number of Rows: Returns the number of rows of a selected field.

  • Minimum Value: Returns the minimum value of a selected field.

  • Statistical Median: Returns the median of a selected field.

  • Maximum Value: Returns the maximum value of a selected field.

  • Sum Value: Returns the sum of a selected field.

  • Arithmetical Mean: Returns the average of a selected field.

  • Standard Deviation Square Root of Population Variance: Returns standard deviation of a selected field by taking the square root of the population variance.

  • Standard Deviation Square Root of Sample Variance: Returns standard deviation of a selected field by taking the square root of the sample variance.

  • Population Variance Value: Returns the population variance of an expression as the sum of squares of the difference of <expression> from the mean of <expression>, divided by the number of rows remaining.

  • Sample Variance Value: Returns the population variance of an expression as the sum of squares of the difference of <expression> from the mean of <expression>, divided by the number of rows remaining minus 1.

Procedure

Function Access

Follow the steps below to access the Valuation 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 Valuation function:

  1. In edit mode, configure the following required fields in the header:

    • Result Handling
    • Suppress initial 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, you can define the rule and line types of the Valuation function. For more information about the available rule types, see the Key Features section above.

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

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

    4. Select the created rule.

    5. On the Rule Lines tab of the selected rule, choose (Add).

    6. The Add Details screen is displayed. Enter the required information.

    7. Select the created rule line and enter the required information.

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

  6. Choose Save and then choose Activate.

Related Information

  • For more information about common aspects of SAP Profitability and Performance Management functions, see Concepts for Key Users.

  • For more information on how to add and remove functions in SAP Profitability and Performance Management environments, see Function Hierarchy.