on 10-13-2008 9:55 AM
Hello,
i am new to web dynpro und i have a question.
i must read a context node. The Problem is that i need all data in an internal table not only
the data with the lead selection.
Can somebody tell me how to do that ?
thanks
PS: Sorry for my english, its not that good.
Edited by: René Hölterling on Oct 13, 2008 10:56 AM
Hi,
Check this Code,
DATA lo_nd_sflight TYPE REF TO if_wd_context_node.
DATA lo_el_sflight TYPE REF TO if_wd_context_element.
DATA lt_sflight TYPE wd_this->elements_sflight.
* navigate from <CONTEXT> to <SFLIGHT> via lead selection
lo_nd_sflight = wd_context->get_child_node( name = wd_this->wdctx_sflight ).
lo_nd_sflight->get_static_attributes_table(
IMPORTING
table = lt_sflight ).
Regards,
Padmam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you. It works fine .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi rene,
Chekc this code...
data: Node_sflight typ ref to if_wd_context_node,
it_flights type if_main=>elements_flights.
node_sflight = wd_context->get_child_node( 'FLIGHTS' ).
CALL METHOD
NODE_SFLIGHT->GET_STATIC_ATTRIBUTES_TABLE
EXPORTING
FROM = 1
TO = 2147483647
IMPORTING
TABLE = it_sflight
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.