Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Former Member
Former Member replied


I suspect this is something to do with Supply function.

I would suggest to copy the code and place it in a method and test it.

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question