⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tutorialconnect1.java

📁 SAP ERP的二次开发
💻 JAVA
字号:
import com.sap.mw.jco.*;/** * @author Thomas G. Schuessler, ARAsoft GmbH * http://www.arasoft.de */public class TutorialConnect1 extends Object {  JCO.Client mConnection;  public TutorialConnect1() {    try {      // Change the logon information to your own system/user      mConnection =        JCO.createClient("001", // SAP client          "<userid>",           // userid          "****",               // password          null,                 // language          "<hostname>",         // application server host name          "00");                // system number      mConnection.connect();      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();  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -