Code: Alles auswählen.
import com.sap.mw.jco.IRepository;
import com.sap.mw.idoc.jco.*;
import com.sap.mw.jco.*;
import com.sap.mw.idoc.*;
public class MyJServer extends JCoIDoc.Server {
public MyJServer(String gwhost, String gwserv, String progid, IRepository jcoRepository, IDoc.Repository idocRepository){
super(gwhost, gwserv, progid, jcoRepository, idocRepository);
System.out.println("iDOcServer");
}
public MyJServer(java.util.Properties properties, IRepository jcoRepository, IDoc.Repository idocRepository){
super(properties, jcoRepository, idocRepository);
}
protected void handleRequest(JCO.Function function) {
System.out.println("handleRFC");
}
protected void handleRequest(IDoc.DocumentList documentList) {
System.out.println("No IDocs: "+documentList.isEmpty());
System.out.println("Size: "+documentList.size());
}
}