Skip to Content
-1

How i can activate averagge with CL_SALV_TABLE?

Hi!

I am printing a ALV report with the class "CL_SALV_TABLE", in the report there are any columns with total and subtotal.

How activate the options "Average", "Maximum", "Minimum" and "Count" (see image)?

I tried with the method "SET_AGGREGATION_AVERAGE" of the class CL_SALV_FUNCTIONS_LIST" but dont work.

Any idea?

Thanks for the help!

aggroptions.png (36.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 15 at 08:33 PM

    Method GET_AGGREGATIONS of CL_SALV_TABLE, then you use ADD_AGGREGATION (parameter AGGREGATION with possible values from IF_SALV_C_AGGREGATION), REMOVE_AGGREGATION, and so on. Search the forum for more information.

    Add comment
    10|10000 characters needed characters exceeded