Ansicht
Dokumentation
ABENCORRESPONDING_VS_FOR_ABEXA - CORRESPONDING VS FOR ABEXA
TXBHW - Original Tax Base Amount in Local Currency BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Component Operator, Comparison with FOR Expression
This example compares the component operator with table comprehensions,
Source Code
Description
The columns of an internal table can be assigned to columns with different names in a different table in three different ways:
- Constructor expression with component operator CORRESPONDING and mapping rule
- Explicit assignment of the individual components behind a FOR expression of a table comprehension.
- FOR expression with evaluation of a constructor expression with component operator for each line.
Each method provides the same results. The component operator is quicker than the table comprehension when there are more than approximately 10 iterations. Using the component operator for each line is always the slowest solution.
CL_GUI_FRONTEND_SERVICES - Frontend Services CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 1256 Date: 20240425 Time: 054107 sap01-206 ( 34 ms )