My Oracle Support Banner

Static Driver Instrument or Ledger to Ledger Allocation Fails with ORA-00936 or ORA-00911 (Doc ID 2593765.1)

Last updated on OCTOBER 08, 2019

Applies to:

Oracle Financial Services Profitability Management - Version 6.1.1 to 6.1.1.1 [Release 6]
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA) 7.3.x
Oracle Financial Services Profitability Management (PFT) 6.1.1

Symptoms

When attempting to run an Instrument to Ledger Stat Allocation, the following error occurs:

Module Logging OFS Access module data: MERGE INTO LEDGER_STAT TARGET USING (SELECT *
FROM (SELECT SUM(src_amount * 1 * DECODE (ISO_CURRENCY_CD, 'JOD',
1/ 1.0, 1) ) BALANCE_AMOUNT, ORG_UNIT_ID, GL_ACCOUNT_ID,
COMMON_COA_ID, PRODUCT_ID...
.
.
.
from FSI_D_CASA a
.
.
.
INSERT (FINANCIAL_ELEM_ID, ORG_UNIT_ID, GL_ACCOUNT_ID,
.
.
.
VALUES ( 100.000000, SOURCE.ORG_UNIT_ID, SOURCE.GL_ACCOUNT_ID,
SOURCE.COMMON_COA_ID, SOURCE.PRODUCT_ID,
10000010.000000, 'D' , 101 , 100 , 0 , 1194291.000000 ,
SOURCE.ISO_CURRENCY_CD, 0.0, 0.0, 0.0, SOURCE.BALANCE_AMOUNT,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, , 'D' , 101 , 100 , 0 ,
1194291.000000 , SOURCE.ISO_CURRENCY_CD, , 0, 0, 0,
SOURCE.BALANCE_AMOUNT , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 )

Module Logging OFS errors: (203105)
Oracle drv_oci error:
OCI Function: [4] - oexec(),oexn()
SQL Function: [0] - SQL function not found!
Oracle Error: ORA- 00936: missing expression Driver Function:
drv_oci::Execute() SQL Statement: MERGE INTO LEDGER_STAT TARGET.........

Note that in the "VALUES", there is a duplicate set of values.

When attempting to run a Ledger Stat to Ledger Stat Allocation, the following error occurs:

Module Logging OFS errors: (203105)
Oracle drv_oci error:
OCI Function: [4] - oexec(),
oexn() SQL Function: [0] - SQL function not found!
Oracle Error: ORA- 00911: invalid character
Driver Function: drv_oci::Execute()


Again, there is an issue in the values:

VALUES ( 14100.000000, SOURCE.ORG_UNIT_ID, SOURCE.GL_ACCOUNT_ID,
SOURCE.COMMON_COA_ID, SOURCE.PRODUCT_ID,  'D' , 101 , 100 , 0 , 1194283.000000 ,
SOURCE.ISO_CURRENCY_CD, _CURSOURCE.BALANCE_AMOUNT, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, , 'D' , 101 , 100 , 0 ,
1194283.000000 , SOURCE.ISO_CURRENCY_CD, _CUR,
SOURCE.BALANCE_AMOUNT , SOURCE.BALANCE_AMOUNT ,
SOURCE.BALANCE_AMOUNT , SOURCE.BALANCE_AMOUNT ,
SOURCE.BALANCE_AMOUNT , SOURCE.BALANCE_AMOUNT ,
SOURCE.BALANCE_AMOUNT , SOURCE.BALANCE_AMOUNT ,
SOURCE.BALANCE_AMOUNT , SOURCE.BALANCE_AMOUNT ,
SOURCE.BALANCE_AMOUNT , SOURCE.BALANCE_AMOUNT )
 

As a result, these types of Allocations fail when run and do not produce results.

Cause

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
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.