on 08-26-2010 10:21 AM
Hi Friends,
I have a requirement from SAP BI to SQL database.
When I am triggering data from SAP BI, it is successfully sent to XI.
In XI, it is also in success.
But when I check in Message monitoring, I faced a error.
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZSaleFromBI' (structure 'Data'): com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near the keyword 'AND'.
The data is not updating in SQL Database also.
Kindly suggest the same.
Regards,
Narendra Goyal
check if you have created your query as expected
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
After debugging lot, I found a payload difference.
In PI 7.0 Inbound message from BI is:
<?xml version="1.0" encoding="utf-8" ?>
- <n0:MT_OTBData_BI xmlns:n0="http://grmap.com/xi/grmap/OTB_Data_OB" xmlns:prx="urn:sap.com:proxy:BIJ:/1SAI/TAS05A432A314B70F5CEB43:700:2008/01/11">
+ <DataRow>
+ <DataRow>
+ <DataRow>
</n0:MT_OTBData_BI>
In XI 3.0 Inbound message from BI is:
<?xml version="1.0" encoding="utf-8" ?>
- <nr1:MT_OTBData_BI xmlns:nr1="http://grmap.com/xi/grmap/OTB_Data_OB">
+ <DataRow>
+ <DataRow>
+ <DataRow>
</nr1:MT_OTBData_BI>
Kindly provide suggestion to resolve this issue.
Regards,
Narendra Goyal
XML-wise, they are exactly the same. The "prx" namespace is not used anywhere throughout the message, so the message structures are identical.
Apparently your mapping is based on strings (i.e. searching for "<nr1:MT_OTBData_BI xmlns:nr1="http://grmap.com/xi/grmap/OTB_Data_OB">") and not really parsing the XML. If that's the case, I would reevaluate that mapping.
BR,
Henrique.
User | Count |
---|---|
85 | |
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.