on 05-15-2008 11:03 PM
Hi,
I'm having a table UI element with 3 columns.
Table has some 5 rows for example.
In 1 column I have given OVS help.
I'm having my lead selection in Row1.
Problem is:
col1 Press Result
row1 abc* F4 Gives search help according to abc*
row2 a F4 Gives search help with abc* instead a**
I know that this is bcoz of the lead selection.
But dynamically i have to get the lrows lead selection when F4 is pressed on any rows.
Can anyone help me.....
Thanks
Hi,
In the coding for the OVS, instead of using lead selection, use the WDEVENT instance of class CL_WD_CUSTOM_EVENT. Call the method GET_CONTEXT_ELEMENT of the class CL_WD_CUSTOM_EVENT, with the node name as the input to the method. It will return you the corresponding element.
Hope this helps
Regards
Wenonah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wenonah,
I tried with ur logic but end up with dump saying "Access via 'NULL' object reference not possible"
I used the below code
data idx type i.
lo_element = wdevent->get_context_element(
name = 'CONTEXT_ELEMENT').
lo_element->get_static_attributes(
importing
static_attributes = ls_elt ).
CALL METHOD lo_element->GET_INDEX
RECEIVING
MY_INDEX = idx.
Can you help me whr i'm wrong???
Thanks
User | Count |
---|---|
95 | |
11 | |
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.