cancel
Showing results for 
Search instead for 
Did you mean: 

Replacement for JCO.createClient

Former Member
0 Kudos

Hi All,

I am using old version of sapjco.jar and like to go for newer version.

While migrating I am completley lost on JCO.createClient.

I am using below line to create a client(to get the connection I think)

com.sap.mw.jco.JCO.createClient(mandant, user, pw, lang, machine, systemNumber);

mandant=900 , user=, pw=, ang=EN, machine=, systemNumber=

how can I replace this line with updated new version of sapcjo3.jar means in simple words how to get the connection.

Any help is really appreciable

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

ravindra_bollapalli2
Active Contributor
0 Kudos

u can refer the my post on u r jcoField i given the sap document for sapjco3.jar for more detail example

let me know u need any further info

ravindra

Former Member
0 Kudos

Hi,

When u download the sapjco3 zip file, there is an example folder inside.

you can take a look at the StepByStepClient.java for example.