Hello Experts
I've the following requirement: Within a context node A (cardinality 0:n) contains information about let say person groups. Each person group consists of 0:n persons realized as child node B within A.
When I supply the context I do the following. I bind a structure to node A and when use the same node instance to bind a table with persons to node B:
[loop group 1 ..3]
lo_nd_A->bind_structure( new_item = ls_A
set_initial_elements = abap_false ).
lo_nd_B = lo_nd_A->get_child_node( name = `PERSON` ).
lo_nd_B->bind_table( new_items = lt_person
set_initial_elements = abap_false ).
[endloop]
I'd expect that afterwards each element in A has several B elements. But unfortunately only the last element in A has elements in B.
What do I do wrong?
Regards,
Mathias