on 05-03-2013 10:31 AM
Hi Tran
Call set_key_visible method to abap_true on your Dropdown List object e.g.:
Data: lr_chr_dropdown type ref to cl_salv_wd_uie_dropdown_by_key.
lr_chr_dropdown->set_key_visible(abap_true ).
Brgds Kim Brandt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tran
Please go through the below link.It has the same requirement as yours.
http://scn.sap.com/thread/1451204
Regards
Swati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swati,
I don't think that it's the solution.
with the same transaction ME29N:
when I choose Order Type dropdown, it isn't show key in list.
Please advise me on how to proceed.
Thanks and Best regards,
Quynh.
Hi Quynh
Maybe the configuration you have done for the SAP GUI doesn't work for NWBC. You can remove the configuration and concatenate the key and text in the text column of the dropdown list.
I had the same requirement and this solution worked for me.
Can't think of a better solution
Regards
Swati
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 TYPE REF TO 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
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.