Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Processing Internal Data →  Meshes →  Meshes - Using Mesh Paths 

Mesh Path Expressions

Other versions: 7.31 | 7.40 | 7.54

Syntax


... mesh_path ... 

Effect

Specifies a mesh path mesh_path as a standalone mesh path expression at an operand position. The result of a mesh path expression is a row from the last path node of the mesh path. This row is described by the result of the mesh path and has the corresponding row type.

An additional condition can be specified in the square brackets [ ... ] of each association, by using col1 = ...  col2 = .... If the last path node contains multiple rows that fit the description, the first row found is read.

A mesh path expression is a special type of table expression and can be used in the same way as a table expression:

  • Possible operands include all the reader positions and writer positions listed for table expressions.
  • Use VALUE and REF to control how the result is passed (like with normal table expressions).
  • Using a chaining with structure component selector (-), you can access a component of the row that was read.

If the follow-on node does not contain any rows that fulfill the condition in square brackets [ ... ], the response is the same as with normal table expressions. In other words, exception CX_SY_ITAB_LINE_NOT_FOUND is raised, unless used in statement ASSIGN, in predicate function line_exists or in table function line_index.


Note

Since the rows of a mesh node cannot have tabular components, a mesh path expression cannot have any chainings to other table expressions.


Example

See Mesh Path Expressions.

Continue

Mesh Path Expressions - Example