How we can remove a generic ALV function from CL_SALV_FUNCTION_TREE?
For example i need to remove FIND or EXPAND button from SALV TREE. and this ALV called inside a docking container.
I tried with REMOVE_FUNCTION then it is giving dump 'CX_SALV_WRONG_CALL' was raised.
Any suggestions to remove or hide will be appreciated.
Note: Please don't suggest to use
g_tree->set_screen_status( pfstatus = 'TREE' " Custom PF status report = v_repid set_functions = gr_tree->c_functions_default ).