Hi
Found one more solution to this.But not sure how much it would be helpful.
I wrote this code in WDDOMODIFYVIEW.
DATA lo_ui_element TYPEREFTO cl_wd_dropdown_by_key.
lo_ui_element ?= view->get_element( 'EMP_TYPE' ). "Put the name of your UI element
lo_ui_element->set_key_visible( abap_true ).
The output comes like this
Regards
Swati