refresh_table_display 

Use

You use this method to refresh the output table in the grid control. This is necessary if you change the display of the data by means of methods (for example, using set_frontend_layout), or if you want to display new data selected in the same ALV Grid Control.

Demo program BCALV_GRID_03 in development class SLIS uses this method to refresh the output table after a new selection.

Features

CALL METHOD <ref.var. to CL_GUI_ALV_GRID>->refresh_table_display

      EXPORTING
         IS_STABLE  
 = <structure of type LVC_S_STBL >
         I_SOFT_REFRESH    = <variable of type CHAR01 >.

Parameter

Meaning

IS_STABLE

If the row or col field of this structure is set, the position of the scroll bar for the rows or columns remains stable.

I_SOFT_REFRESH

This parameter is used only in exceptional cases. If you set this parameter, any totals created, any sort order defined and any filters set for the data displayed remain unchanged when the grid control is refreshed. This makes sense, for example, if you have not modified the data of the data table and want to refresh the grid control only with regard to layout or field catalog changes.

 

For an overview, see: Methods of Class CL_GUI_ALV_GRID