Thursday, December 19, 2013

SAP IDOC Issue - Not able to update the database table "IDOCTABLE"

We've spotted the difference between the sapconnector.jar from Cordys-QUA & Cordys-PreProd. PFB the difference in the class "com.eibus.applicationconnector.sap.request.OLEDBRequestSender"


Code snipped from QUA


Code snipped from PreProd


Notice the difference in XPath argument for "Find.firstMatch" method. 

where the extra string in XPath : params[5] = idoc.getIDocType(); [= IORDER01] in the IDOC XML, while in the root of IDOC we've YIORDER01 (highlighted in the image below). I think this is why it is giving error in PreProd & not in Qual

Finally we used sapconnector.jar from QUA environment and the issue got resolved.


No comments:

Post a Comment