Hi,
If you refer to cl_salv_table .
DATA: ob_salv_table TYPE REF TO cl_salv_table .
In the output table define:
TYPES: count | TYPE sysrows . |
At pbo:
DATA: ob_salv_columns TYPE REF TO cl_salv_columns_table .
ob_salv_columns = ob_salv_table->get_columns( ) .
ob_salv_columns->set_count_column( 'COUNT' ).
Regards.
Output: