Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Web Dynpro context

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

replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question