cancel
Showing results for 
Search instead for 
Did you mean: 

Source not found for JCO$Client.connect()

Former Member
0 Kudos

Hi All,

I am trying to create JCo with my SAP system through a java class.

I have added sapjco.jar. When I try to debug the java class I get the error Source not found for JCO$Client.connect() line: 3248. Before this error one pop up comes "debugger source lookup" stating that The source of the 'com.sap.mw.jco$Client' could not be shown as the type was not found. And in this window it shows me jrfc.jar under my java project and there some buttons to add jars, external jars.

But it is not showing sapjco.jar. What is the problem? Do I have to add additional jars.

cheers

jayant

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

maybe this is just because there is no source code for the JCO Classes. I don't think SAP ships JCO Classes with source Infos for debugging.

In debugging i would suggest just not to step into the JCO Methods.

franz

Former Member
0 Kudos

Hi,

Have you added sapjcorfc.dll and librfc32.dll libraries in your WINDOWS folder?

Regards,

Dhanasekar K

Former Member
0 Kudos

Hi Jayant,

Are you develop your application as a Development Component?

If yes, then you must add the JCO DC to used DC's of your DC.

Regards!