on 07-08-2013 11:08 AM
Dear All,
In my ALV i am displaying data, in that first colum as LINK TO ACTION. How to get complete row data in onclick event. By using ASSIGN r_param->value->* i am getting link to action colum value only. How to get complete row data? Please any help.
Thanks,
Venkat.
Hi,
You can get the index using r_param->index. then read the internal table with the index, which gives the row data.
Try the below code snippet
DATA: lr_element TYPE REF TO if_wd_context_element,
lr_node type ref to if_wd_context_node,
ls_sflight TYPE wd_this->element_sflight. " node name
lr_node = wd_context->get_child_node( name = wd_this->wdctx_sflight ).
" get context element reference
lr_element = lr_node->get_element( index = r_param->index ).
CALL METHOD lr_element->get_static_attributes
IMPORTING
static_attributes = ls_sflight.
Now ls_sflight contains the row data.
Hope this helps u.,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.