Application Development 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: 

Refresh simple tree

0 Kudos

Hi everybody!!

I made a dialogscreen with two controls:

on the left side a simple tree <b>(CL_GUI_SIMPLE_TREE)</b>

and on the right side a ALV-List

By double clicking on a tree-node I show details in the ALV-List. After confirming changes in the ALV-List the icon for the clicked node has to change.

Everthing is working well.... only the tree-list don't like to change.

In the <b>PBO</b>- I refresh completely my node-table - update it with the <b>"update_nodes"</b> method

- and tell to the control to do the update with the <b>"set_screen_update"</b>]method.

But nothing happen!!

Do anybody has an idea what goes wrong??

Thanks for any suggestion or help.

Beat

Here my code in PBO:

REFRESH node_table.

PERFORM build_node_table USING node_table.

CALL METHOD g_tree->update_nodes

EXPORTING

node_table_structure_name = 'MTREESNODE'

node_table = node_table.

CALL METHOD grid1->refresh_table_display.

CALL METHOD g_tree->set_screen_update

EXPORTING

UPDATE = 'X'

EXCEPTIONS

failed = 1

cntl_system_error = 2.

1 REPLY 1

0 Kudos

If still somebody is interested:

I erase all nodes with tree->delete_all_nodes and construct the tree again with the new values...