Alternatively, if you want to activate all functions, you can use the following:
cl_salv_table=>factory(
IMPORTING r_salv_table = alv
CHANGING t_table = <fs> ).
* Default Functions
lo_functions = alv->get_functions( ).
lo_functions->set_all( abap_true ).