<?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 the window in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261771#M1215240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;have u captured button click event through pfstatus , then in screen ' PAI you have to write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-ucomm= ' button1'.&lt;/P&gt;&lt;P&gt;write ur logic&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Smita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2009 12:10:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-17T12:10:51Z</dc:date>
    <item>
      <title>refresh the window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261768#M1215237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a window with two buttons. If you always &lt;/P&gt;&lt;P&gt;click at one of the buttons according to the button there might be displayed the &lt;/P&gt;&lt;P&gt;correctly ALV output table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case nothing changes when I click on the button. I have always the&lt;/P&gt;&lt;P&gt;same output although the program performs the coding. I can see that&lt;/P&gt;&lt;P&gt;in the debugger.&lt;/P&gt;&lt;P&gt;Did I forget to call function to refresh the window. Or what else can &lt;/P&gt;&lt;P&gt;the reason be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance for your support&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 11:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261768#M1215237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-17T11:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: refresh the window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261769#M1215238</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;Could you please show your code? That may give you a great help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you could have missed to capture the events or sy-ucomm value...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the help for better assistance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 11:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261769#M1215238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-17T11:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: refresh the window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261770#M1215239</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;PRE&gt;&lt;CODE&gt;*--- ALV Grid instance reference
DATA : gr_alvgrid TYPE REF TO cl_gui_alv_grid .

CALL METHOD gr_alvgrid-&amp;gt;refresh_table_display.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sayak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 12:10:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261770#M1215239</guid>
      <dc:creator>RoySayak</dc:creator>
      <dc:date>2009-03-17T12:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: refresh the window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261771#M1215240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;have u captured button click event through pfstatus , then in screen ' PAI you have to write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-ucomm= ' button1'.&lt;/P&gt;&lt;P&gt;write ur logic&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Smita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 12:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261771#M1215240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-17T12:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: refresh the window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261772#M1215241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Which method are you using for displaying ALV ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; For example in the object model after changes to the internal table of ALV you have to call the method GR_SALV_TABLE-&amp;gt;REFRESH( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 12:11:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261772#M1215241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-17T12:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: refresh the window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261773#M1215242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I want the same ALV with the same call again, only now with another output table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where exactly must this line  be implemted in the coding &lt;/P&gt;&lt;P&gt;CALL METHOD gr_alvgrid-&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;I am using :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD ref_alv-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 12:16:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261773#M1215242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-17T12:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: refresh the window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261774#M1215243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Just try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have coded for some user command to be handled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLASS lcl_event_receiver DEFINITION.

      PUBLIC SECTION.

        handle_user_command
            FOR EVENT user_command OF cl_gui_alv_grid
                IMPORTING e_ucomm.

ENDCLASS.                    "lcl_event_receiver DEFINITION&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;METHOD handle_user_command.

CASE e_ucomm.

WHEN 'REFR'.

* --&amp;gt; Modify the table here

CALL METHOD g_alv-&amp;gt;refresh_table_display.

ENDCASE.

ENDMETHOD.                           "handle_user_command&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rajvansh Ravi on Mar 17, 2009 1:49 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 12:48:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-the-window/m-p/5261774#M1215243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-17T12:48:46Z</dc:date>
    </item>
  </channel>
</rss>

