offline

Use

You use this method to determine if the ALV Grid Control runs without frontend handling.

In these cases, you should not create frontend objects (see below).

Features

CALL METHOD CL_GUI_ALV_GRID=>offline
  RECEIVING
    E_OFFLINE =  <variable of type  INT4 >. 

Parameter

Meaning

E_OFFLINE

If this parameter is set to 1, no frontend handling takes place.

For an overview, see Methods of Class CL_GUI_ALV_GRID

Activities

You can use this method, for example, to create the control container for the ALV Grid Control only for online processing:

DATA: g_dock TYPE REF TO cl_gui_docking_container,
 g_grid TYPE REF TO cl_gui_alv_grid.

IF cl_gui_alv_grid=>offline( ) is initial.
 CREATE OBJECT g_dock.
ENDIF.

CREATE OBJECT g_grid
 EXPORTING I_PARENT = g_dock.