Skip to Content

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

CL_SALV_TREE

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

Tags:
Former Member
replied

Hi,

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.

Regards

Ibr

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