Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A


Hello All,

   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.

With regards,

Sandeep Akella



you can use CL_GUI_COLUMN_TREE  better or CL_GUI_ALV_TREE, the last one has many methods, may you need them later.

and there are many actions, Drag, Drop, double click, context menu.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question