My Oracle Support Banner

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

Last updated on NOVEMBER 15, 2018

Applies to:

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


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



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:



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

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