Results Rows

You are able to display the ALV output with

  • Simple, two-dimensional tables and

  • Hierarchical-sequential lists

Execute different calculations for numeric columns and display the results in a results row.

You are also able to sort the data records according to specific criteria and generate the intermediate results for each calculation. These intermediate results are also displayed in the results row.

Use

You are able to make the following settings for results rows:

Specify the position of the results row

You are able to define whether you wish to display the results row for the calculations in an ALV output above or below the rows that are included in the calculation.

ALV Tool

Display Type

Function available

Simple, Two-Dimensional Table

Classic ABAP List

Yes

Fullscreen

Yes

In the Container

Yes

Hierarchical-sequential list

Classic ABAP List

Yes

Function

Class

Method

Determining the position of the results row

CL_SALV_AGGREGATIONS

SET_AGGREGATION_ BEFORE_ITEMS

Check where the results rows are located

IS_AGGREGATION_ BEFORE_ITEMS