Receipt Traveler (XML) Report Errors java.sql.SQLSyntaxErrorException: ORA-00936: missing expression (Doc ID 2059007.1)

Last updated on SEPTEMBER 22, 2015

Applies to:

Oracle Inventory Management - Version 12.2.4 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.4 version, Receiving Functions

When attempting to run Receipt Traveler (XML) report,
the following error occurs.

ERROR
-----------------------
POXDLPDT_XML: Receipt Traveler (XML)
+---------------------------------------------------------------------------+

Current system time is 10-AUG-2015 17:05:37

+---------------------------------------------------------------------------+

XDO Data Engine Version No: 10.1.3.4.2
Resp: 50719
Org ID : 82
Request ID: 544906
All Parameters: P_TITLE=RT:P_OPERATING_UNIT_ID=82:P_DELIVERY_LOCATION=:P_ORG_ID=82:P_RECEIPT_SOURCE_TYPE=All:P_RECEIPT_NUM_FROM=5113000025:P_RECEIPT_NUM_TO=5113000025:P_ITEM_FROM=:P_ITEM_TO=:P_STRUCT_NUM=201:P_CATEGORY_FROM=:P_CATEGORY_TO=:P_SHIP_TO_LOCATION=:P_QTY_PRECISION=2:DebugFlag=N
Data Template Code: POXDLPDT_XML
Data Template Application Short Name: PO
Debug Flag: N
{P_RECEIPT_NUM_FROM=5113000025, P_CATEGORY_TO=, P_ITEM_TO=, P_RECEIPT_NUM_TO=5113000025, P_OPERATING_UNIT_ID=82, P_TITLE=RT, P_SHIP_TO_LOCATION=, P_RECEIPT_SOURCE_TYPE=All, P_QTY_PRECISION=2, P_ORG_ID=82, P_DELIVERY_LOCATION=, P_STRUCT_NUM=201, P_CATEGORY_FROM=, P_ITEM_FROM=}
Calling XDO Data Engine...
--SQLException
java.sql.SQLSyntaxErrorException: ORA-00936: missing expression

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:947)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)
at oracle.apps.xdo.dataengine.XMLPGEN.processQuery(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.writeData(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.processGroup(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.writeData(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.processData(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.processXML(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(Unknown Source)
at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(Unknown Source)
at oracle.apps.xdo.dataengine.DataProcessor.processData(Unknown Source)
at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:334)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:294)
at oracle.apps.fnd.cp.request.Run.main(Run.java:156)



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run Receipt Traveler (XML) report


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