My Oracle Support Banner

Data Model errors with ORA-06512: at "DATA_MODEL", - Problem with procedure EP_BUILD_MODEL!! (Doc ID 556942.1)

Last updated on JUNE 28, 2017

Applies to:

Oracle Demantra Demand Management - Version 7.2 and later
Information in this document applies to any platform.
Add ***Checked for relevance on 29-MAR-2013***


On 7.2.0 in Production:
When attempting to build model,
the following error occurs.

Error - ORA-20001:ORA-20001:ORA-20002:ORA-24344: success with compilation error
ORA-06512: at "Demantra.DATA_MODEL", line 13
ORA-06512: at "Demantra.DATA_MODEL", line 4235
ORA-06512: at "Demantra.DATA_MODEL", line 4746
ORA-06512: at "Demantra.DATA_MODEL", - Problem with procedure EP_BUILD_MODEL!!

The issue can be reproduced at will with the following steps:

1. Add a new column to t_src_item_tmpl by going to

Business Modeler--> Tools--> Database--> Alter Table.

2. Add new column to the t_src_item_tmpl.

3. Add the corresponding column in the t_src_item_tmpl_err table.

The issue has the following business impact:
Due to this issue, the user could not proceed with building the model.


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.