Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How i can activate averagge with CL_SALV_TABLE?

DCorralesM
Explorer
0 Kudos

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!

1 REPLY 1

Sandra_Rossi
Active Contributor
0 Kudos

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.