I get this below error when data loading from one DSO to another DSO by executing the DTP between them.
During loading, there was a key violation. You tried to save more than
one data record with the same semantic key.
The problematic (newly loaded) data record has the following properties:
o DataStore object: ZD_RCRT
o Request: 4487
o Data package: 000001
o Data record number: 2032
Procedure for System Administration
In the transformation between two DSOu2019s I written ABAP Logic in end routine to derive Order Status by customer (Setting status u2013 RC (customeru2019s first order) and RT(other than customeru2019s first order))
My problem is similar to following
Solution : made counter in loop and filled a field result_package-record with that counter.
It solved problem.
even solution was given here but I did not understand to do this .
Please help how to make counter in loop and fill a field result_package-record with that counter.