Ansicht
Dokumentation

ABENMESH_SET_ASSOCIATION - MESH SET ASSOCIATION

ABENMESH_SET_ASSOCIATION - MESH SET ASSOCIATION

Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

SET ASSOCIATION mesh_path

Short Reference



SET ASSOCIATION mesh_path ${ = wa    $}
                        $| ${ LIKE wa $}
                        $| ${ INITIAL $}.


Additions

1. ... = wa

2. ... LIKE wa

3. ... INITIAL

Effect

Sets mesh associations for a mesh_path. The statement takes columns in the second last path node of the mesh path that are specified as scomp in the ON condition of the mesh association starting with this node and sets these columns to values that are determined by the additions on the right side. The content of the last path node is ignored.

  • If the mesh path only contains one initial mesh association, the second last node is the root node of the path whose content is neither read nor changed. Instead, the columns of the structure specified by the ON condition are set. The structure is specified as the source in the square brackets of the mesh association. The square brackets must not contain any additional conditions.
  • If the mesh path contains path extensions, it is evaluated down to the second last node. The columns specified using the ON condition are changed in the lines of the second last path node, which are described in the result. All mesh associations but the last one of the mesh path can contain additional conditions, which can be specified using USING KEY and WHERE log_exp. The square brackets [ ] for the mesh association of the last path extension must be empty.

The last mesh association of the mesh path is used only to determine the modifying components using their ON condition, therefore the last association cannot contain any additional conditions.

Notes

  • Using the statement SET ASSOCIATION, mesh association-relevant components can be set in structures and mesh nodes, without needing to know the component names. These structures can be used, for example, to build mesh nodes.
  • Using the statement SET ASSOCIATION, change operations can be performed that provide additional options to those offered by the statements INSERT and MODIFY.
  • A mesh path that only contains an initial mesh association can also be used to modify mesh nodes by using a field symbol or data reference in source to reference a line in a mesh node.

Addition 1

... = wa

Effect

Assigns columns of a work area wa. The work area wa must be a structure with the same line type as the last path node.

The content of the components of wa that are listed in the ON condition of the last mesh association of the mesh path as tcomp is assigned to the assigned components scomp of the structure source or to the assigned columns of the lines found in the second last path node.

Note

In terms of semantics, key values in an instance of an entry node of a mesh association are set as they are in an instance of a follow-on node.

Addition 2

... LIKE wa

Effect

Assigns columns of a work area wa. The work area wa must be a structure with the same line type as the second last path node.

The content of the components of wa is specified in the ON condition of the last mesh association of the mesh path as scomp. This content is assigned to the identically named components in the structure source or to the identically named columns of the lines found in the second last path node.

Note

In terms of semantics, key values in an instance of an entry node of a mesh association are set as they are in a different instance of the same node.

Addition 3

... INITIAL

Effect

Assigns initial values

All components of source or all columns of the lines found in the second last path node that are specified in the ON condition of the last mesh association of the mesh path as scomp are assigned their type-dependent initial value.

Note

In terms of semantics, key values in an instance of an entry node of a mesh association are initialized.






BAL_S_LOG - Application Log: Log header data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 6614 Date: 20240425 Time: 035504     sap01-206 ( 109 ms )