<?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 Refresh simple tree in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-simple-tree/m-p/929618#M60527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody!!&lt;/P&gt;&lt;P&gt;I made a dialogscreen with two controls:&lt;/P&gt;&lt;P&gt;on the left side a simple tree &amp;lt;b&amp;gt;(CL_GUI_SIMPLE_TREE)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;and on the right side a ALV-List&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Everthing is working well.... only the tree-list don't like to change. &lt;/P&gt;&lt;P&gt;In the &amp;lt;b&amp;gt;PBO&amp;lt;/b&amp;gt;- I refresh completely my node-table - update it with the &amp;lt;b&amp;gt;"update_nodes"&amp;lt;/b&amp;gt; method&lt;/P&gt;&lt;P&gt;-  and tell to the control to do the update with the  &amp;lt;b&amp;gt;"set_screen_update"&amp;lt;/b&amp;gt;]method.&lt;/P&gt;&lt;P&gt;But nothing happen!! &lt;/P&gt;&lt;P&gt;Do anybody has an idea what goes wrong??&lt;/P&gt;&lt;P&gt;Thanks for any suggestion or help.&lt;/P&gt;&lt;P&gt;Beat &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my code in PBO:&lt;/P&gt;&lt;P&gt;REFRESH node_table.&lt;/P&gt;&lt;P&gt;      PERFORM build_node_table USING node_table.&lt;/P&gt;&lt;P&gt;      CALL METHOD g_tree-&amp;gt;update_nodes&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          node_table_structure_name = 'MTREESNODE'&lt;/P&gt;&lt;P&gt;          node_table                = node_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL METHOD grid1-&amp;gt;refresh_table_display.&lt;/P&gt;&lt;P&gt;        CALL METHOD g_tree-&amp;gt;set_screen_update&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            UPDATE            = 'X'&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            failed            = 1&lt;/P&gt;&lt;P&gt;            cntl_system_error = 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Mar 2005 15:45:10 GMT</pubDate>
    <dc:creator>former_member304579</dc:creator>
    <dc:date>2005-03-07T15:45:10Z</dc:date>
    <item>
      <title>Refresh simple tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-simple-tree/m-p/929618#M60527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody!!&lt;/P&gt;&lt;P&gt;I made a dialogscreen with two controls:&lt;/P&gt;&lt;P&gt;on the left side a simple tree &amp;lt;b&amp;gt;(CL_GUI_SIMPLE_TREE)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;and on the right side a ALV-List&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Everthing is working well.... only the tree-list don't like to change. &lt;/P&gt;&lt;P&gt;In the &amp;lt;b&amp;gt;PBO&amp;lt;/b&amp;gt;- I refresh completely my node-table - update it with the &amp;lt;b&amp;gt;"update_nodes"&amp;lt;/b&amp;gt; method&lt;/P&gt;&lt;P&gt;-  and tell to the control to do the update with the  &amp;lt;b&amp;gt;"set_screen_update"&amp;lt;/b&amp;gt;]method.&lt;/P&gt;&lt;P&gt;But nothing happen!! &lt;/P&gt;&lt;P&gt;Do anybody has an idea what goes wrong??&lt;/P&gt;&lt;P&gt;Thanks for any suggestion or help.&lt;/P&gt;&lt;P&gt;Beat &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my code in PBO:&lt;/P&gt;&lt;P&gt;REFRESH node_table.&lt;/P&gt;&lt;P&gt;      PERFORM build_node_table USING node_table.&lt;/P&gt;&lt;P&gt;      CALL METHOD g_tree-&amp;gt;update_nodes&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          node_table_structure_name = 'MTREESNODE'&lt;/P&gt;&lt;P&gt;          node_table                = node_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL METHOD grid1-&amp;gt;refresh_table_display.&lt;/P&gt;&lt;P&gt;        CALL METHOD g_tree-&amp;gt;set_screen_update&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            UPDATE            = 'X'&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            failed            = 1&lt;/P&gt;&lt;P&gt;            cntl_system_error = 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2005 15:45:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-simple-tree/m-p/929618#M60527</guid>
      <dc:creator>former_member304579</dc:creator>
      <dc:date>2005-03-07T15:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh simple tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-simple-tree/m-p/929619#M60528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If still somebody is interested:&lt;/P&gt;&lt;P&gt;I erase all nodes with tree-&amp;gt;delete_all_nodes and construct the tree again with the new values...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2005 14:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-simple-tree/m-p/929619#M60528</guid>
      <dc:creator>former_member304579</dc:creator>
      <dc:date>2005-03-09T14:53:53Z</dc:date>
    </item>
  </channel>
</rss>

