SAP CL ABAP CORR LOOKUP ABEXA



Get Example source ABAP code based on a different SAP table
  



CL_ABAP_CORRESPONDING with Lookup Table
This example demonstrates the system class CL_ABAP_CORRESPONDING with a lookup table

ABAP_SOURCE_CODE
DEMO CL_DEMO_CRRSPNDNG_CLASS_LKUP

ABAP_DESCRIPTION
This example shows how the first two uses of the component operator CORRESPONDING in the executable example Component Operator, Lookup Table can be transformed to method calls for the class CL_ABAP_CORRESPONDING. The results are the same in both cases. There is no equivalent for the third option of using the component operator, since the method EXECUTE_USING uses a CHANGING parameter and the source table therefore always matches the target table.