Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Adding '-Select-' on top for a drop down box


I have a drop down box mapped to a field in the context, the field has some domain values and are populated in the run time. but I have to add another top row '-Select-' indicating to the client that the field need to be selected.

To add 'Select', I can write a method in the WDDOINIT method of the controller and also loop through the domain values and append to the drop down box. But I don't want to do too much of d/b interaction, as the fields are anyway loaded to the dropbox by mapping.

Is there a way in web dynpro, that we could do like in normal ABAP reports, to Loop at the screen and identify all the drop down boxes and add a 'select' row at the top?

I really appreciate any help.

Thank you


Not what you were looking for? View more on this topic or Ask a question