Skip to Content
0
Aug 18, 2013 at 06:20 PM

How to bind table to a subnode

436 Views

Hi

In my context i have Node called PARENT_NODE which contains a sub node called CHILD_NODE.

Is there a way to bind a table to the CHILD_NODE ? the sub node is in cardinality 0...n

i wrote:

data: context_node type ref to if_wd_context_node.

data: lt_table type table of childe_node.

context_node = wd_context-> get_child_node( name = 'PARENT_NODE.CHILDE_NODE').

context_node->bind_table( lt_table ).

when i test my webdynpro i get the error

"SUBNODE.PARENT.CHILD_NODE DOES NOT EXIST".

Is there a way to correct that ???

Thanks Ami