on 10-16-2008 2:29 AM
Hi everyone
I have to insert info into an Oracle Database from R3.
The functional consultant is sending the info but when I see the sxmb_moni I see that XI did not deliver the message, the error that is shown there is:
com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'tablename' (structure 'STATEMENTNAME'): java.sql.SQLException: ORA-00936: missing expression.
I have already checked the Message Mapping and Iu2019m sure that the fields that Iu2019m trying to insert are correct.
Can someone help me or tell me what to try??
Thanks in advanced
You must be specifying the SQL XML strucuture wrongly in the mapping. Verify with the documentation. There are lot of threads explaing the same. Search.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i have faced this problem many a times
Error lies in table/stored proc. 'tablename' (structure 'STATEMENTNAME')
GO to IR and search STATEMENTNAME object.
There lookinot tag 'tablename' there must be some specific defination of max lenght etc.error that can not be parsed.
Check and loet me know that field value.
Regards,
Sumit Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI SUMIT
Thanks for your answer.
I don´t know where to check what you said to me, but I´ve checked in the Data Type definition for the "tablename" and it doesn´t has max length or something like that it only has in the Category Column the value "Complex Type".
Also I´ve checked into the message mapping for the value of STATEMENTNAME, it has a blank constant and in ocurrence it has 1..1
Is some of the info that I checked that you wanted to know???
Hi
You are following this document structure right
<StatementName2>
<dbTableName action=u201DINSERTu201D>
<table>realDbTableName</table>
<access>
<col1>val1</col1>
<col2>val2</col2>
</access>
<access>
<col1>val11</col1>
</access>
</dbTableName>
</StatementName2>
StatementName2 is mapped to blank constant
Next field you are mapping to database table name
action is insert an attribute optional
aceess
Now Check all column data types that should match to field data types in table
IF all correct then check for the SP version you have it may have any changes check SAP Notes for it
Thanks
Gaurav
Hi Gaurav
Finally I could insert fileds into the Oracle DB but I had to deactivate some fileds because the info that XI was trying to insert into the DB were negative numbers, and Oracle was rejecting those numbers, that´s why I deactivate those fields.
It seems like Sap send negative numbers with the minus sign at the right side and Oracle Number Type is expecting to receive this sign at the left sign.
Do someone know if there is a way in XI to pass the negative sign of SAP from right to the left side like Oracle is expecting it ?
Or how can i solve this problem??
Thanks.
Emmanuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
-> Can you check with the table name of your structure 'STATEMENTNAME'
->ORA-00936: missing expression:
Check whether the values are already present in the database for the particular fields,so you may have to use UPDATE_INSERT.
->Check if there is any missing syntax.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
take your payload which you are passing to oracle from xi and try to execute the same in oracle editor, take help of your DBA . there must be som mapping issue which leads to errornous sql structure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Emmanuel,
Try to test the Message Mapping.If it successful.try to check with Basis guys.
Regards,
Sateesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Check with the table name you are passing to field.
Check for the document formats and correct it
http://help.sap.com/saphelp_nw70/helpdata/EN/2e/96fd3f2d14e869e10000000a155106/content.htm
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.