on 06-30-2009 10:06 AM
Hi Experts,
I have a Tree in a Table( With roselectable property initial) and on clicking its child(link to action), I need to capture the child calue clicked.
In the debugger, I found value in the WDEVENT local attribute's Parameters which conatins Name 'CONNTEXT_ELEMENT' and value as 'Refernce to class' and this refernce contains static attributes of my context node.
Can you tell me how to code for reading this static attributes using WDEVENT in my method.
Thanks
Depesh
Hi,
DATA:
lt_events type WDR_EVENT_PARAMETER_LIST,
ls_events type WDR_EVENT_PARAMETER.
***Field symbols
field-symbols: <fs_value> type any. "Attribute value in events table
***Move the event table to lt_events
lt_events = wdevent->parameters.
read table lt_events into ls_events with key name = 'TAB' . "'Name of event -Check this value in debugging and give it here.
if sy-subrc eq 0.
assign ls_events-value->* to <fs_value>.
if sy-subrc eq 0.
lv_select_tab = <fs_value>. "selected tab name
endif. "IF sy-subrc eq 0.
endif. "IF sy-subrc eq 0.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.