Skip to Content
0
Sep 12, 2010 at 05:33 AM

how to use JCO_SAPROUTER?

299 Views

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