Fn_stgdimdataloader Fails with ORA-00936 When Scale is Null in REV_DIM_ATTRIBUTES_B (Doc ID 1963612.1)

Last updated on JANUARY 27, 2015

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 7.3 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)

Symptoms

In Oracle Financial Services Analytical Applications (OFSAA), when executing the Master Table Dimension Loader program, fn_stgdimdataloader, it fails and the following errors are output to FSI_MESSAGE_LOG:

Error. ORA-00936: missing expression
"Oracle Error.  select count(*) from
( select STG_DIMENSION_LOADER.checkNumericPs(v_common_coa_code,) valid_cnt
from stg_gl_master where  1=1 ) where valid_cnt =1 "

and

Error. ORA-00936: missing expression
"Oracle Error.  select count(*) from
( select STG_DIMENSION_LOADER.checkNumericPs(n_custom_num,) valid_cnt
from stg_gl_master where  1=1 ) where valid_cnt =1 "

In REV_DIM_ATTRIBUTES_B, the SCALE column is NULL for these attributes.  If you update the SCALE column from null to 0, the error is fixed.  However, you do not understand why the SCALE column is null if it is required by the loader.

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