cancel
Showing results for 
Search instead for 
Did you mean: 

how to use JCO_SAPROUTER?

former_member1137458
Participant
0 Kudos
properties.setProperty(DestinationDataProvider.JCO_ASHOST, "192.168.1.1");
properties.setProperty(DestinationDataProvider.JCO_SYSNR, "00");
properties.setProperty(DestinationDataProvider.JCO_CLIENT, "666");

properties.setProperty(DestinationDataProvider.JCO_USER, "test");
properties.setProperty(DestinationDataProvider.JCO_PASSWD, "test");

properties.setProperty(DestinationDataProvider.JCO_SAPROUTER, "/H/2xx.xxx.xxx.xxx/H/");

If use SAPGUI logon successfully, but using JCO cannot logon.

com.sap.conn.jco.JCoException: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect.

Moreover, remove JCO_SAPROUTER parameter and testing in the same subnet, it will connected.

how to use DestinationDataProvider.JCO_SAPROUTER ?

Edited by: cpliu903 on Sep 12, 2010 7:33 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

If you are getting the error message "RFC_ERROR_LOGON_FAILURE: Name or password is incorrect." you managed to reach the R/3 system physically (incl. JCO_SAPROUTER if specified).

The error message means: The name or the password is incorrect.

Please pay attention to case sensitivity!

Answers (0)