Skip to Content

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

Recursion node and mapping problem

Hi all,

I try to map a node which contains a “Recursion Node” from a controller to the interface:

The controller: ModelComponent

Context
      - TreeNode (a value node)
            - RecNode (a recursion node)
            - Attribute1 (a value attribute)

The interface: ModelComponent Interface

Context
ModelComponent Context
      - TreeNode (a value node)
            - RecNode (a recursion node)
            - Attribute1 (a value attribute)

TreeNode of interface is mapped to TreeNode of controller and Attribute1 of interface is mapped to Attribute1 of controller.

I can’t map RecNode but it seems to be normal.

When I execute the application I get this error:

com.sap.tc.webdynpro.progmodel.context.ContextException:

RecursiveNodeInfo(ModelComponentInterface.TreeNode.RecNode): you cannot add a recursive child to a mapped node mapped to a data node without recursion

at com.sap.tc.webdynpro.progmodel.context.RecursiveNodeInfo.initAfterCompletedMapping(RecursiveNodeInfo.java:197)

at com.sap.tc.webdynpro.progmodel.context.RecursiveNodeInfo.init(RecursiveNodeInfo.java:182)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)

at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)

... 48 more

Thanks,

Sébastien.

Former Member

Helpful Answer

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