Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CL_GUI_COLUMN_TREE Get selected nodes

Former Member
0 Likes
1,018

Hi together,

i use the tree control of type CL_GUI_COLUMN_TREE in my report. After a user selected one or more nodes and push a button, i try to get all selected nodes with method GET_SELECTED_NODES and show the result with some more informations in a popup.

Now my problem. It the user starts the report first time, the method returns the correct number of selected nodes. If the user close the popup, change the selection of the nodes and open the popup again, the result of the methode GET_SELECTED_NODES is allways 0.

Has anybody a idea why?

Regards,

Anton

Hi together,

i use the tree control of type CL_GUI_COLUMN_TREE in my report. After a user selected one or more nodes and push a button, i try to get all selected nodes with method GET_SELECTED_NODES and show the result with some more informations in a popup.

Now my problem. It the user starts the report first time, the method returns the correct number of selected nodes. If the user close the popup, change the selection of the nodes and open the popup again, the result of the methode GET_SELECTED_NODES is allways 0.

Has anybody a idea why?

Regards,

Anton

2 REPLIES 2
Read only

timo_litzbarski
Participant
0 Likes
734

Hi,

I have the same problem, has anyone found a solution?

Regards,

Timo

Read only

0 Likes
734

Its working with:

CALL METHOD g_alv_tree->get_selected_item

         IMPORTING

           e_selected_node = l_selected_node.