on 10-05-2009 6:40 AM
Hi Everyone,
I want the same functionality as 'drop down by key' (which is used in drop downs) available in ItemListBoxes.
Eg: I have a list box of country names and when the user selects one or more countries i should be able to get the country codes.
Thanks and Regards,
Sindhu JR.
Unlike the RadioButton and CheckBox, there are not two separate (ByKey and ByIndex) UI elments for the ItemListBox. Therefore you always have to use the get_selected* approach as though it was a ByIndex UI element.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
did u try to follow this ? read the context attribute for Country name using 'get attribute'
* get single attribute
lo_el_cn_role->get_attribute(
EXPORTING
name = `COUNTRY_DESC`
IMPORTING
value = lv_desc ).
u can do it by control wizard or pressing CTRL + F7 and thn click on the radio button Read Context Node/Attribute
thn u can use the select query to
fetch the country code where county name is lv_desc.
rgds,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.