SAP CORRESPONDING DUPLICATES ABEXA



Get Example source ABAP code based on a different SAP table
  



Component Operator, Handling Duplicates
This example demonstrates the component operator with the addition DISCARDING DUPLICATES.

ABAP_SOURCE_CODE
DEMO CL_DEMO_CRRSPNDNG_DUPLICATES

ABAP_DESCRIPTION
The addition DISCARDING DUPLICATES is used twice to ignore duplicate lines:
DISCARDING DUPLICATES after itab1 prevents an exception when inserting the third line of itab1 in itab2.
In the mapping rule, DISCARDING DUPLICATES prevents the exception when the second line of the tabular component x2 is inserted when inserting the second line of itab1 in itab2.