Methods of Class CL_GUI_ALV_GRID

This class contains both control-specific methods and methods inherited from the Control Framework. This section describes only the control-specific methods. The methods inherited from the Control Framework are described in Methods of the OO Control Framework .

All methods specified below can be used in the SAP GUI for the Windows Environment and the SAP GUI for the JAVA Environment. The HTML column tells you if the method works in the SAP GUI for HTML:

: Method can be used.

() : Method can be used restrictedly.

X : Method cannot be used.

 

The ALV Grid Control uses caching mechanisms to ensure that the values for methods requiring information from the frontend are available without calling the Control Framework method CL_GUI_CFW=>FLUSH.

Method

Application

HTML

CONSTRUCTOR

Generate an instance of the ALV Grid Control

set_table_for_first_display

Display an output table in the control

refresh_table_display

Refresh the data displayed in the control

 

Method

Application

HTML

get _current_cell

Get indexes and properties of a selected cell

()

set_current_cell_via_id

Set cursor on a specific cell

X

get_scroll_info_via_id

Get current scroll position

X

set_scroll_info_via_id

Set scroll position

X

get_selected_cells

Get content and position of selected cells from frontend

set_selected_cells

Select cells in the ALV Grid Control

get_selected_cells_id

Get indexes of currently selected cells

set_selected_cells_id

Select cells using index table

get_selected_columns

Get field names of selected columns from frontend

get_selected_rows

Get indexes of selected rows from frontend

set_selected_rows

Select rows

 

Method

Application

HTML

get_frontend_fieldcatalog

Get current field catalog from frontend

set_frontend_fieldcatalog

Set field catalog at frontend

get_frontend_layout

Get layout structure at frontend

set_frontend_layout

Set layout structure at frontend

set_3d_border

Enable/disable 3D format of ALV Grid Control border

 

Method

Application

HTML

get_filtered_entries

Get indexes of rows that are not displayed due to a filter set

get_filter_criteria

Get filter properties for all columns that have a filter set currently

get_subtotals

Get values of current subtotals lines

set_filter_criteria

Set filter properties for columns

get_sort_criteria

Get sort criteria for sorted columns

set_sort_criteria

Set sort criteria for columns

get_variant

Get current layout

save_variant_dark

Disallow users to assign their own layout name

set_graphics_container

Use another container control for diagram display

set_user_command

Change function code to be executed currently

 

Method

Application

HTML

register_delayed_event

Register event DELAYED_CALLBACK or DELAYED_SEL_CHANGED_CALLBACK

X

set_toolbar_interactive

Trigger event toolbar .

 

Method

Application

HTML

activate_reprep_interface

Enable report/report interface

offline

Check if the ALV Grid Control runs without frontend handling