cancel
Showing results for 
Search instead for 
Did you mean: 

JCo connection error

Former Member
0 Kudos

Hi Guys,

I have been trying to use the JCo functionality for a while now but I can't seem to make it work. The code looks pretty much straight forward, and we did not make use of any SAP routers. Below are the codes that we used:

client = JCO.createClient("800", // SAP client

"USERNAME", // userid

"password", // password

"EN", // language

"XX.XXX.XX.XXX", // host name

"01"); // system number

I tried establishing telnet connections on port 3201 and 3301. I was able to connect to 3201 but not on 3301.

Does any one here have any useful tips on setting up the codes for JCo connection? Any help would be greatly appreciated...

Cheers!

Chris

Accepted Solutions (0)

Answers (1)

Answers (1)

gregorw
Active Contributor
0 Kudos

Hello Chris,

what settings are used in your SAP GUI? What System Number is used there? Can you connect with SAP GUI?

Regards

Gregor