Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Processing Internal Data →  Meshes →  Meshes - Mesh Paths →  Meshes - Mesh Path Result 

Meshes - Result of a Path Extension

A path extension with the syntax

..._assoc1[ [ cond] ] _assoc2[ [cond] ] ...

describes a set of rows in the last path node.

Other versions: 7.31 | 7.40 | 7.54

Result when used in a loop

Each mesh association specified in a mesh path with path extension describes a set of rows in its follow-on node. This set is used as a starting point for their follow-on nodes of the rows and meets the following conditions:

  • All rows meet the ON condition of the mesh association used with respect to the set of rows described in the preceding mesh association. Every tcomp column specified in the ON condition has the same content as in the scomp column (of the root node a row of its result) assigned to the ON condition.
  • Depending on the mesh path usage, the set of rows can be further restricted by using additional cond conditions.

In the set of rows described by a path extension, each row occurs only once, even if it was found more than once in the evaluation of the mesh path.

Result when used in a table expression

Each mesh association specifiedin a mesh path with path extension selects a single row in its follow-on node (or fails by raising an exception). This row is used as the starting point for the follow-on node in accordance with the conditions described above.


Note

The set of rows described by the result can be either one single row or multiple rows.

Executable Example

Results of Mesh Paths