on 02-26-2008 7:00 AM
Hi All,
I have add a table control. i am extrated the data from the ztable and storing it to table. Now i want ro read all the ros one by one .
This there any method
With Regards
Hemalatha
Hi
Read the node using the syntax
CALL METHOD node->get_static_attributes_table
EXPORTING
from = 1
to = 2147483647
IMPORTING
table = itab.
You will get the whole record in an itab, or u can use the method of interface if_wd_context_node, that use index of the node-> using that method u can read the node using index.
Regards
Sarath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DATA:
lo_node TYPE REF TO if_wd_context_node,
ls_user_entities TYPE wd_this->element_user_entities,
lt_elements TYPE wdr_context_element_set,
lo_elements TYPE REF TO if_wd_context_element.
lo_node = wd_context->get_child_node( name = wd_this->wdctx_user_entities ).
*............ no lead selection set.....
IF lo_node IS INITIAL.
RETURN.
ENDIF.
*****************************************************************************
*.... * step1 : To get all selected elements from user_entities table
*****************************************************************************
lt_elements = lo_node->get_selected_elements( ).
CHECK NOT lt_elements[] IS INITIAL.
IF lt_elements IS NOT INITIAL.
LOOP AT lt_elements INTO lo_elements.
Get Contents of selected Lines............
CALL METHOD lo_elements->get_static_attributes
IMPORTING
static_attributes = ls_user_entities.
ENDLOOP.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.