‎2018 Jul 09 12:14 PM
Hello
I am using CL_SALV_HIERSEQ_TABLE to display hierarchial display of MASTER-SLAVE
But I want to add additional buttons for expand and collapse of rows
Through which method can I add the user command of the buttons added
‎2018 Jul 09 1:07 PM
As in many ALV classes, perform some search in online documentation, you have to use method GET_FUNCTIONS and then on the returned CL_SALV_FUNCTIONS_LIST occurence use methods such as ADD_FUNCTION.
NB: Look at sample report SALV_TEST_HIERSEQ_FUNCTIONS.
‎2018 Jul 09 1:13 PM
CL_SALV_HIERSEQ_TABLE has a method SET_FUNCTION.
You can also try to use method GET_FUNCTIONS_BASE which returns an instance of CL_SALV_FUNCTIONS. And CL_SALV_FUNCTIONS has different methods to deal with functions.
‎2018 Jul 09 2:35 PM