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

Re: OVS help to set attribute for different node

$
0
0

Hi Naren,

 

As the error message saying that the attribute TERM_END is not available in the context element ovs_callback_object->context_element

 

 

Make sure that the attribute TERM_END is available in the same node to which OVS is called. I think you are trying to set the value to other node's attribute.

 

Otherwise, if you want to set the value lv_term_end to an attribute of other node, proceed as below

 

data lo_node type ref to if_wd_context_node.

data lo_element type ref to if_wd_context_element.

 

lo_node_type = wd_context->get_child_node( name = "OTHER_NODE" ).

 

lo_element = lo_node->get_element( ).

 

lo_element->set_attribute(

          exporting

               name = 'TERM_END'

               value = lv_term_end ).

 

 

Hope this helps you.

 

Regards,

Rama

            


Viewing all articles
Browse latest Browse all 9236

Trending Articles



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