The examples show how you can use the Calculations tab of the table node to:

To execute operations on values with different currencies or units, you must use program lines nodes. See: Summing Up Different Currencies.


All examples assume that you already display a table for which you now want to calculate either an additional total for a column or the number of items in the table.

The summing examples refer to a transparent table BUSINESS , whose line structure contains the following fields:


CURRENCY is the currency field to which PRICE refers in the ABAP Dictionary.

It is not possible to use the Calculations tab to calculate a total containing different currencies or units. Therefore, the example assumes that for the given price there is only one currency - either within the entire table or within one sort level.

You select the data from table BUSINESS in the application program and pass the internal table at the form interface using the parameter FT_BUSINESS . At the table node you read this internal table line by line into the work area WA_BUSINESS .