Skip to Content
0
Former Member
Aug 06, 2013 at 12:14 PM

How to set values of dropdown list at runtime in ALV cell

42 Views

Hi,

I want to set the values of a dropdown list in a cell of ALV based on the value select in other ALV listbox cell. I am using event ON_CELL_ACTION to get the key value.

In event ON_CELL_ACTION I am using the code below, lt_valueset2 is filled correctly but the values are not being populated in the cell.

CREATE OBJECT o_drdn EXPORTING selected_key_fieldname = ls_column-id.

o_column->set_cell_editor( value = o_drdn ).

o_node_info->set_attribute_value_set( name = ls_column-id

value_set = lt_valueset2 ).

Does anyone face this issue?

Regards,

Felipe