java - Connect to SAP using JCO through a SAPRouter -
i've been trying connect java program sap using jco java connectors (latest version 3.0.13). having trouble , told problem was trying connect directly , need connect via saprouter. there's connection property called saprouter need place sap router string. i've found way specify such string jco (v 2.xx) , is: /h//h/
is same jco in latest versison? if so, specification of connection properties done this?
properties connectproperties = new properties(); connectproperties.setproperty(destinationdataprovider.jco_ashost, "xx.xx.x.xx"); connectproperties.setproperty(destinationdataprovider.jco_sysnr, "00"); connectproperties.setproperty(destinationdataprovider.jco_client, "020"); connectproperties.setproperty(destinationdataprovider.jco_user, "xxxxx"); connectproperties.setproperty(destinationdataprovider.jco_passwd, "xxxxxx"); connectproperties.setproperty(destinationdataprovider.jco_lang, "en"); connectproperties.setproperty(destinationdataprovider.jco_saprouter, "/h/<saprouter>/h/<hostname>");
Comments
Post a Comment