on 12-16-2011 1:19 PM
Hi,
I have an editable ALV where the values for one of the fields are set using the method set_attribute_value_set. First time the method is called it works fine and the values are set. But if I call the method once again, because I want to change the value set for the field, is doesn't work, because it is still the old values that are shown when I use the drop down.
I have tried to call the method get_attribute just after set_attribute_value_set to see what the value set is, and the values are, what I want them to be. But it is still the wrong values that are shown, when I use the drop down.
Does anyone have any idea what is wrong - and how I can fix it?
Regards
Gitte
Before using value_Set method for second time, clear the contents of attribute or node using Invalidate( ) method.
Check now
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srinivas,
I could not get the method set_attribute_null to work.
I ended up changing the editor to dropdownbyindex instead of dropdownbykey. Then I can use the method set_valueset_fieldname to set the valueset for each line. It is not pretty but i works, and there is not that much data in my alv.
Thanks for your help.
/Gitte
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.