Skip to Content
-1

How i can activate averagge with CL_SALV_TABLE?

Feb 15 at 07:39 PM

33

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sandra Rossi Feb 15 at 08:33 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded