<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Menu Tree with timer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-tree-with-timer/m-p/6402050#M1406423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, H.Prokoph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Dec 2009 16:34:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-09T16:34:58Z</dc:date>
    <item>
      <title>Menu Tree with timer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-tree-with-timer/m-p/6402049#M1406422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am programming a menu tree and having a timer in a separated container of the dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to refresh my tree every time the timer is finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created an data object for my tree to store my data in it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I programmed the methods to get the data out of my data object. Now I want to update the nodes of the tree:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looping through my data. Then I am using only the expanded_nodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    g_tree-&amp;gt;get_expanded_nodes
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now I need to update the tree.&lt;/P&gt;&lt;P&gt;I tried with &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
        CALL METHOD g_tree-&amp;gt;update_nodes
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;but I am getting a cntl error.&lt;/P&gt;&lt;P&gt;for every single node that is expanded I am calling the update_nodes method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do, that my tree gets updated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Holger Prokoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 12:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/menu-tree-with-timer/m-p/6402049#M1406422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-09T12:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Menu Tree with timer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-tree-with-timer/m-p/6402050#M1406423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, H.Prokoph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 16:34:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/menu-tree-with-timer/m-p/6402050#M1406423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-09T16:34:58Z</dc:date>
    </item>
  </channel>
</rss>

