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.

Basic Methods

Method

Application

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

 

Elements of the Grid Control

Method

Application

get_current_cell

Get indexes and properties of a selected cell

set_current_cell_via_id

Set cursor on a specific cell

get_scroll_info_via_id

Get current scroll position

set_scroll_info_via_id

Set scroll position

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

 

Layout and Structure Informationen

Method

Application

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

 

Generic Functions

Method

Application

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

 

Event Handling

Method

Application

register_delayed_event

Register event DELAYED_CALLBACK or DELAYED_SEL_CHANGED_CALLBACK

set_toolbar_interactive

Trigger event toolbar.

 

Interfaces

Method

Application

activate_reprep_interface

Enable report/report interface

offline

Check if the ALV Grid Control runs without frontend handling