on 10-23-2009 7:27 AM
Hi,
I have a table UI which contains value . Now I want to fetch the values that are contained in table . How to do it /
Please let me know.Thanks in advance.
Rgds
Hitesh
hi ,
U can do it using get_static_attributes_table .
Read the node which is binded to the table and apply this method :
DATA lo_nd_cn_table TYPE REF TO if_wd_context_node.
DATA lo_el_cn_table TYPE REF TO if_wd_context_element.
DATA ls_cn_table TYPE wd_this->element_cn_table.
DATA it_table TYPE wd_this->elements_cn_table.
* navigate from <CONTEXT> to <CN_TABLE> via lead selection
lo_nd_cn_table = wd_context->get_child_node( name = wd_this->wdctx_cn_table ).
lo_nd_cn_table->get_static_attributes_table( IMPORTING table = lt_table).
Regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use bind_table
DATA lo_nd_cn_organisation TYPE REF TO if_wd_context_node.
* navigate from <CONTEXT> to <CN_ORGANISATION> via lead selection
lo_nd_cn_organisation = wd_context->get_child_node(
name = wd_this->wdctx_cn_organisation ).
lo_nd_cn_organisation->bind_table( it_org_type ).
Where it_org_type is ur internal table
it shud help
hi,
Use get_static_attributes_table method of if_wd_context_node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.