Skip to Content
0
Former Member
Apr 19, 2010 at 01:19 PM

ALV Dropdown - Strange Issue (Description Vs Key )

24 Views

Hi,

I have created an editable ALV, one of fields needs to be a drop down, to achieve that I have done the following:

1. Created the Context Node [Table for ALV ] (No Initialization of Lead Slection)

2. Set the editablity using the ALV table config

3. Set the Column as drop down by key (CL_SALV_WD_UIE_DROPDOWN_BY_KEY) (Person Number Field)

4. Populated the value set using node info (for node created in step 1) (List of Valid Persons for Workcentre) (Key = Person Number , Value = Persons Name)

When the application is launched the ALV has one row and the dropdown displays the correct description (i.e the name against the person number) , when you use the button to add a new row to the ALV, the name for the first entry is no longer displayed, instead its key is displayed ... (also the possible values dissapear) Any pointers about where the problem could be ?

help would be appretiated...

Best Regards,

Gaurav