I have added a parameter as dropdown in the selection screen in webdynpro ABAP using the method IF_WD_SELECT_OPTIONS=>ADD_PARAMETER_FIELD.
When the value of the dropdown is changed by the user, I need to update a text line (added to the selection screen) based on the value selected in dropdown. How can this be achieved?
(I am trying to imitate the AT SELECTION-SCREEN OUTPUT event in a GUI report in Webdynpro)
You can do one thing on selection of the drop down set the flag as 'X' and write the code in the do modify view where u write the code as if flag = 'X' then by using the case statements you can capture the drop down selected values and update the text as and what you need.
I sugested to set the flag as WDDO MOdify view calls this method every time the user clicks so to avoid the unnessesary calls follow this method. Hope it helps you .