What is wrong here ? I'd like to add a functionallyty to the SALV TABLE
form set_function using cho_hndlr
type ref to zcl_handler_hrcockpit .
data : lo_salv type ref to cl_salv_table .
data : lo_function type ref to cl_salv_functions.
lo_salv = cho_hndlr->get_salv( ).
lo_function = lo_salv->get_functions( ).
lo_function->set_all( ).
call method lo_function->add_function
exporting
name = 'EXEC'
icon = 'ICON_EXECUTE'
* text =
tooltip = 'Process Selected entries'
position = 1 .
endform. " set_handler