In the class CL_SALV_TREE we can get the node information from method GET_NODES and selections from the method GET_SELECTIONS.
But this class do not have any method that will retrieve expanded nodes.
Event IF_SALV_EVENTS_TREE~EXPAND_EMPTY_FOLDER will only trigger on node which have empty nodes.
I have seen in the package of the class CL_SALV_TREE , there is another class CL_SALV_GUI_TREE, which has the method GET_EXPANDED_NODES.
The class CL_SALV_TREE internally forms a tree using class CL_SALV_GUI_TREE, so we can handle the events triggered in CL_SALV_GUI_TREE in our local implementations.
Is there any way we can get the expanded node details using class CL_SALV_TREE.
We can also use the class CL_GUI_COLUMN_TREE which have majority of functions, but I am using the class CL_SALV_TREE.