cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Solved with help of the thread below

http://scn.sap.com/thread/1921144

Answers (0)