CL_SALV_TABLE number of rows

Hi!

I have an ALV created with cl_salv_table, and i need to display the total number of rows in the list header, and refresh it if any filer is applied.
I googled a lot and found only this as working solution: https://community.sap.com/t5/application-development-discussions/oo-salv-cl-salv-table-how-to-count-number-of-records-displayed/td-p/8119965 
You loop at the filers, collect them, and apply them to your itab, than count the number of rows in it.

It works but i cant beleive that there is no better way to solve this since 2011.

Can you suggest me a better solution?

(SAP ABAP, release 700)

Scroll to Top