My Oracle Support Banner

Error: "ORA-00947: not enough values ORA-06512: at "STARUSER.DYNAMIC_UDFS"" Or "ORA-00947: not enough values ORA-06512: at "STARUSER.DYNAMIC_CODES"" While Running A P6 EPPM ETL (ODI) (Doc ID 2420671.1)

Last updated on JULY 09, 2018

Applies to:

Primavera Analytics Cloud Service - Version and later
Primavera Analytics - Version and later
Primavera Data Warehouse - Version and later
Information in this document applies to any platform.


When attempting to execute a P6 EPPM ETL, the following error occurs:

[ERROR] Load project UDF, duration = 64 seconds
[ERROR] 0 \-\ Load Project Udf
[DONE] 1 /-/ Procedure - Load Project Udf - Load Project Udf Dim
[ERROR] 2 /-/ Procedure - Load Project Udf - Load Project Udf Fact
 ODI-1228: Task Procedure-Load Project Udf-Load Project Udf Fact fails on the target connection PRIMAVERA_ANALYTICS_TGT_DS. Caused By: java.sql.SQLSyntaxErrorException: ORA-00947: not enough values ORA-06512: at "STARUSER.DYNAMIC_UDFS", line 155 ORA-06512: at "STARUSER.DYNAMIC_UDFS", line 176 ORA-06512: at "STARUSER.DYNAMIC_UDFS", line 294 ORA-06512: at line 2 ...


This issue can also occur with P6 EPPM Code Mappings generating error "ORA-00947: not enough values" with STARUSER.DYNAMIC_CODES.

The issue can be reproduced at will with the following steps:
1. Login to the Analytics Administration Application
2. Click the associated datasource for P6 EPPM
3. Run an ETL
4. Note the failure which occurs




To view full details, 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 a vibrant support community of peers and Oracle experts.