Hi Gurus,
I need your help on this.
I encountered this error in Internet Explorer but not in Firefox and Chrome.
What happens is, when I triggered my dropdown by index, the column will have blank item first, then dropdown values.
Sample.
Blank
Value1
Value2
When I click blank, nothing happens.
When I click Value1, Value2 got displayed.
When I click Value2, assertion_failed happens.
The error occurs in /1WDA/C0STANDARD==============CP=>IF_WDR_NW7_EVENT_HANDLER~HANDLE_EVENT.
| 7145 | " Assert numeric value |
| 7146 | check IFUR_NW7_COMBOBOX~ITEMCOUNT > 0. |
| 7147 | assert value co '0123456789-'. "#EC NOTEXT |
| 7148 | lead_selection_index = value. |
| >>>>> | assert lead_selection_index >= 1 and lead_selection_index <= lines( mv_VALUE_SET ) or |
| 7150 | mv_WD_DESELECTABLE = abap_true and lead_selection_index = -1. |
When I debug, at first pass on this code, mv_VALUE_SET has 3 items (blank, value1, value2).
On the next pass, mv_VALUE_SET has 2 items (value1, value2) only. The blank item was removed.
How to fix this error?