Skip to Content
0
Former Member
Apr 19, 2005 at 03:59 PM

Starting SAPGUI from JCO

438 Views

I have seen some posts relating to the question I am about to ask but so far I haven't seen any definite yes/no answers.

I'm looking to execute a RFC that requires user input via the SAPGUI. I have achieved this with no problem via the .NET connector as well as the SAP COM components. I am trying the same thing with JCO but the SAPGUI isn't started and I receive the following message:

com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: connection closed

without message (CM_NO_DATA_RECEIVED)

Am I correct in guessing that JCO will attempt to start the SAPGUI for JAVA rather then the SAPGUI for Win32? If this is so, how does JCO know where the SAPGUI for JAVA resides? Is it an environment setting that I am missing?

If this functionality is possible the app will be ported to OSX so I'm hoping that this can be done on all platforms. Any ideas on this?

Any help would be greatly appreciated.

-c.