cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Dropdown - Strange Issue (Description Vs Key )

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

WOW, No answers

Former Member
0 Kudos

Have created a temporary fix by populating the value set after each action, still curious to know what was the mistake ??

Former Member
0 Kudos

In fact any action on teh ALV produces the same error, for example if you change one of teh other fields and press enter... the field value changes from teh value to the key and the dropdown list is empty again.