Last updated on APRIL 21, 2017
Applies to:Oracle Financial Services Profitability Management - Version 8.0.2 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)
In Oracle Financial Services Profitability Management (PFT) 8.0.2, when you run a Static Table Driver, Ledger Stat to Ledger Stat Allocation, the PFT Engine constructs an invalid SQL Statement and fails with the following error in the ofspa log from $FIC_DB_HOME/log/FusionApps:
Error(Oracle Financial Services Application error) (203105) Oracle drv_oci error:
OCI Function:  - oexec(), oexn()
SQL Function:  - SQL function not found!
Oracle Error: ORA-00923: FROM keyword not found where expected
Driver Function: drv_oci::Execute()
Looking at the ofspa log, it appears that the PFT engine is constructing an invalid SQL statement for the MERGE:
Module Logging OFS Access module data: MERGE INTO LEDGER_STAT TARGET USING (SELECT *
SELECT 24.000000 identity_code, 2016 year_s , 'D' accum_type_cd ,
100 consolidation_cd , 101 balance_type_cd, 'USD' ISO_CURRENCY_CD
, 20038.000000 FINANCIAL_ELEM_ID, GL_ACCOUNT_ID, COMMON_COA_ID,
PRODUCT_ID, SUM( src_amount* IVW_SOURCE2.AMOUNT ) * 1
BALANCE_AMOUNT , IVW_SOURCE2.LEAF_1 IVW_SOURCE2.LEAF_2
IVW_SOURCE2.LEAF_3 IVW_SOURCE2.LEAF_4 IVW_SOURCE2.LEAF_5
IVW_SOURCE2.LEAF_6 IVW_SOURCE2.LEAF_7 IVW_SOURCE2.LEAF_8
There is no comma between IVW_SOURCE2.LEAF_1 and IVW_SOURCE2.LEAF_2 in the SELECT clause.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms