cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA XSA Flowgraph: could not insert into table due to a unique constraint violation

0 Kudos
978

We are currently having error as : "could not insert into table due to a unique constraint violation". We have defined the primary keys for the target table but still continue to have the error.

Data from datasource: 2LIS_02_ITM

Primary key at target table: EBELN & EBELP

Writer type: UPSERT

I have attached the snapshots below. Kindly inform if I am missing something.

View Entire Topic
SergioG_TX
Active Contributor
0 Kudos

have you verify that your data does not have duplicates based on your keys ?

0 Kudos

Yes there are duplicates based on the key but I suppose, shouldn't UPSERT be able to handle them?

yamit
Explorer
0 Kudos

Hello Raul,

Did you have an anwer to this problem? i have the same..

Regards.

0 Kudos

pr0x1 You may try using replication task for this purpose instead. It works ok.