CL_SALV_AGGREGATIONS — ABAP Class
Add, remove, and clear totals on numeric SALV columns.
CL_SALV_AGGREGATIONS
Add, remove, and clear totals on numeric SALV columns.
ADD_AGGREGATION
Add TOTAL, MINIMUM, MAXIMUM, or AVERAGE to a numeric column.
EXPORTING columnname TYPE STRING; aggregation TYPE STRINGaggregations->add_aggregation(
columnname = 'AMOUNT'
aggregation = 'TOTAL' ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
REMOVE_AGGREGATION
Remove one local aggregation.
EXPORTING columnname TYPE STRINGaggregations->remove_aggregation( columnname = 'AMOUNT' ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
CLEAR
Remove all aggregation settings.
No parametersaggregations->clear( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.