Skip to Content

Modify the config parameter of static context attribute

Hi experts,

is it possible to modify/update the config parameters of static context attribute.

I searched the web and looked at the methods of the context_node interface etc. but found no solution.

I can read the values in this way:



        lo_nd_info      TYPE REF TO if_wd_context_node_info,

        lo_nd_project TYPE REF TO if_wd_context_node.


       <ls_attribute> TYPE wdr_context_attribute_info.


  lo_nd_info = lo_nd_project->get_node_info( ).

  lt_attributes = lo_nd_info->get_attributes( ).

  read table lt_attributes assigning <ls_attribute>

       with key name = 'PROJECT_NO'.


But I found no way to set it. Is it not possible to modify it on runtime?

Thanks in advance


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 12, 2014 at 10:51 AM


    There is no provision to set the attribute/ to set read only of the attribute. However you can set the nullable property of attribute.

    so, use remove attribute method to delete the attribute and add it back using add attribute method and pass the is_read_only value ( or enhance the class CL_WDR_CONTEXT_NODE_INFO and add method set_read_only and write your logic as like in set_nullable method ).

    Hope this helps u,



    Add comment
    10|10000 characters needed characters exceeded