SAP Knowledge Base Article - Preview

2611271 - SAP PI Messages with Duplicate Key error

Symptom

You have messages failing with:

com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id <msgid>(<direction>) already exists in duplicate check table: com.sap.sql.DuplicateKeyException: Violation of PRIMARY KEY constraint '<constraint>'. Cannot insert duplicate key in object '<object>'.

or

Message ID <msgid> already exists in database: com.sap.sql.exception.OpenSQLIntegrityConstraintViolationException: Violation of PRIMARY KEY constraint '<constraint>'. Cannot insert duplicate key in object '<object>'. The duplicate key value is (<>,<>;<>;<>). OpenSQLExceptionCategories: [NON_TRANSIENT, INTEGRITY_CONSTRAINT_VIOLATION]


Read more...

Environment

  • SAP NetWeaver
  • SAP Process Integration

Product

SAP NetWeaver all versions ; SAP Process Integration all versions

Keywords

Process Integration, PI, Process Orchestration, PO, NetWeaver, XI, AEX, Duplicate, Constraint, ORA, , KBA , BC-XI-CON-MSG , Messaging System , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.