Skip to Content
avatar image
Former Member

ALV Dropdown - Strange Issue (Description Vs Key )

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 19, 2010 at 01:26 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 19, 2010 at 01:36 PM

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 21, 2010 at 11:41 AM

    WOW, No answers

    Add comment
    10|10000 characters needed characters exceeded