I have a strange problem with an OO alv.
When I select one or more columns and press one of the standard alv functions like sort or summarize, the selected columns are not recognized as selected, and a popup says "Select at least one column".
The column is clearly selected as you can see:
What is wrong with my coding:
ls_layout-cwidth_opt = 'X'.
ls_layout-sel_mode = 'A'.
ls_layout-zebra = 'X'.
ls_layout-stylefname = 'CELLTAB'.
ls_layout-no_rowmark = 'X' .
CALL METHOD cr_alv_grid->set_table_for_first_display
is_layout = ls_layout
is_variant = ls_variant
i_save = 'A'
it_outtab = ct_output
it_fieldcatalog = ct_fcat.