on 09-22-2008 4:21 PM
Hello SDN Members,
I want to know if there is an option to display the value and text in a dropdrowbykey. This dropdrowbykey is filled in a wddoinit method with a wd_context_attr_value_list.
I hope there is something to activate.
Thanks in advance
Regards,
Aurélien
Found myself.
Put in the method of the view :WDDOMODIFYVIEW :
IF first_time ='X'.
DATA lr_dropdown TYPE REF TO cl_wd_dropdown_by_key.
DATA lr_ui_element TYPE REF TO if_wd_view_element.
CALL METHOD view->get_element
EXPORTING
id = 'DROPDOWN_DD'
RECEIVING
element = lr_ui_element.
lr_dropdown ?= lr_ui_element.
lr_dropdown->set_key_visible( abap_true ).
ENDIF.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.