Skip to Content
0
Dec 11, 2013 at 11:03 AM

Column selection in ALV not working

1018 Views

Hi

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

EXPORTING

is_layout = ls_layout

is_variant = ls_variant

i_save = 'A'

CHANGING

it_outtab = ct_output[]

it_fieldcatalog = ct_fcat.

Best regards

Attachments

Snap1.jpg (49.5 kB)