on 02-08-2011 8:56 AM
Hi,
Some brief about application:
Our application developed in Java uses SAP JCO 3 to do RFC calls on remote SAP server. For this SAP GUI is required to install on the local system.
The requirement of the application:
It is required that by using SAP JCO and installed SAP GUI the application should able to communicate with more than one SAP systems. We found if the version of installed SAP GUI and patch level are not matching, application is not able to proceed further to complete the communication.
When SAP JCO tries to connect to SAP system, we are getting following exception:
com.sap.conn.jco.JCoException: (104) RFC_ERROR_SYSTEM_FAILURE: Start 'sapgui' failed.(Remote shortdump: RFC_ATTACH_GUI_FAILED)
at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:613)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.execute(MiddlewareJavaRfc.java:1689)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.startSAPGui(MiddlewareJavaRfc.java:1861)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1295)
...........................
...........................
Caused by:
RfcException: [null]
message: Start 'sapgui' failed.
Return code: RFC_SYS_EXCEPTION(3)
error group: 104
key: RFC_ERROR_SYSTEM_FAILURE
message class: 00
message type: X
message number: 341
message parameter 0: RFC_ATTACH_GUI_FAILED
at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:1926)
The issue can be resolved by applying required patch level and other settings. However, this adds the dependency as remote SAP systems can have different configuration settings, and SAP GUI can have different configuration settings.
Is there any solution that we can implement in SAP JCO 3, which will make the RFC calls by using existing SAP GUI and any remote SAP system?
Thanks in advance,
Avinash Deshmukh
> The issue can be resolved by applying required patch level and other settings.
Can you tell me these required patch level and the other settings?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.