Launch Ep Load Fails In Production ORA-20002 ORA-20003 ORA-06512 Executing ACTIVE_PROC_DYN(EP_LOAD_ITEMS) (Doc ID 779209.1)

Last updated on AUGUST 18, 2016

Applies to:

Oracle Demantra Demand Management - Version 7.1.1 and later
Information in this document applies to any platform.
***Checked for relevance on 28-May-2014***


Symptoms

On 7.1.1 in Production:
When attempting to run the Launch EP Load program which is part of the Shipping and Booking
History Collection it completes with error and the following error occurs in collaborator logs.

java.sql.SQLException: ORA-20002: ORA-20003:
Error in PACKAGE BODY DATA_LOAD line 2033
executing ACTIVE_PROC_DYN('EP_LOAD_ITEMS')
ORA-06512: at "MSDEM.DATA_LOAD", line 2043
ORA-06512: at line 1
ORA-06512: at "MSDEM.DL_RUN_PROC", line 23
ORA-06512: at line 1


The concurrent request logs show the following:


ORA-20002: ORA-20003:
Error in PACKAGE BODY DATA_LOAD line 2033
executing ACTIVE_PROC_DYN('EP_LOAD_ITEMS')

However if they run the Shipping and Booking History Collections for one week excluding
yesterday(Jan 07, 2009), it runs fine. But if they run it for one week, including yesterday, they get
the said error.

When trying to run the ep_load from the command line they get the following:

exec EP_LOAD_ITEMS;

BEGIN EP_LOAD_ITEMS; END;

*

ERROR at line 1:

ORA-00001: unique constraint (MSDEM.ITEMS_PK) violated

ORA-06512: at "MSDEM.EP_LOAD_ITEMS", line 231

ORA-06512: at line 1


STEPS
The issue can be reproduced at will with the following steps:
1.Login to the DM
2. Navigate >Collections > Oracle Systems > Shipping & Booking History > Launch EP
Load set to
YES.

WORKFLOW MANAGER > DL_RUN_PROC (EP_LOAD_ITEMS)

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