Ep_load_sales Procedure Invalid In 12.2.5 Demantra Instance (Doc ID 2090720.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Demantra Demand Management - Version 12.2.5 and later
Information in this document applies to any platform.

Symptoms

Customer has upgraded the Demantra instance from 12.2.2 to 12.2.5.1. In upgraded instance, ep_load_sales procedure is in invalid state. The closing braces/bracket is missing in line 199, in the execute immediate statement. Invalid code is as below

vs_log_msg := 'ALTER SESSION ENABLE PARALLEL DML PARALLEL 8'; LOG_IT
(vs_log_table, vi_logging_level ,2 , vs_proc_source,'M', vs_log_msg , NULL ,
NULL , NULL);

EXECUTE IMMEDIATE ('ALTER SESSION ENABLE PARALLEL DML PARALLEL 8';

The above line has a missing closing bracket at the end

If the customer edits the code to add the closing bracket to the command, the procedure compiles fine
Changed from
EXECUTE IMMEDIATE ('ALTER SESSION ENABLE PARALLEL DML PARALLEL 8';
to
EXECUTE IMMEDIATE ('ALTER SESSION ENABLE PARALLEL DML PARALLEL 8');

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