SAP CL ABAP CORR DEEP ABEXA



Get Example source ABAP code based on a different SAP table
  



CL_ABAP_CORRESPONDING for Tabular Components
This example demonstrates the system class CL_ABAP_CORRESPONDING for tabular components of structures.

ABAP_SOURCE_CODE
DEMO CL_DEMO_CRRSPNDNG_CLASS_STRTB

ABAP_DESCRIPTION
The example compares the options for component-by-component assignments of structures with tabular components.
The statement MOVE-CORRESPONDING can be executed with and without the addition EXPANDING NESTED TABLES. Depending on this, the tabular component is assigned as a whole or by component using identical names.
The operator CORRESPONDING can be executed with and without the addition DEEP. Depending on this, the tabular component is assigned as a whole or by component using identical names.
The class CL_ABAP_CORRESPONDING always resolves tabular components.