set_selected_columns 

Use

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

Features

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

      EXPORTING
         IT_COL_TABLE         = <table of type LVC_T_COL >.

Parameter

Meaning

IT_COL_TABLE

Table with the field names of the columns to be selected (row type: LVC_S_COL ; field to be filled: FIELDNAME ).

 

For an overview, see: Methods of Class CL_GUI_ALV_GRID