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

how to use JCO_SAPROUTER?


properties.setProperty(DestinationDataProvider.JCO_ASHOST, "");
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/");

If use SAPGUI logon successfully, but using JCO cannot logon. (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