ABAP - Keyword Documentation →  ABAP - Reference →  Processing Internal Data → 

Meshes

Meshes are instances of the following defined mesh types:

TYPES BEGIN OF MESH
  ...
  TYPES snode ... ASSOCIATION _assoc
                  TO tnode ON tcomp1 = scomp1 [AND ...].
  ...
TYPES END OF MESH

These are special structures. Their components (referred to as nodes) are either structured internal tables or reference variables that point to structured internal tables.

The addition ASSOCIATION makes it possible to define associations (using ON conditions) between start nodes and target nodes of the mesh. These semantic relationships between the mesh nodes can be evaluated in mesh paths. The mesh paths can be used in expressions and processing statements for meshes.

Notes

Example

The program DEMO_MESH_PACK demonstrates an application based on meshes, which analyses the repository objects in packages. All the possible uses of meshes are demonstrated and can be precisely analyzed in the debugger.



Continue
Meshes - Mesh Paths
Meshes - Using Mesh Paths