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

Menu Tree with timer

Former Member
0 Likes
361

Hi all,

I am programming a menu tree and having a timer in a separated container of the dynpro.

Now I want to refresh my tree every time the timer is finished.

I created an data object for my tree to store my data in it.

Then I programmed the methods to get the data out of my data object. Now I want to update the nodes of the tree:

I am looping through my data. Then I am using only the expanded_nodes.


    g_tree->get_expanded_nodes

Now I need to update the tree.

I tried with


        CALL METHOD g_tree->update_nodes

but I am getting a cntl error.

for every single node that is expanded I am calling the update_nodes method.

How can I do, that my tree gets updated?

Thanks for your help,

Holger Prokoph

1 REPLY 1
Read only

Former Member
0 Likes
321

Hi all,

I think I resolved the problem. I will try to write those settings like which nodes are expanded and which node is selected into a separate table. Then I can build the tree up anew every time my timer finishes. Its not a very clean solution anyhow. I will try and revert back if it doesn´t work.

Thanks anyway,

Regards, H.Prokoph