cancel
Showing results for 
Search instead for 
Did you mean: 

How to Get static attributes dynamically

Former Member
0 Kudos

Hi,

I have to get static attributes from the context dynamically is it possible?


  DATA node     TYPE REF TO if_wd_context_node.
  DATA element  TYPE REF TO if_wd_context_element.

  node = wd_context->path_get_node( path = path_node ).

  element = node->get_element( ).

  element->set_static_attributes( static_attributes = ??? ).

Thank you in advance.

Miguel

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

i would suggest to use CL_ABAP_STRUCTDESCR

cl_abap_typedescr=>describe_by_data