on 01-05-2007 1:14 PM
Hi!
To connect to SAP via JCO I use the function:
Connection = JCO.createClient(Client, User, Pass, Lang, Host, Id);
Connection.connect();
Now my question:
Is there a different/better way where I do not have to provide the Host, Id... Is it possible to use a kind of saprfc.ini or the saplogon.ini mechanism to get this information like it is in C using the librfc32.dll?
Thanks,
Konrad
hi konrad,
perhaps you can make use of the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/17/d609b48ea5f748b47c0f32be265935/content.htm">Destination Service</a>
or use the method <a href="https://media.sdn.sap.com/javadocs/NW04/SPS15/jc/com/sap/mw/jco/JCO.html#createClient(java.util.Properties)">JCO.createClient(Properties properties)</a>.
please refer to the links for details.
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.