on 07-19-2013 10:45 AM
HI
I am working on Proxy to JDBC scenario........
All the objects are created....but sometimes it looks like it is success and sometimes it is failing saying as below.....
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'MANAGER_STAGING' (structure 'STATEMENT'): java.sql.SQLSyntaxErrorException: line 1, Syntax error on ','. The correct syntax is: INSERT INTO tablename [(column {, ... })] [OVERRIDING {SYSTEM | USER} VALUE] VALUES (expression {, ... }) {, ... } INSERT INTO tablename [(column {, ... })] [OVERRIDING {SYSTEM | USER} VALUE] subselect
Error when executing statement for table/stored proc. MANAGER_STAGING' (structure 'STATEMENT'): java.sql.SQLSyntaxErrorException: line 1, Syntax error on ','. The correct syntax is: INSERT INTO tablename [(column {, ... })] [OVERRIDING {SYSTEM | USER} VALUE] VALUES (expression {, ... }) {, ... } INSERT INTO tablename [(column {, ... })] [OVERRIDING {SYSTEM | USER} VALUE] subselect
Error processing request in sax parser: Error when executing statement for table/stored proc. 'MANAGER_STAGING' (structure 'STATEMENT'): java.sql.SQLSyntaxErrorException: line 1, Syntax error on ','. The correct syntax is: INSERT INTO tablename [(column {, ... })] [OVERRIDING {SYSTEM | USER} VALUE] VALUES (expression {, ... }) {, ... } INSERT INTO tablename [(column {, ... })] [OVERRIDING {SYSTEM | USER} VALUE] subselect
Do we need to take care any Database table level tuning activities like index......because database level just created a table ...that;s it.
Some times for few records it is working fine.....but some times if we get around 100 rows also it is failing as above.
Please help.......
Thanks
On advanced tab set configure the parameter "logSQLStatement" as described on SAP Note [801367|https://service.sap.com/sap/support/notes/801367] , with this parameter you would be able to see the sql statement generated by PI in audit log.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sabu,
Have you checked that INSERT clausule is entire when the INSERT is with a lot of rows?
Enable the audit SQL log: http://saptechnical.com/Tips/XI/SQL/Log.htm
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.