<?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-list ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691204#M888828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl. check for  rs_selfield-refresh = 'X'  in the below mentioned code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    call function 'REUSE_ALV_GRID_DISPLAY'
      exporting
        it_fieldcat                 = i_fieldcat[]
        is_layout                   = pt_grplayout2
        i_callback_program          = 'YATTU0007'
        i_callback_html_top_of_page = p_header
        i_callback_user_command     = f_user_command1
        it_events                   = i_events[]
      tables
        t_outtab                    = i_yatthdr.
*
*&amp;amp;---------------------------------------------------------------------*
* Form  f_user_command1                                                *
*&amp;amp;---------------------------------------------------------------------*
* This form will handle the user command from fm REUSE                 *
*----------------------------------------------------------------------*
form f_user_command1 using p_ucomm type sy-ucomm
                     rs_selfield type  slis_selfield.

  data p_ref1 type ref to cl_gui_alv_grid.
  call function 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    importing
      e_grid = p_ref1.
  call method p_ref1-&amp;gt;check_changed_data.
  case p_ucomm.
  endcase.

  rs_selfield-refresh = 'X'.            " Grid refresh

endform.                                 " F_user_command1
*
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2008 14:12:12 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2008-04-08T14:12:12Z</dc:date>
    <item>
      <title>refreshing ALV-list ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691203#M888827</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 am calling a alv-screen with FM    REUSE_ALV_GRID_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as the output-table changes in some situations, is it possible to 'refresh' the alv-out-tab automaticly in ABAP ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg, Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 14:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691203#M888827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T14:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing ALV-list ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691204#M888828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl. check for  rs_selfield-refresh = 'X'  in the below mentioned code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    call function 'REUSE_ALV_GRID_DISPLAY'
      exporting
        it_fieldcat                 = i_fieldcat[]
        is_layout                   = pt_grplayout2
        i_callback_program          = 'YATTU0007'
        i_callback_html_top_of_page = p_header
        i_callback_user_command     = f_user_command1
        it_events                   = i_events[]
      tables
        t_outtab                    = i_yatthdr.
*
*&amp;amp;---------------------------------------------------------------------*
* Form  f_user_command1                                                *
*&amp;amp;---------------------------------------------------------------------*
* This form will handle the user command from fm REUSE                 *
*----------------------------------------------------------------------*
form f_user_command1 using p_ucomm type sy-ucomm
                     rs_selfield type  slis_selfield.

  data p_ref1 type ref to cl_gui_alv_grid.
  call function 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    importing
      e_grid = p_ref1.
  call method p_ref1-&amp;gt;check_changed_data.
  case p_ucomm.
  endcase.

  rs_selfield-refresh = 'X'.            " Grid refresh

endform.                                 " F_user_command1
*
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 14:12:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691204#M888828</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-04-08T14:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing ALV-list ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691205#M888829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, i have already tried it with that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it does not work. the alv-table is not updated ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg, Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 14:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691205#M888829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T14:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing ALV-list ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691206#M888830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  rs_selfield-refresh = 'X'.            " Grid refresh
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;after this call&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data p_ref1 type ref to cl_gui_alv_grid.
  call function 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    importing
      e_grid = p_ref1.
  call method p_ref1-&amp;gt;check_changed_data.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 14:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691206#M888830</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-04-08T14:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing ALV-list ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691207#M888831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i found another way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i just do a modifiy on the grid-table ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i think this is more the 'quick and dirty' way, isn't it ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg, martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 15:03:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691207#M888831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T15:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing ALV-list ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691208#M888832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the problem is more complex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to redirect the abap to the whole logic of creating the alv-out-tab ! it does NOT help me just to say 'refresh'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best reg, Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 15:07:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691208#M888832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T15:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing ALV-list ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691209#M888833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If you want to manually refresh ALV using REFRESH button on application toolbar, try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM USER_COMMAND ..................

CASE P_UCOMM.

*refreshes  ALV Grid
    When '&amp;amp;NTE'.
      SUBMIT &amp;lt;PROGRAM_NAME&amp;gt;.            &amp;lt;---give the same program name

ENDCASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 15:11:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691209#M888833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T15:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing ALV-list ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691210#M888834</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;that does not sound very logical for me. i can't call the programm again, as there are complex parameters and select options in it ! i have to start it exactly with the SAME parameters ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg, Martin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw: i can't find an 'refresh button' in alv !?!??!?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Martin Svik on Apr 8, 2008 5:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 15:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691210#M888834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T15:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing ALV-list ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691211#M888835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, there is a new question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to have an flexible ALV-header ? e.h. when i click on a specific line in alv data should be placed in the HEADER of alv ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg, Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 16:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691211#M888835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T16:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing ALV-list ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691212#M888836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Martin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have a look at sample report &lt;STRONG&gt;ZUS_SDN_FM_ALV_REFRESH&lt;/STRONG&gt; in &lt;SPAN __jive_macro_name="thread" id="814065"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The report demonstrates how to refresh the ALV list. However, this has to be done manually.&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 20:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-alv-list/m-p/3691212#M888836</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-04-08T20:01:49Z</dc:date>
    </item>
  </channel>
</rss>

