on 02-13-2008 10:52 AM
Hi All
I created UI asTable display format using three columns( name, email and resume ).
In this Resume column type is Link to Action. This entire column contains text as Resume - this element type is Link to action.
When click on Resume that respective row values I have to capture.
I have used following code, but It is capturing based on lead selection. ( On the UI, lead selection row is different and clicking on Resume row is different ).
DATA lo_nd_email TYPE REF TO if_wd_context_node.
DATA lo_el_email TYPE REF TO if_wd_context_element.
DATA ls_email TYPE wd_this->element_email.
DATA lv_email_ref LIKE ls_email-email_ref.
navigate from <CONTEXT> to <EMAIL> via lead selection
lo_nd_email = wd_context->get_child_node( name = wd_this->wdctx_email ).
get element via lead selection
lo_el_email = lo_nd_email->get_element( ).
lo_el_dashboard_1->get_attribute(
EXPORTING
name = `NAEM`
IMPORTING
value = lv_name ).
Please help me on this ..thanks in advance....
Hi,
Just declare a variable in the parameters of the method,which u declare for the cell action.
CONTEXT_ELEMENT type ref to CONTEXT_ELEMENT as importing paramter
code:
context_element->get_static_attributes(
IMPORTING
static_attributes = stru_sflight ).
this will surely solve ur problem
regards,
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi rama krishna ,
on the click of your link to action you have to find out the index of the row in the table fromm which the click happends and based on the index you have to read value from itab.
just by reading the node will only return you the value of lead selected record
Regards
Sarath
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 | |
24 | |
11 | |
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.