Skip to Content
Former Member
Mar 01, 2011 at 09:09 AM

create new child-node in supply-function


I want create a new node in a Supply-Function and fill them with data.

It is possible to create the node,


parent_info = node_info

node_name = 'NODE_3'

structure_name = l_structure_name

is_multiple = abap_true

is_mandatory = abap_false ).

but I canu2019t get access to it.

l_cntx_nd_result = node->get_child_node( 'NODE_3' ).

(l_cntx_nd_result is initial)

Node_1 has already one Child-node u2018NODE_2u2019 created at Design time.

I also canu2019t get access to this node in the Supply-Function.

l_cntx_nd_result = node->get_child_node( 'NODE_2' ).

I get Access to the new Node (NODE_3) in the NODE_1-Action, but not in the Supply-Function.

Do I make any a mistake?

Thanks for Help.