on 06-23-2010 10:26 AM
Hello,
I need to get the internal table of a context node. I try to use the methode get_elements(), but the result type is not if_wd_context_element. What should it be? Could you give me any suggestion? Many thanks!
regards
meer
Hi , For getting the context element in to an Internal table you have to use
get_static_attributes_table method ,
Look into the Piece of code below
DATA lo_nd_series TYPE REF TO if_wd_context_node.
DATA lt_series TYPE wd_this->Elements_series.
* navigate from <CONTEXT> to <SERIES> via lead selection
lo_nd_series = wd_context->get_child_node( name = wd_this->wdctx_series ).
lo_nd_series->get_static_attributes_table( importing table = lt_series ).
Search SDN before posting the New thread
Regards
Chinnaiya P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.