My Oracle Support Banner

Error Recompiling Expense Report Line Descriptive Flexfield (DFF) : AP_EXPENSE_REPORT_LINES_AL_DFV ORA-00907: missing right parenthesis (Doc ID 1527889.1)

Last updated on MARCH 29, 2021

Applies to:

Oracle Internet Expenses - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.

Goal

Why is the following error received in the concurrent program generate flexfield view
AP_EXPENSE_REPORT_LINES_AL_DFV after recompiling the Expense Report Line Descriptive Flexfield (DFF) :


CREATE OR REPLACE VIEW AP_EXPENSE_REPORT_LINES_AL_DFV
(ROW_ID, "EXPENSE_TYPE", Country, City_Location, Location_From, Country_From, Location_To, Country_To, Start_Time, End_Time,
CONCATENATED_SEGMENTS)
AS SELECT ROWID, ATTRIBUTE_CATEGORY, (DECODE (ATTRIBUTE_CATEGORY, 'Misc-Training O/Seas', ATTRIBUTE4, 'Misc-School Fees', ATTRIBUTE4, 'Meal...

...
Oracle error 907: ORA-00907: missing right parenthesis
ORA-06512: at "SYSTEM.AD_DDL", line 165
ORA-06512: at line 1 has been detected in afuddl() [3_xdd].
do_ddl(APPLSYS, SQLAP, 2, $statement$, AP_EXPENSE_REPORT_LINES_AL_DFV): private_do_ddl(APPS, APPLSYS, AP, 2, $statement$, AP_EXPENSE_REPORT_LINES_AL_DFV): do_cd_view(1, APPS, 2, AP_EXPENSE_REPORT_LINES_AL_DFV, $statement$): : do_apps_ddl(APPS, $statement$): : substr($statement$,1,255)='CREATE OR REPLACE VIEW AP_EXPENSE_REPORT_LINES_AL_DFV
(ROW_ID, "EXPENSE_TYPE", Country, City_Location, Location_From, Country_From, Location_To, Country_To, Start_Time, End_Time,
CONCATENATED_SEGMENTS)
AS SELECT ROWID, ATTRIBUTE_CATEGORY, (DECODE'
CREATE OR REPLACE VIEW AP_EXPENSE_REPORT_LINES_AL_DFV
AS SELECT 'View generation has failed. Check log file for error messages' VIEW_HAS_FAILED_CHECK_LOG_FILE
FROM SYS.DUAL
 

Solution

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
Goal
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.