Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

JCO.createclient with connection string

Hi folks,

within sap landscapes a connection string can be used to logon to sap systems. The SAP Javagui use such a term to specify the way to sap systems.

An example term for a connection string connecting to an application server behind 2 saprouters is:

/H/gate.acme.com/S/3299/P/secret/H/gate.sap.com/S/3298/H/iwdf8997.sap.com/S/3200

<--


1st router -
><-- 2nd router -


><------ app_server -


>

The second term can be used to connect to a message server and specified logon group (load balancing):

/H/gate.acme.com/S/3299/P/secret/H/gate.sap.com/S/3298/M/alrmain.wdf.sap-ag.de/S/4253/G/SPACE

<--


1st router -
><-- 2nd router -


><----


msg server -


><- logon group->

Now my question:

Is it possible to use complex connection strings (with router and logon groups) with JCO.Client (method createclient)?

I've tried the createclient method with URL parameter and got an Exception "no protocol".

Thanx for Help!

Joerg

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question