Skip to Content
0
Former Member
Oct 02, 2009 at 10:49 AM

During loading, there was a key violation

55 Views

Hi Guruu2019s,

Please help.

I get this below error when data loading from one DSO to another DSO by executing the DTP between them.

Diagnosis

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

System Response

Procedure

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

dtp-error-duplicate-data-record-detected

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.

Thanks

Deepika