on 10-07-2008 10:36 AM
Hi...
I have a table with 3 list box. Based on selection in one list box another listbox must be populated.
i have written event for that list box... that event is working fine for first row alone.. if i select second row & get the data from the list box its reading first row only...
How to specify the index... Since there is no lead selction...
Any idea or example program...
Thanks in advance.
Kalpanashri Rajendran.
Hello,
I think you can follow this,
calling these methods from the respective classes.
GET_STATIC_ATTRIBUTES from IF_WD_CONTEXT_ELEMENT
GET_SELECTED_ELEMENTS from IF_WD_CONTEXT_NODE
You can achieve the required behaviour.
If you want to specify the index,
SET_LEAD_SELECTION_INDEX(Set Element of Lead Selection with Index) from interface:IF_WD_CONTEXT_NODE.
Before setting the index, get the data from node and put it in to internal table.
Loop at that internal table.
populate lv-tabix.(sy-tabix)
CALL METHOD lo_nd_roles_users->set_lead_selection_index
EXPORTING
index = lv_tabix.
endloop.
This is not exact code but hope will give u some idea....!
Cheers,
Bharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.