ABAP_DESCRIPTION In a reflexive mesh association (self-association), the source and target nodes are the same. A reflexive mesh association implements semantic relationships between the lines of a mesh node. This example shows the result sets of reflexive mesh associations for an internal table in which a hierarchical tree structure is stored.
Simple reflexive mesh association mesh-node _node[ mesh-node[ id = id ] ]> The result set includes all lines in which, in accordance with the ON> condition, the column parent_id> is the same as the column id> of the source. In the tree hierarchy, these are the direct subnodes of the line described using source>.
Transitive mesh association with +> mesh-node _node+[ mesh-node[ id = id ] ]> The result set also includes all further lines for which, based on the first result set, the ON> condition is met. In the tree hierarchy, these are all subnodes of the line described using source >.
Transitive mesh association with *> mesh-node _node*[ mesh-node[ id = id ] ]> The result set also includes the line described by source>.