My Oracle Support Banner

RESA SAIMPTLOGI Fails With ORA-00001: Unique Constraint (RMS01.PK_SA_TRAN_DISC) Violated (Doc ID 2801026.1)

Last updated on JUNE 22, 2023

Applies to:

Oracle Retail Merchandising Foundation Cloud Service - Version 19.2 and later
Information in this document applies to any platform.

Symptoms

RESA SAIMPTLOGI fails with ORA-00001: unique constraint (RMS01.PK_SA_TRAN_DISC) violated.

While loading RTLOG files from production there are a lot of errors where the row mentioned is not representing the row in the file and no additional details are given.

ERROR
-----------------------
saimptlogi_22~20210804092057~flushTranInsertArrays~sa_tran_disc~-1~ORA-00001: unique constraint (RMS01.PK_SA_TRAN_DISC) violated~Cannot INSERT - row=37


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Stage RTLOG into SFTP and initiate the transfer.
2. The cycle job is executed (saimptlogi is a part of it).
3. Observe the errors in the JOB_AUDIT_LOGS.

Failed while processing this file: RTLOG_127_20210803104759.dat.32
saimptlogi_22~20210804092057~flushTranInsertArrays~sa_tran_disc~-1~ORA-00001: unique constraint (RMS01.PK_SA_TRAN_DISC) violated~Cannot INSERT - row=37

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.