Start of Content Area

Function documentation Accumulate Balances

Use

The Business Information Warehouse (SAP BW) key figures are either about cumulative values (for example sales, number of pieces sold) or non-cumulative values (for example number of employees, warehouse stock). Key figures that are defined as non-cumulative values form a key figure group with further key figures that contain the values for the non-cumulative value changes (inflows and outflows). In order to be able to plan non-cumulative values, all key figures that belong to such a key figure group must therefore be compared with each other, so that no inconsistencies occur.

The function to accumulate balances offers you an alternative approach for this comparison, by determining values for the respective missing key figure, for the updating of balances over time. You determine the key figures, from which the key figure group is made up, here within SEM-BPS (and not with the key figure definition in SAP BW). Either the closing balance or the non-cumulative value change (applied to the period) can be calculated. Here is the following general formula that it is based on:

Closing balance = opening balance + inflows – outflows

as well as

Opening balance (current period) = closing balance (current period – 1)

The time period for which the update of balances is executed, results from the value restriction of the time characteristic you selected in the planning package or level.

The general use of this function is that you receive direct access to all balance-relevant values for a given key figure for every desired period. This occurs without time-intensive translations having to be carried out beforehand, as would be necessary for the query of values direct from the data basis.

Note

Only apply the function to accumulate balances for those key figures that are not defined as non-cumulative values in the Business Information Warehouse. The reason for this is that the additional key figures (for non-cumulative value changes or inflows and outflows) compounded to a non-cumulative value defined in SAP BW are not included in InfoCubes, which contain a non-cumulative value. As a result no access possibilities would exist for the additional key figures from SEM-BPS. You can determine the exact key figure definition with the help of the SAP BW Administrator Workbench.

Features

When creating a planning function to accumulate balances, only select the characteristic that contains the time dimension. The value restriction of this characteristic determines the time period in the planning package or level, for which the update of balances takes place.

In the parameter groups for the function to accumulate balances, you define which balances should be planned. For this you can choose four key figures at most for the opening balance, the closing balance as well as the inflows and outflows in the balance.

It is not absolutely necessary to enter a key figure name for all fields. By omitting a key figure you can use the function in various ways:

In addition in the parameter groups you can define whether the closing balance should be calculated according to the formula mentioned above, or whether inversely the non-cumulative value change is to be calculated on the basis of planned closing balances according to the following formula:

Balance change (current period) = closing balance (current period) – closing balance (current period – 1)

Example 1: Calculating the Closing Balance

Period

Opening Balance

Inflow

Outflow

Closing Balance

001.2000

100

80

20

160

002.2000

160

50

70

140

003.2000

140

120

30

230

 

Example 2: Calculating the Non-Cumulative Value Change on the Basis of the Closing Balance

Period

Opening Balance

Inflow

Outflow

Closing Balance

001.2000

100

60

 

160

002.2000

160

-20

 

140

003.2000

140

90

 

230

 

 

 

 

 

End of Content Area