‎2009 Sep 01 2:41 PM
Hi
I am trying to create a tree and save this in a structure
I have a structure called st_node and a table called tt_node
I want the following fields in st_node:
ID of type int4.
children_nodes of type tt_node.
adding children_nodes as a type of children_nodes does not allow the structure to activate.
any help pleasE?
‎2009 Sep 01 4:07 PM
recursive typing with data types is not allowed (recursive is only allowed with object types, i.e. type ref to a class or an interface, i.e. abap oo)
instead of converting your program to abap oo, you may also just change a little bit your structure to simulate recursion (for example, add "parent node" field, etc.)
‎2009 Sep 01 4:07 PM
recursive typing with data types is not allowed (recursive is only allowed with object types, i.e. type ref to a class or an interface, i.e. abap oo)
instead of converting your program to abap oo, you may also just change a little bit your structure to simulate recursion (for example, add "parent node" field, etc.)