Skip to Content
0
Former Member
Apr 18, 2008 at 12:07 PM

problem with ALV tree

58 Views

I am facing a problem with ALV tree.

I have two ALV trees and one ALV grid in my program.

So it looks like this

Alv_tree1->when double click one leaf node

It open ALV_TREE2->->when double click one leaf node, some data will be dispalyed in alv grid.

The problem is when i select some Leaf nodes in ALV tree2 and push some button on toolbar(which i have created) it should be displayed in ALV grid. first time when i run the report it's working fine but

when i go backk from ALV Grid to ALV tree2, if i change selections i am not getting the selected values in my internal table.

i am calling the method

        CALL METHOD lcl_gui_alv_tree2->get_selected_nodes
          CHANGING
            ct_selected_nodes = lt_selected_nodes.

From sencod time onwards the internal table lt_selected_nodes is always empty.

How can i solve my problem.

Regards,

Lisa

Edited by: Lisa Roy on Apr 18, 2008 8:08 AM