📄 tutorialconnect1.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 + -