Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

JCO$Exception while trying to call remote enabled FM in SAP system

former_member193460
Contributor
0 Kudos

Hi team,

     Please help me analyze this error:

EXCEPTION+com.sap.mw.jco.JCO$Exception:+(102)+RFC_ERROR_COMMUNICATION:+C

EXCEPTION+onnect+to+SAP+gateway+faile

I have updated the server address in the Database for the java site.. But still i am getting this error. Please help

Regards,

Tashi

1 REPLY 1

former_member193460
Contributor
0 Kudos

Hi Everyone,

     Please let me know what is the exact issue over here.

Some doubts:

     we have created a user in SAP system and we are trying to connect with java code as:

client = JCO.createClient("000",  // SAP client
                            "Userid",   // userid
                            "abcdef",  // user's password
                            "EN",            // language
                            host,// host name
                            sysno);   // system number

  // Open the connection
  client.connect();

Please let me know if any RFC connection is required in this set up ..?

REgards,

Tashi Norbu