<?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 ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv/m-p/4619232#M1088249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For resuse alv list display, dont call the function again. Instead do like this :&lt;/P&gt;&lt;P&gt;In the user command of the alv list, set the flag that would refresh the list after a user command is performed&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  USER_COMMAND                                             *
*&amp;amp;---------------------------------------------------------------------*
FORM user_command USING r_ucomm LIKE sy-ucomm
                        rs_selfield TYPE slis_selfield.
" Check the user command etc...

"     refresh the list when the user command to send the IDoc.
      rs_selfield-refresh = 'X'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;For oosp use the method as mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Oct 2008 09:48:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-27T09:48:46Z</dc:date>
    <item>
      <title>REFRESH ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv/m-p/4619229#M1088246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys , Im showing some registers using classic alv  , however some of the registers change theirs values during after push a button in the menu , how can i show the new values for my registers i mean refresh the ALV. thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 09:34:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv/m-p/4619229#M1088246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T09:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: REFRESH ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv/m-p/4619230#M1088247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using OOPS ALV,&lt;/P&gt;&lt;P&gt;Call method&lt;/P&gt;&lt;P&gt;REFRESH_TABLE_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else if you are using CALL REUSE_ALV_GRID_DISPLAY&lt;/P&gt;&lt;P&gt;CALL REUSE_ALV_GRID_DISPLAY once again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 09:43:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv/m-p/4619230#M1088247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T09:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: REFRESH ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv/m-p/4619231#M1088248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you are using the Grid function, in the user command you have to code like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;form user_command using p_ucomm type sy-ucomm
p_selfld type slis_selfield.
 
data ref1 type ref to cl_gui_alv_grid.
"For capturing the selected data
call function 'GET_GLOBALS_FROM_SLVC_FULLSCR'
importing
e_grid = ref1.
call method ref1-&amp;gt;check_changed_data.
 
case p_ucomm.
when '&amp;amp;DATA_SAVE'.  "based on your action
 
"Now you see/check here internal table will have changed 
"values
p_selfld-refresh = 'X'.
endcase.
endform. "user_command&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 09:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv/m-p/4619231#M1088248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T09:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: REFRESH ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv/m-p/4619232#M1088249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For resuse alv list display, dont call the function again. Instead do like this :&lt;/P&gt;&lt;P&gt;In the user command of the alv list, set the flag that would refresh the list after a user command is performed&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  USER_COMMAND                                             *
*&amp;amp;---------------------------------------------------------------------*
FORM user_command USING r_ucomm LIKE sy-ucomm
                        rs_selfield TYPE slis_selfield.
" Check the user command etc...

"     refresh the list when the user command to send the IDoc.
      rs_selfield-refresh = 'X'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;For oosp use the method as mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 09:48:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv/m-p/4619232#M1088249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T09:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: REFRESH ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv/m-p/4619233#M1088250</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;when you use the oo ALV you must register foolwing events:&lt;/P&gt;&lt;P&gt;The ENTER: ( you must register it if you use the ITS .. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD alv_grid-&amp;gt;register_edit_event&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_enter&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    ERROR      = 1&lt;/P&gt;&lt;P&gt;    others     = 2&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also the change event if you use the edit function of the alv.. ( Don´t forget the  IS_LAYOUT !! )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL METHOD alv_grid-&amp;gt;register_edit_event&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_modified&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    ERROR      = 1&lt;/P&gt;&lt;P&gt;    others     = 2&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 10:05:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv/m-p/4619233#M1088250</guid>
      <dc:creator>robert_altenstraer</dc:creator>
      <dc:date>2008-10-27T10:05:42Z</dc:date>
    </item>
  </channel>
</rss>

