Ansicht
Dokumentation
ABENCORRESPONDING_MAPPING_ABEXA - CORRESPONDING MAPPING ABEXA
BAL Application Log Documentation BAL_S_LOG - Application Log: Log header dataThis documentation is copyright by SAP AG.
Component Operator, Mapping Rule
This example demonstrates the component operator with explicit mapping rules.
Source Code
Description
The example assigns the basic form of the result of a constructor expression with the component operator CORRESPONDING with the parameter struct1 to a compatible structure struct2. Various mapping rules are demonstrated.
- If no mapping rule is used, the identically named components a1 and a2 are assigned and the other components remain initial.
- The mapping rule MAPPING b4 = a3 also assigns the component a3 to the component b4.
- The mapping rule MAPPING b4 = a1 assigns the component a1 twice, to b4 and to the identically named component a1.
- The mapping rule EXCEPT a1 assigns only the component a2 to the identically named component, since the component a1 is excluded.
- In addition to the identically named assignment, the mapping rule MAPPING b4 = a3 EXCEPT a1 assigns the component a3 to the component b4 and a1 is excluded from the identically named assignment.
- The mapping rule EXCEPT * does not assign any components and all components of the result remain initial.
TXBHW - Original Tax Base Amount in Local Currency Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 1849 Date: 20240426 Time: 135704 sap01-206 ( 31 ms )