on 02-18-2014 5:58 PM
Hello,
we implemented a SAP Process Integration scenario where a synchronous RFC is called in a ERP system, transmitted to SAP PI and transformed to a SOAP request. The result is given back in the RFC response.
Sometimes we get an ABAP dump in the calling ERP system with the error message: "JCO.Server could not find server function ... ".
This error does not occur permanently! Most of the time the function can be called and the result is given back correctly. E. g. if we call the function twice in a row, the error is shown with the second call.
I already tried to modify the parameters "Maximum Connections" (from 1 to 5) and "Maximum Reconnect Delay" (to 5). See http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm
But the result was the same....
We have other ERP systems where similar processes (RFC -> PI -> SOAP) work fine with every call. What could be the reason for this error?
Best regards,
David
Hello,
I think I found the solution:
Within the function call from ERP to PI I did not have any exception handling.
I added
EXCEPTIONS
OTHERS = 1.
to the RFC within the ABAP coding and now it's always working correctly.
I do not know, why the call fails sometimes, if this is not included, but now it's ok.
Best regards,
David
EDIT:
Ok, the problem still exists, but with every second or third call, the function comes with SY-SUBRC = 1...
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.
Dear both,
thanks for you answers.
When the error occurs, there is no message on PI. Everything which is forwarded to PI also is processed correctly. But sometimes the message does not reach PI and the backend SAP system shows: "JCO.Server could not find server function ... ".
The error only occurs sometimes. However the connection test in SM59 is always ok.
Best regards,
David
Hi David - How does the PI channel behave? Does it show any error message?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.