Hello all,
I'm trying to send an IDOC from the SAP ERP system towards Oracle AS SAP Adapter which I use inside Oracle BPEL process.
Inside SAP the IDOC is successfully generated and sent as the status is green and sais "IDoc sent to SAP system or external program".
Unfortunately I receive some error in the receiver. Here is the log associated with it:
Fri, 30 May 2008 15:52:59.0248 EEST - Thread[JCO.ServerThread-3,5,main] [info ] [container] [SAP.channel_DEV_Channel] Check: C0A81E0C00C9483FF8A142FF
Fri, 30 May 2008 15:52:59.0342 EEST - Thread[JCO.ServerThread-3,5,main] [debug] [container] [SAP.channel_DEV_Channel] handleRequest called for tid=C0A81E0C00C9483FF8A142FF
Fri, 30 May 2008 15:52:59.0342 EEST - Thread[JCO.ServerThread-3,5,main] [debug] [container] [SAP.channel_DEV_Channel] function call received: IDOC_INBOUND_ASYNCHRONOUS
Fri, 30 May 2008 15:52:59.0342 EEST - Thread[JCO.ServerThread-3,5,main] [debug] [container] [SAP.channel_DEV_Channel] idoc will be XML encoded
Fri, 30 May 2008 15:52:59.0342 EEST - Thread[JCO.ServerThread-3,5,main] [debug] [container] [SAP.channel_DEV_Channel] start converting IDOC to XML
Fri, 30 May 2008 15:52:59.0342 EEST - Thread[JCO.ServerThread-3,5,main] [error] [container] [SAP.channel_DEV_Channel] com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Trying to access row values in a table which does not have any rows yet
at com.sap.mw.jco.JCO$Record.checkRowCapacity(JCO.java:11671)
at com.sap.mw.jco.JCO$Record.getString(JCO.java:12094)
at com.sap.mw.jco.JCO$Field.getString(JCO.java:10386)
at com.ibi.sap.inbound.IdocFunctionTransform.transform2XML(IdocFunctionTransform.java:103)
at com.ibi.sap.inbound.SapInboundAdapter$RfcServer.handleRequest(SapInboundAdapter.java:567)
at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7504)
at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(MiddlewareRFC.java:1395)
at com.sap.mw.jco.JCO$Server.listen(JCO.java:7067)
at com.sap.mw.jco.JCO$Server.run(JCO.java:6996)
at java.lang.Thread.run(Thread.java:595)
Fri, 30 May 2008 15:52:59.0358 EEST - Thread[JCO.ServerThread-3,5,main] [debug] [container] [SAP.channel_DEV_Channel] Rollback: C0A81E0C00C9483FF8A142FF
Fri, 30 May 2008 15:52:59.0358 EEST - Thread[JCO.ServerThread-2,5,main] [debug] [container] [SAP.channel_DEV_Channel] Confirm: C0A81E0C00C9483FF8A142FF
On the other hand I am able to send IDocs from the Oracle SAP adapter towards the SAP system without any issues.
Please anyone, could you suggest what could be causing this error in the JCo layer?
Best Regards,
Denitsa
Edited by: Denitsa Pelova on Jun 3, 2008 5:33 PM