Ansicht
Dokumentation

ABENMESH_FOR - MESH FOR

ABENMESH_FOR - MESH FOR

PERFORM Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

FOR ... IN mesh_path

... FOR wa$|<fs> IN mesh_path $[let_exp$] ...

Effect

Evaluates all lines described by a mesh_path using a FOR expression of a constructor expression. The syntax and meaning are the same as for FOR expressions for lines of internal tables, however a mesh path is specified after FOR ... IN, instead of a directly specified internal table. Groupings and FOR expressions for groups, the addition INDEX INTO, and conditions outside of the mesh path cannot be specified here. A FOR expression with a mesh path can be used like a FOR expression with an internal table for table comprehensions and table reductions.

When specifying the mesh paths, the same applies as to mesh paths in the statement LOOP AT. The FOR expression works in the same way as the corresponding LOOP loop on the last path node of the mesh path. In particular, additional conditions can be specified in the square brackets [ ... ] of a mesh association of the mesh path using the additions USING KEY and WHERE log_exp.

Note

In the constructor expression NEW, VALUE, or REDUCE, FOR expressions with mesh paths and FOR expressions with directly specified internal tables can occur together.

FOR Expressions for Mesh Paths






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2371 Date: 20240425 Time: 062454     sap01-206 ( 48 ms )