<?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 ALV tree after deleting the node in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-tree-after-deleting-the-node/m-p/584535#M23293</link>
    <description>&lt;P&gt;Hello Colleagues,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;I am still unable to update the node_key value after deleting the nodes.&lt;/P&gt;
  &lt;P&gt;I have used the following snippet&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;CALL METHOD gr_tree_ui-&amp;gt;get_selected_node&lt;BR /&gt; IMPORTING&lt;BR /&gt; es_row = ls_row.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt; CALL METHOD cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt; CALL METHOD mr_tree-&amp;gt;delete_subtree&lt;BR /&gt; EXPORTING&lt;BR /&gt; i_node_key = ls_selected_node&lt;BR /&gt; i_update_parents_folder = abap_true&lt;BR /&gt; EXCEPTIONS&lt;BR /&gt; node_key_not_in_model = 1&lt;BR /&gt; OTHERS = 2.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt; CALL METHOD mr_tree-&amp;gt;frontend_update.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Naga&lt;/P&gt;</description>
    <pubDate>Wed, 09 May 2018 06:17:54 GMT</pubDate>
    <dc:creator>nagaswaroopamuddam</dc:creator>
    <dc:date>2018-05-09T06:17:54Z</dc:date>
    <item>
      <title>Refresh ALV tree after deleting the node</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-tree-after-deleting-the-node/m-p/584535#M23293</link>
      <description>&lt;P&gt;Hello Colleagues,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;I am still unable to update the node_key value after deleting the nodes.&lt;/P&gt;
  &lt;P&gt;I have used the following snippet&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;CALL METHOD gr_tree_ui-&amp;gt;get_selected_node&lt;BR /&gt; IMPORTING&lt;BR /&gt; es_row = ls_row.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt; CALL METHOD cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt; CALL METHOD mr_tree-&amp;gt;delete_subtree&lt;BR /&gt; EXPORTING&lt;BR /&gt; i_node_key = ls_selected_node&lt;BR /&gt; i_update_parents_folder = abap_true&lt;BR /&gt; EXCEPTIONS&lt;BR /&gt; node_key_not_in_model = 1&lt;BR /&gt; OTHERS = 2.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt; CALL METHOD mr_tree-&amp;gt;frontend_update.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Naga&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 06:17:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-tree-after-deleting-the-node/m-p/584535#M23293</guid>
      <dc:creator>nagaswaroopamuddam</dc:creator>
      <dc:date>2018-05-09T06:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh ALV tree after deleting the node</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-tree-after-deleting-the-node/m-p/584536#M23294</link>
      <description>&lt;P&gt;The method updating the screen is &lt;STRONG&gt;CALL METHOD cl_gui_cfw=&amp;gt;flush. &lt;/STRONG&gt;so you have to call it &lt;EM&gt;AFTER &lt;/EM&gt; &lt;STRONG&gt;CALL METHOD mr_tree-&amp;gt;frontend_update.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 08:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-tree-after-deleting-the-node/m-p/584536#M23294</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2018-05-09T08:04:32Z</dc:date>
    </item>
  </channel>
</rss>

