cancel
Showing results for 
Search instead for 
Did you mean: 

JCO.createClient() with URL

Former Member
0 Kudos

Hi there,

I inherited a standalone java client program that uses SAP JCo 2.x to connect to SAP ABAP systems. I need to update it to use SAP JCO 3.x.

In this program, it sometimes uses this method to create a connection depending on the input provided by the user:

public static JCO.Client createClient(java.lang.String client,

                                      java.lang.String user,

                                      java.lang.String passwd,

                                      java.lang.String lang,

                                      java.lang.String url)

In JCO 3.x, there is no equivelent function to take a url for the connection.I also have no idea what the format of the URL is in SAP JCo 2.x

I have done some research but I could not find any information for me to proceed.

Anyone has any idea about the format of the url parameter is? I guess when I upgrade my program to use SAP JCO 3.x, I will need to parse this string and set the various connection properties for the JCO 3.0 destination.

Please help!

Beat Regards,

Goodyear

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Please, anyone has any idea/hints, etc?

thanks

sven_rickelt
Explorer
0 Kudos

Hello goodyear,

try to use the JCO.Pool (using JCO.getClientPoolManager()) and get the client from Pool.