Ansicht
Dokumentation

ABENMESH_FOR_REFLEX_SNGL_ABEXA - MESH FOR REFLEX SNGL ABEXA

ABENMESH_FOR_REFLEX_SNGL_ABEXA - MESH FOR REFLEX SNGL ABEXA

TXBHW - Original Tax Base Amount in Local Currency   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

- Reflexive Associations in Mesh Paths

This example demonstrates the results of reflexive mesh associations in mesh paths.

Source Code

Execute

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.





ABAP Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 1685 Date: 20240425 Time: 134525     sap01-206 ( 27 ms )