Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

DropDown By Index for a Column in ALV

Hi,

I am trying to create a dropdown for a column in ALV. I have used the following code for the same.

data:

lr_drdn_by_index type ref to cl_salv_wd_uie_dropdown_by_idx.

create object lr_drdn_by_index

exporting

selected_key_fieldname = ls_column-id.

lr_drdn_by_index->set_valueset_fieldname( 'VALUESET' ).

lr_drdn_by_index->set_type( if_salv_wd_c_uie_drdn_by_index=>type_key_value ).

ls_column-r_column->set_cell_editor( lr_drdn_by_index ).

"VALUESET" Contains the Dropdown Data.

Is there any settings that I have to do which is missing?

Regards,

Shruthi

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question