on 04-19-2010 2:19 PM
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
WOW, No answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have created a temporary fix by populating the value set after each action, still curious to know what was the mistake ??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.