About Functions

A function component calculates an amount from context properties. Function components make up the leaves of the decision tree and are used for calculations.

The Flat Function component, which calculates a fixed amount, is one of the simplest. The Linear Function component calculates an amount by using a numerical property. For example, the Linear Function component calculates the price of a telephone call that is charged 0.34 cents per minute.

Function components

The following function components are available with SAP Convergent Charging:

Icon

Name

Action/Usage

Allow

Indicates that no additional logic is needed.

Flat

Provides a constant amount based on a value or a numerical property expressed in the currency of the plan.

Free

Represents a free service in the decision tree.

Generic

Computes an amount P with one of these three formulae:

P = A.X + B

P = A.X.Y + B

P = A.X + B.Y + C

Linear

Computes an amount P with the formula P = A.X + B

Macro

Allows to use an existing pricing macro to calculate a final amount.

No Access

Indicates an unauthorized use of a service, an invalid access, or an unexpected case when usage events are processed.

Polynomial

Calculates an amount by computing the sum of n number of terms in the form of A.X.Y such as: A1.X1.Y1 + A2.X2.Y2 + ... + An.Xn.Yn