cancel
Showing results for 
Search instead for 
Did you mean: 

.jco connection to ecc6

Former Member
0 Kudos

my application access diff. SAP systems...so i use jco as follow

com.sap.mw.jco.JCO.Client jcoclient =  com.sap.mw.jco.JCO.createClient ("client","user name","password","language","ip address","sys id");

jcoclient.connect();

but its working fine for 4.7 but not for ecc6, and i get a error as follow

<u>com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed.</u>

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member751941
Active Contributor
0 Kudos

Hi,

Your application is working for 4.6 to before deploying your application have you change the following attributes value.

1> "client"

2> "user name"

3> "password"

4> "language"

5> "ip address"

6> “sys id”

for connecting the ECC 6 system. Check whether you have given right values for those parameters or not.

Regards,

Mithu