<?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 list display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-list-display/m-p/3756768#M903762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ALV FM for list display,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use parameter callback user command,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the form for that subroutine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selfield-refresh = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Talwinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2008 09:23:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-05T09:23:55Z</dc:date>
    <item>
      <title>refresh alv list display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-list-display/m-p/3756765#M903759</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;how to refresh an ALV LIST display?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 09:09:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-list-display/m-p/3756765#M903759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T09:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: refresh alv list display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-list-display/m-p/3756766#M903760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;call method refresh_table_display of class cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 09:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-list-display/m-p/3756766#M903760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T09:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: refresh alv list display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-list-display/m-p/3756767#M903761</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;&lt;/P&gt;&lt;P&gt; Content and Structure Change &lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;You are able to change the internal data table in various ways. Depending on which type of change you use, you  have to proceed differently to make the change visible on the front end in the ALV output as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are able to make the following changes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        You change content or the sequence of the individual data records&lt;/P&gt;&lt;P&gt;Afterwards you need to refresh the ALV output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        You replace the entire data table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refresh Display of the ALV Output&lt;/P&gt;&lt;P&gt;If you have changed single values, added rows or deleted rows in the data table of list-type ALV outputs, you need to complete these changes in the ALV output as well by refreshing the ALV 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;For Changes in the Tree Structure you do not have to refresh the display. In the other ALV tools, you do not have to refresh the ALV output when you make the following changes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;§         Changes to the Display of Columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;§         Changes Sequence of Columns in the ALV display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;§         Changes to the DDIC Reference of Columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, the ALV output automatically scrolls to the beginning. However, you are able to determine that the current display (position on the screen) not be changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are able to refresh the ALV output in two ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        All settings for filters and sorting remain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This setting can lead to newly inserted data records not being displayed because the filter setting hid exactly these data records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        All settings for filters and sorting remain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Features&lt;/P&gt;&lt;P&gt;For changes to content and structure, you are able to make the following settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Refresh ALV output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Swap the data table of the ALV output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refresh ALV output&lt;/P&gt;&lt;P&gt;With the refresh, you ensure that the changed values are available on the front end as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV Tool&lt;/P&gt;&lt;P&gt; Classic ABAP list&lt;/P&gt;&lt;P&gt; Full screen&lt;/P&gt;&lt;P&gt; In the Container&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Simple, two-dimensional table&lt;/P&gt;&lt;P&gt; Yes&lt;/P&gt;&lt;P&gt; Yes&lt;/P&gt;&lt;P&gt; Yes&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hierarchical-sequential list&lt;/P&gt;&lt;P&gt; Yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Tree structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; No&lt;/P&gt;&lt;P&gt; No&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function&lt;/P&gt;&lt;P&gt; Class&lt;/P&gt;&lt;P&gt; Method&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Refresh ALV output without deleting filter and sort settings&lt;/P&gt;&lt;P&gt; CL_SALV_TABLE&lt;/P&gt;&lt;P&gt;CL_SALV_HIERSEQ_TABLE&lt;/P&gt;&lt;P&gt; REFRESH&lt;/P&gt;&lt;P&gt;(Parameter REFRESH_MODE: SOFT)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Refresh ALV output and delete filter and sort settings&lt;/P&gt;&lt;P&gt; REFRESH&lt;/P&gt;&lt;P&gt;(Parameter REFRESH_MODE: FULL)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the Structure of the Data Table with SET_DATA&lt;/P&gt;&lt;P&gt;Depending on which ALV tool you are using, the parameters of the SET_DATA method are different:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you assign a new structure with SET_DATA, all objects that referred to the previous structure will be deleted such as all sort objects in list-type ALV outputs or all node objects in tree structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function&lt;/P&gt;&lt;P&gt; Class&lt;/P&gt;&lt;P&gt; Method&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Change structure and data table&lt;/P&gt;&lt;P&gt; CL_SALV_TABLE&lt;/P&gt;&lt;P&gt;CL_SALV_HIERSEQ_TABLE&lt;/P&gt;&lt;P&gt;CL_SALV_TREE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_SALV_HIERSEQ_LEVEL&lt;/P&gt;&lt;P&gt; SET_DATA&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;Change the Structure of the Data Table with the SET_DATA Method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV Tool&lt;/P&gt;&lt;P&gt; Parameter&lt;/P&gt;&lt;P&gt; Remarks&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Simple, two-dimensional table&lt;/P&gt;&lt;P&gt; T_TABLE&lt;/P&gt;&lt;P&gt; Table for structure and contents of the ALV output&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hierarchical-sequential list&lt;/P&gt;&lt;P&gt;(in CL_SALV_HIERSEQ_TABLE)&lt;/P&gt;&lt;P&gt; LEVEL&lt;/P&gt;&lt;P&gt; Hierarchy level whose structure you wish to change&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;T_TABLE&lt;/P&gt;&lt;P&gt; New table of hierarchy level&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;T_BINDING&lt;/P&gt;&lt;P&gt; List of up to five foreign-key relationships&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;(in CL_SALV_HIERSEQ_LEVEL)&lt;/P&gt;&lt;P&gt; VALUE&lt;/P&gt;&lt;P&gt; New table of hierarchy level&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;T_BINDING&lt;/P&gt;&lt;P&gt; List of up to five foreign-key relationships&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Tree structure&lt;/P&gt;&lt;P&gt; T_TABLE&lt;/P&gt;&lt;P&gt; Initial table&lt;/P&gt;&lt;P&gt;Empty table, only sets the structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 09:20:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-list-display/m-p/3756767#M903761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T09:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: refresh alv list display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-list-display/m-p/3756768#M903762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ALV FM for list display,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use parameter callback user command,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the form for that subroutine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selfield-refresh = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Talwinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 09:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-list-display/m-p/3756768#M903762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T09:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: refresh alv list display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-list-display/m-p/3756769#M903763</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;just after displaying alv output refresh_table_display is to refresh table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after displaying alv output if you want to refresh alv output &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_program_name &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= alv_prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_structure_name &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Structure name has to be in capital' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_inclname &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= alv_prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHANGING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ct_fieldcat &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= alv_fieldcat &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inconsistent_interface = 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program_error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= 2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTHERS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= 3. &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;&lt;/P&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Display ALV grid &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_bypassing_buffer &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= 'X' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_callback_program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= alv_prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_callback_pf_status_set = 'SET_PF_STATUS' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_callback_user_command = 'HANDLE_USER_COMMAND' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_grid_title &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= sy-title &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is_layout &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= alv_layout &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_fieldcat &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= alv_fieldcat &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_excluding &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= alv_exclude &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_save &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= 'A' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_outtab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= tab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program_error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTHERS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= 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;&lt;/P&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. &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;FORM set_pf_status USING rt_extab TYPE slis_t_extab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'XXXX' EXCLUDING action. &lt;/P&gt;&lt;P&gt;ENDFORM."SET_PF_STATUS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM handle_user_command USING r_ucomm &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIKE sy-ucomm &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rs_selfield TYPE slis_selfield. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE r_ucomm. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'UPDATE'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM update_routine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN '&amp;amp;IC1'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF rs_selfield-fieldname = 'IDOC_NUM' OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rs_selfield-fieldname = 'IDOC_NUM_OUT'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM drill_down USING rs_selfield-value. &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;WHEN 'SAVE'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA ref1 TYPE REF TO cl_gui_alv_grid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_grid = ref1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD ref1-&amp;gt;check_changed_data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM save_routine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'REFRESH'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM get_selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN OTHERS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rs_selfield-refresh = 'X'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Refresh screen &lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"HANDLE_USER_COMMAND &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this option it will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 09:46:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-list-display/m-p/3756769#M903763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T09:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: refresh alv list display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-list-display/m-p/3756770#M903764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Navi,&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;Hope this helps.&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&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>Mon, 05 May 2008 09:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-alv-list-display/m-p/3756770#M903764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T09:59:04Z</dc:date>
    </item>
  </channel>
</rss>

