I'm trying to put an dropdown by key (or index) into an ALV but I'm unable to get data in the dropdown. Can someone please help me with this?
The setup for the dropdown is like this (see below) but how can I bind a node DD_fieldname which has attributes 'key' and 'descr' to the dropdown.
Drop down box
DATA: lr_drdn_by_key TYPE REF TO cl_salv_wd_uie_dropdown_by_key.
CREATE OBJECT lr_drdn_by_key EXPORTING selected_key_fieldname = l_fieldname.
lr_column->set_cell_editor( lr_drdn_by_key ).