About Operators

Note: You can use the Operators components in a price plan, in a pricing macro, in a charging plan, or in a refill plan (refill logic). But you cannot use:

  • The components Counter Operator and Macro Operator in a charging plan

  • The component State Schedule Operator in a price plan, a pricing macro, and in a charging plan

An operator component can do the following in the rating context:

There are several types of operator component. For example, the Duration Operator component calculates the duration between two dates while the Counter component can update counters that are defined in the price plan, the charging plan, or the refill logic.

Operator components

The following operator components are available with SAP Convergent Charging®:

Icon

Name

Action/Usage

Alert Triggering

Configures an alert which is triggered if the branch containing the component is activated. When an alert is triggered, it is then published by a dedicated system only if the process (rating, refilling, and so on) is successful.

Arithmetic Computation

Carries out an arithmetical operation between two numerical values or numerical properties. The calculation result is saved in a new property.

Concatenate

Concatenates two or more string properties or character strings.

Counter

Updates a counter.

Date Shift

Calculates a new date by adding a period of time to an existing date property or by subtracting a period of time from an existing date property.

Duration

Calculates the period of time between two dates. The period of time is expressed in seconds, minutes, hours, or days and saved in a new numerical property.

Duration Adapter

Converts a period of time into another time unit. The calculation result is saved in a new numerical property. You can convert into days a numerical property expressed in seconds or in hours.

Filter Operator

Compares each value of a multi-valued property of string type with one or more string values. Each time the result of a comparison is true, the value of the multi-valued property is stored in a specified multi-valued property associated with the comparison. Each time the result of a comparison is false, the value of the multi-valued property is rejected and stored in a specified multi-valued property.

Macro Operator

Allows you to use an existing pricing macro in a plan.

Multi-valued Evaluator Operator

Counts the number of values which are in a multi-valued property. If the multi-valued property is of numerical type, the Multi-valued Evaluator Operator calculates the sum and the average of all the numerical values which are in the multi-valued property and determines the smallest and the greatest of these numerical values.

Output Property Update

Modidies the generated properties of a pricing macro.

Property Introducer

Creates new properties for a plan.

Property Type Convertor

Creates a new property from an existing property by modifying the type of the existing property.

Prorata

Calculates the product Y = X * R, in which:

- Y is the numerical result

- X is a numerical value

- R is a ratio ranging from 0 to 1

State Schedule Updater

Changes the dates on which a prepaid account is blocked, locked, or closed.

Switch Table

Compares the same property with one or more values or properties of the same type. When a comparison is true, the test stops and a numerical or string value is assigned to a computed property. If no comparison is true, a default value is assigned to the computed property.

Table Operator

Allows you to use an existing translation table in a plan.

Tier Table Operator

Allows you to use an existing tier table in a plan.