set_attribute_value_set not working when called more than once
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?