<?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: issue with refresh button-alv in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-refresh-button-alv/m-p/6456715#M1414914</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;Why are u managing the refresh button in the form to set the status?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Dec 2009 16:47:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-29T16:47:28Z</dc:date>
    <item>
      <title>issue with refresh button-alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-refresh-button-alv/m-p/6456714#M1414913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello there,&lt;/P&gt;&lt;P&gt; i have a refresh button on my alv grid.when it clicked the report should be updated.Now the problem is , its not working for the first time but its working for the second time.I mean data is updating when we press the refresh button for the second time.&lt;/P&gt;&lt;P&gt;In the debugging its going through the same process both the times I cant figure out where its going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is like this&lt;/P&gt;&lt;P&gt;for that bit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM pf_status_set USING ut_extab TYPE slis_t_extab.        "#EC CALLED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:us_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DELETE ut_extab WHERE fcode = gc_refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'STANDARD_FULLSCREEN' OF PROGRAM  'SAPLKKBL'&lt;/P&gt;&lt;P&gt;      EXCLUDING ut_extab.&lt;/P&gt;&lt;P&gt;**click on refresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-ucomm = gc_refresh.                           &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    REFRESH: gt_output,&lt;/P&gt;&lt;P&gt;             gt_bin_output,&lt;/P&gt;&lt;P&gt;             gt_fcat,&lt;/P&gt;&lt;P&gt;             gt_event_exit,&lt;/P&gt;&lt;P&gt;             gt_totals.&lt;/P&gt;&lt;P&gt;    CLEAR: gs_output,&lt;/P&gt;&lt;P&gt;           gs_bin_output,&lt;/P&gt;&lt;P&gt;           gs_fcat,&lt;/P&gt;&lt;P&gt;           gs_event_exit,&lt;/P&gt;&lt;P&gt;           gs_totals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM  get_report.       " Refresh data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz advise...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2009 16:41:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-refresh-button-alv/m-p/6456714#M1414913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-29T16:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: issue with refresh button-alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-refresh-button-alv/m-p/6456715#M1414914</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;Why are u managing the refresh button in the form to set the status?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2009 16:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-refresh-button-alv/m-p/6456715#M1414914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-29T16:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: issue with refresh button-alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-refresh-button-alv/m-p/6456716#M1414915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no idea why u r using the refresh button seperately, but sal alv provide the provision of automatic refresh when using an user command, just need to set the paramater refresh = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_command  USING r_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                                   rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;refresh  : (exporting) list is to be refreshed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2009 21:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-refresh-button-alv/m-p/6456716#M1414915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-29T21:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: issue with refresh button-alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-refresh-button-alv/m-p/6456717#M1414916</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;Use this method : REFRESH_TABLE_DISPLAY from Class : CL_GUI_ALV_GRID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If need more details let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venu Madhav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 02:26:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-refresh-button-alv/m-p/6456717#M1414916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-30T02:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: issue with refresh button-alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-refresh-button-alv/m-p/6456718#M1414917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Guyz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 07:33:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-refresh-button-alv/m-p/6456718#M1414917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-30T07:33:49Z</dc:date>
    </item>
  </channel>
</rss>

