get_selected_columns 

Use

Get the field names of selected columns.

If only rows or cells are selected, the control returns an empty table.

 

Features

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

   IMPORTING
      ET_INDEX_COLUMNS  =   <internal table of type LVC_T_COL > .

Parameter

Meaning

ET_INDEX_COLUMNS

Table with field names of the selected columns

 

For an overview, see: Methods of Class CL_GUI_ALV_GRID