<?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: refresh an alv_tree in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-an-alv-tree/m-p/4197229#M1003200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I´m using alv_tree...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to call this method, appear an error... this method is private for the alv_tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advace,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2008 11:38:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-17T11:38:15Z</dc:date>
    <item>
      <title>refresh an alv_tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-an-alv-tree/m-p/4197227#M1003198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can refresh an alv_tree?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i modify a value in the table such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA: yplm00_tree LIKE gt_output.

  call method g_alv_tree_1001_a-&amp;gt;get_outtab_line
  exporting
    i_node_key    = p_node_key
  importing
    e_outtab_line = yplm00_tree.

  CASE yplm00_tree-tipol.
    WHEN 'PY'.
      UPDATE YPLM01 CLIENT SPECIFIED SET STATS = p_fcode
      WHERE PSPNR = yplm00_tree-pspnr
        AND mandt = sy-mandt.
    WHEN 'PR'.
    WHEN 'RV'.
    WHEN 'EN'.
    WHEN 'RS'.
  ENDCASE.

CALL METHOD g_alv_tree_1001_a-&amp;gt;update_calculations.

CALL METHOD g_alv_tree_1001_a-&amp;gt;frontend_update.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And after modified, i want refresh the alv_tree, i intent with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL METHOD g_alv_tree_1001_a-&amp;gt;update_calculations.

CALL METHOD g_alv_tree_1001_a-&amp;gt;frontend_update.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But don´t work... other ways?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 11:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-an-alv-tree/m-p/4197227#M1003198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T11:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: refresh an alv_tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-an-alv-tree/m-p/4197228#M1003199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ALV, to refresh the table you have to call the method "refresh_table_display".  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has the syntax very similar to creating the table.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has two parameters. In the first one, you can mention if you want to refresh only the data (the icons are not refreshed)  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to refresh only the icons around the grid (the data is not refreshed - this option is mostly not used in day to day applications). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the synatx is :- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method grid (name of grid )-&amp;gt;refresh_table_display &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exporting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS_STABLE = &amp;lt;STRUCT OF TYPE LVC_S_STBL&amp;gt; (THIS IS FOR DATA REFRESHING) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_SOFT_REFRESH = &amp;lt;VARIABLE OF CHAR 01&amp;gt;  (THIS IS FOR ICON REFRESHING). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neeraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 11:35:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-an-alv-tree/m-p/4197228#M1003199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T11:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: refresh an alv_tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-an-alv-tree/m-p/4197229#M1003200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I´m using alv_tree...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to call this method, appear an error... this method is private for the alv_tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advace,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 11:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-an-alv-tree/m-p/4197229#M1003200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T11:38:15Z</dc:date>
    </item>
  </channel>
</rss>

