Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

JCoClass

I have a problem error with my jco programm.

ERROR:

Exception in thread "main" java.lang.Error: Unresolved compilation problem:

at TutorialConnect1.main(TutorialConnect1.java:28)

MY JAVA PROGRAMM::

import com.sap.conn.jco.*;

public class TutorialConnect1 {

JCo.Client mConnection;

public TutorialConnect1() {

try{

mConnection = JCo.createClient(

"xxx",// SAP system

"xxx", // SAP client

"DE", // language

"xxx", // userid

"xxx", // password

"xxxx", // App.Server

"xxxx",// App.Router

"xxx");// system number

System.out.println(mConnection.getAttributes());

mConnection.disconnect();

}

catch (Exception ex){

ex.printStackTrace();

System.exit(1);

}

}

public static void main(String args[]) {

TutorialConnect1 app = new TutorialConnect1();

}

}

Former Member
Not what you were looking for? View more on this topic or Ask a question