set_selected_cells 

Use

Select cells in the grid control. All other selections are removed before the ALV Grid Control selects the cells passed with the call.

Features

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

      EXPORTING
         IT_CELLS         = <Table of type LVC_T_CELL >.

Parameter

Meaning

IT_CELLS

Table with the field names of the cells to be selected. The row type of the table is LVC_S_COL ; this structure contains one structure of type LVC_S_COL and one structure of type LVC_S_ROW that you use to determine the column and the row of the cell (see set_selected_rows and set_selected_columns).

 

For an overview, see: Methods of Class CL_GUI_ALV_GRID