<?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 grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-grid/m-p/3596144#M865995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Code it as follows:&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;	CALL method gd_tree-&amp;gt;REFRESH_TABLE_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &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;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2008 10:12:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-02T10:12:48Z</dc:date>
    <item>
      <title>Refreshing ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-grid/m-p/3596143#M865994</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;I have a ALV grid display report, I want to create a refresh button in the output and suppose if any data is changed in any table used in that report then when we click refresh it should be reflected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now for this I have created one push button using pf-status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to do this using method.&lt;/P&gt;&lt;P&gt;then what should I write in the coding.&lt;/P&gt;&lt;P&gt;actually I have done like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD handle_user_command.&lt;/P&gt;&lt;P&gt; CASE e_ucomm.&lt;/P&gt;&lt;P&gt;  WHEN 'REFRESH'. " refresh is Function CODE&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;here I am submiting my report so tghat it will be execute *again&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.                           "handle_user_command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I am putting breakpoint inside the nmethod and click refresh button , control is not going there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest how to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know without methods but in OO how to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 10:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-grid/m-p/3596143#M865994</guid>
      <dc:creator>S0025444845</dc:creator>
      <dc:date>2008-04-02T10:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-grid/m-p/3596144#M865995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Code it as follows:&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;	CALL method gd_tree-&amp;gt;REFRESH_TABLE_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &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;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 10:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-grid/m-p/3596144#M865995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-02T10:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-grid/m-p/3596145#M865996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;where to write this code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 10:17:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-grid/m-p/3596145#M865996</guid>
      <dc:creator>S0025444845</dc:creator>
      <dc:date>2008-04-02T10:17:46Z</dc:date>
    </item>
  </channel>
</rss>

