cancel
Showing results for 
Search instead for 
Did you mean: 

JDBC error

Former Member
0 Kudos

My scenario is File(xml) to JDBC.

I got the following error

<b>Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'BPSAI_SAP_RECEIVABLES' (structure 'Invoice'): java.sql.SQLException: ORA-00928: missing SELECT keyword</b>

my action is INSERT

Why it is giving the error like this?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

action Attribute is expecting a SELECT command and you have given an INSERT.Change it to SELECT.

But according to the Scenario you must have an INSERT, so check the stored procedure.

Thanks

Former Member
0 Kudos

Hi,

Check the action attribute in the JDBC receiver.

It should have value as "SELECT".Check the JDBC payload structure in sxmb_moni

Most probable reason would be the receiver side datatype for JDBC. Recheck with this

http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm

Regards

Mahesh

nisarkhan_n
Active Contributor
0 Kudos

Refer this thread...

might be helpfull

prateek
Active Contributor
0 Kudos

Check the action attribute in the JDBC receiver. It should have value as "SELECT".

Check the JDBC payload structure in sxmb_moni

Most probable reason would be the receiver side datatype for JDBC. Recheck with this

http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm

Regards,

Prateek