Upgrade From 12.0.6 To 12.1 MSRFWOR Refresh Collection Snapshot Erring Out ORA-20001: Error while executing and ORA-00933: SQL command not properly ended (Doc ID 820571.1)

Last updated on JUNE 28, 2017

Applies to:

Oracle Advanced Supply Chain Planning - Version 12.0 and later
Information in this document applies to any platform.
EXECUTABLE:MSRFWOR - Refresh Collection Snapshots
EXECUTABLE:MSCDROPS - Drop Changed Snapshots
Checked for relevance on 04-AUG-2016

Symptoms

Using Advanced Supply Chain Planning / Standard Data Collection.  When attempting to drop and recreate a snapshot by running the MSC:Source Setup Required=Yes and running a Refresh Collection Snapshots with a Fast refresh an error like the following occurs

MSCDROPS: Error in Dropping Snapshots Process : ORA-20001: Error while executing:
-DROP MATERIALIZED VIEW CSP.CSP_REPAIR_PO_HEADERS_SN(1): ORA-00933: SQL command not properly ended


Steps:
1. (R) Advanced Supply Chain Planner
2. Run concurrent request Refresh Collection Snapshots on ALL SNAPSHOTS, Fast
3. Observe the error in the Drop Changed Snapshots log

Changes

Upgrade From 12.0.6 To 12.1

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