Hi, SAP CRM UI community.
In our system there is a need to define the number of lines to be presented in table, in order to implement it we defined a dropdownListBox, which contains number of lines (nameOfKeyColumn) and name/alias for the number (nameOfValueColumn).
All this data is stored in internal table of type WDY_KEY_VALUE_LIST, where key field is a number of lines and value is a name/alias for the number (e.g. key = '10', value = "small"; key = '100', value = "medium"; key = '999999', value = "maximum").
Everything is OK except one thing — the case when key field value exceeds 3-digits, for instance, key = '999999', value = "maximum". In such case when you select this option dropdownListBox passes the right value to some function, but resets the look to the first line, in my case to key = '10', value = "small".
After some performed tests in order to detect the root of the issue I found out that the problem repeats only when you try to store more than 3-digits value in dropdownListBox, in other words, key = '999' is OK, but key = '9999' is not. I checked the type of the field where I store the digit-value (WDY_KEY_VALUE-KEY), it's a string, so we are not talking about type-related issue.
Does anybody faced out with such issue, when you select the parameter in dropdown list box and after performing roundtrip the selected value resets to the first parameter in dropdown list?
Thanks.