set_selected_columns
Select columns in the grid control. All other selections are removed before the ALV Grid Control selects the columns passed with the calls.
CALL METHOD <ref.var. toCL_GUI_ALV_GRID>->set_selected_columns
EXPORTING
IT_COL_TABLE = <table of type LVC_T_COL>
IS_KEEP_OTHER_SELECTIONS = <type CHAR01>.
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). |
IS_KEEP_OTHER_SELECTIONS |
Determines if existing selections of rows, columns and cells should remain (value ‘X’) or if they are to be replaced by the new selection (value ‘ ‘). |
For an overview, see: Methods of Class CL_GUI_ALV_GRID