<?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: Refreshing ALV output in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-output/m-p/4003382#M956470</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method refresh_table_display of grid object is used for refreshing an ALV grid. It will refresh the data in ALV output from your internal table which is used in set_table_for_first_display method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your requirement is to display a blank ALV grid on click of a button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the user_command event, refresh your internal table (the one passed as outtab in set_table_for_first_display) and call the method refresh_table_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH it_outtab.&lt;/P&gt;&lt;P&gt;CALL METHOD gr_alv_grid-&amp;gt;refrsh_table_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2008 08:39:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-13T08:39:50Z</dc:date>
    <item>
      <title>Refreshing ALV output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-output/m-p/4003381#M956469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;I need to refresh the ALV output. I am displaying the ALV output with some data in the output. Now i need to refresh the table i.e when I select a particular button the table in display should be refreshed and  i should get empty rows. this is an oops alv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 08:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-output/m-p/4003381#M956469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T08:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing ALV output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-output/m-p/4003382#M956470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method refresh_table_display of grid object is used for refreshing an ALV grid. It will refresh the data in ALV output from your internal table which is used in set_table_for_first_display method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your requirement is to display a blank ALV grid on click of a button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the user_command event, refresh your internal table (the one passed as outtab in set_table_for_first_display) and call the method refresh_table_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH it_outtab.&lt;/P&gt;&lt;P&gt;CALL METHOD gr_alv_grid-&amp;gt;refrsh_table_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 08:39:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-output/m-p/4003382#M956470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T08:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing ALV output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-output/m-p/4003383#M956471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following method call is used to refresh the data displayed within an ALV object grid:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL method gd_tree-&amp;gt;REFRESH_TABLE_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD gd_tree-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      is_layout       = gd_layout&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      it_fieldcatalog = gd_fieldcat&lt;/P&gt;&lt;P&gt;      it_sort         = it_sortcat&lt;/P&gt;&lt;P&gt;      it_outtab       = it_report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL method gd_tree-&amp;gt;REFRESH_TABLE_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL METHOD cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 16:57:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-output/m-p/4003383#M956471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T16:57:37Z</dc:date>
    </item>
  </channel>
</rss>

