Skip to Content
0
Former Member
Mar 25, 2008 at 07:05 PM

Extending com.sap.mw.jco.JCO.Client

15 Views

Hi,

I have the need to 'Extend' the standard JCO.Client class, such that I can override the execute method to perform some additional functionality, I have implemented the following,

***********************************************

package some.company.jco;

import com.sap.mw.jco.*;
import java.util.Properties;

public class Client extends com.sap.mw.jco.JCO.Client {
	public Client(Properties arg0) {
		super(arg0);
		// implement all constructors
	}

	public void execute(com.sap.mw.jco.JCO.Function function)
	{
		super.execute(function);
		// perform some custom actions
	}
}

***********************************************

This compiles fine in Eclipse 3.0, but I am using NWDS 15 (NW04 SP15) which runs on eclipse 2.1.2 and this results in a compilation error of 'The compilation unit indirectly references the missing type com.sap.jdsr.writer.DsrIPassport(....)

From my investigation I believe that this issue is a result of the earlier Eclipse build being 'over zealous' in searching for dependent classes.

So that I can successfully compile this class in NWDS 15 can anyone tell me the JAR file within which the file 'com.sap.jdsr.writer.DsrIPassport ' is enclosed, so that i can add this to my classpath.

Thanks

Ciaran