Signature

All processing functions have a signature, which can produce a result for subsequent functions. The signature defines the minimum number of relevant fields of a function. There can also be further implicit fields from the input. These simply pass through the function without any change or any effect on the logic, and also appear in the output if no aggregation within the function is defined. If you add or remove fields from the data model this implicit field handling ensures the following:
  • Data model changes do not affect the calculation model as long as no signature field is removed.

    If signature fields are missing, the input needs to be adapted to provide another field or mapping or a formula to substitute the original field. Alternatively, the rules of the function need to be adapted.

  • Data model changes are propagated through all subsequent functions of the model automatically.

    The only exception is if a function uses explicit field handling to explicitly define the fields of the output, for example, in a view or if a rule includes aggregation (grouping).

  • Data model changes are automatically propagated to queries for reporting.

    If a field is added, it is available for reporting. If a field is removed, it is no longer available for reporting. The latter can have an effect on predefined layouts, which then look different and might need to be adjusted.

The only functions that offer explicit field handling are views and joins. Aggregations can be run based on specific configuration settings and rules in the following functions:
  • Allocation
  • Flow Modeling
  • Funds Transfer Pricing
  • Join
  • Transfer Structure
  • Valuation
The signature is the interface of a function and defines a simple pivot table, in which calculations and logic can be applied. The signature is structured into three groups of fields, on which computations and modifications can occur:
  • Header fields that describe the granularity characteristics.
  • Row fields that describe the selection characteristics.
  • Value fields that describe the action key figures and characteristics.
Signature

The figure contains an example where the granularity fields contain the functional area, the selection fields contain the cost center plus cost element and the action fields contain the amount and quantity.

More details regarding these three groups of fields in a signature are described below:
  1. Granularity Fields

    Granularity fields define the minimum granularity of a function. They cannot occur as selection or action fields in the same function, which means rules or modifications on the granularity fields are not allowed. Instead, the granularity fields always stay stable from input through processing until output of the function. In data warehouses they are also known as block characteristics. Formulas and formula functions, like aggregations including SAP HANA window functions, are not allowed across values of these characteristics. Granularity fields can be used for horizontal package parallel processing, because they ensure that the overall result is always the same, irrespective of whether all the data is processed in one or multiple packages when you use granularity fields for grouping. A typical example is the granularity field “VERSION” in a calculation function, which ensures that all calculations are run for each version and not across all versions.

  2. Selection Fields

    Selection fields can be used as a condition within the rules of a function. A typical example is the selection field “COST_ELEMENT” in a calculation, which allows the rules to be applied to selected cost elements only.

  3. Action Fields

    Action fields can be used for calculation formulas and assignments within the rules of a function because their values can be changed in the function. A typical example is the action field “AMOUNT QUANTITY” in an allocation, which can then be allocated and distributed.

    Selection and action fields can also overlap in certain functions. For example, a cost center can be used in a derivation both as a selection and an action field to fill in a default cost center value if the original value is empty.

Procedure

Adding Fields

Once you have defined the function properties, you can add fields to the Granularity, Selection and Action field lists of the function that you want to set up. To do so, follow the steps below:

  1. Go to the Signature tab and choose (Add).

  2. Select the fields to be added.

  3. Choose OK.

  4. Choose Save.

Removing Fields

To remove a field from the Signature tab, follow the steps below:

  1. Select the field you want to remove.

  2. Choose (Remove Field).

  3. Choose Save.