Skip to Content
Former Member
Jan 08, 2013 at 05:43 PM

Sub node as a subtable


Hello world,

I'm trying to create a context for a table containing another table.

So I created a context as follow:

Node (Cardinality 0 .. n)

- Subnode (Cardinality 0 .. n)

Is it correct? Will I have a table subnode for every row of node?

My issue is that in the code I can't access to the subnode from the node.

I do something like this (here I want to fill nodes to then bind it to the context) :

nodes TYPE wd_this->elements_node,

node LIKE LINE OF nodes.

node-subnode = ...

And here I get the error : The data object "node" does not have a component called "subnode".

How can I fix this?

Thank you all.