Refresh APCC Materialized Views Fails During Data Plan Collection With ORA-00001, ORA-20001 and ORA-01452 (Doc ID 1595760.1)

Last updated on APRIL 06, 2017

Applies to:

Oracle Advanced Planning Command Center - Version 12.1.3.8 and later
Oracle Advanced Supply Chain Planning - Version 12.1.3.8 and later
Information in this document applies to any platform.

Symptoms

 During Data Collections when Refresh APCC Materialized Views is enabled and run the following error occurs:

ERROR

------------------------

msc_phub_pkg.refresh_mvs.exception: ORA-20001: Job failed: ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found

Truncating the mview log and performing a complete refresh fails due to unique constraint violation as shown below:

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms