on 08-29-2007 10:28 AM
Hi,
I am doing a RFC-XI-JDBC scenario.
In the CC monitoring , i am getting this error for the reciver CC:
"Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. "TableNAMe"(structure 'STATEMENTNAME'): java.sql.SQLException: ORA-01861: literal does not match format string "
Please guide me what can be the cause and how to solve it.
Thanks,
Puneet
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm - your receiver structure should match the xml as shown here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks everyone...
I have resolved the issue....it was a data type mismatch in the date field in SAP and Oracle. Had to write a user-defined function to convert the SAP standard into DD-MON-YY.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have checked all the settings ..and they looks absolutely fine.
All the fields are in capital letters both in SAP as well as Oracle.
I think the error is due to data type mismatch between Oracle fields and SAP fields.
The fields in Oracle are of type VARCHAR and in SAP the type is Char ( string in XI).
Also, the date format differs between SAP and oracle (DD-MON-YYYY).
Please sugeest me how to go about it ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is how my payload looks like :
<?xml version="1.0" encoding="UTF-8"?>
<ns1:MT_JDBC_REC xmlns:ns1="https:namespace.scene3">
<STATEMENTNAME>
<TABLE_NAME action="INSERT">
<TABLE>ggclgis</TABLE>
<access>
<VALVE_ID>12584</VALVE_ID>
<EQUNR>122</EQUNR>
<ERNAM>12122</ERNAM>
<INVNR>1212</INVNR>
<GROES>1212</GROES>
<ELIEF>123</ELIEF>
<GWLEN>21-jul-2008</GWLEN>
<GWLDT>12-jun-2006</GWLDT>
<SERGE>wqwqw</SERGE>
<TYPBZ>wqwqwq</TYPBZ>
</access>
</TABLE_NAME>
</STATEMENTNAME>
</ns1:MT_JDBC_REC>
Please tell me if it looks fine.
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ggclgis' (structure 'STATEMENTNAME'): java.sql.SQLException: ORA-00942: table or view does not exist
this is how the error looks like in Audit log where ggclgis is my table name.
TABLE_NAME is as in <dbTableName action=INSERT>
Hi,
Check these links
http://help.sap.com/saphelp_nw70/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
May help you.
Regards,
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
make sure the fieldnames in XI structure is matching with the fieldnames in the table which you are updating in oracle.
The filed names are case sensitive and should exactly match
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.