Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8704

Re: how to get static attributes from dynamic node in wda

$
0
0

hi:Harsha

    Thank you for yourreply!

 

  MY CODE IN the method of on_click:Because node is dynamicl,

     ES_RESULT  which I do not knowhowto define?

 

 

 

 

  DATA: LR_NODE TYPE REF TO IF_WD_CONTEXT_NODE.
  DATA LO_EL TYPE REF TO IF_WD_CONTEXT_ELEMENT.
  LR_NODE = wd_context->get_child_node( name = 'NEW_NODE').
  CHECK LR_NODE IS NOT INITIAL.
  LO_EL = LO_NODE->GET_ELEMENT( ).
  IF LO_EL IS BOUND.
    LO_EL->GET_STATIC_ATTRIBUTES(
    EXPORTING
      index = R_PARAM->index
    IMPORTING
      STATIC_ATTRIBUTES = ES_RESULT ).
  ENDIF.


Viewing all articles
Browse latest Browse all 8704

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>