Skip to Content
author's profile photo Former Member
Former Member

JCo Error : RFC_ERROR_COMMUNICATION

Hi,

I am trying to call a BAPI from a Java application using Java Connector. But, I am getting the following error. Anyone can help me to rectify this ?

"com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect from SAP gateway to RFC server failed"

Thanks in advance,

Sameej T.K.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Dec 20, 2004 at 02:52 PM

    Check the login profile (appserver,uname,pass etc). It looks like the JCO middleware is unable to connect to R/3.

    I have seen that (sometimes) the 'sapgw' for gatway doesnt work and you need to actually give the port (ex '3300').

    Hth

    Sid

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2004 at 01:14 PM

    Hello Sameej

    Can u pls tell me won which OS ur running ur bapi?

    Regards

    Sriram

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      The server to which I am not able to connect is running on SAP R/3 Enterprise edition and the one I am able to connect is running on SAP R/3 4.6C. I downloaded the latest version of JCo from SAP Service Marketplace. The server systems are running on UNIX OS. I am using Win NT workstation. The DLL librfc32.dll that came with JCo did n't work with my system so I have to download the latest version from SAP Service Marketplace. After using this, I was able to connect to one of the systems but not both.

      Regards,

      Sameej T.K.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.