public class CustomerCreate extends Object {JCO.Client mConnection;JCO.Repository mRepository;String CustomerNo=null;public CustomerCreate(ParamCollect param) { try { // Change the logon information to your own system/user mConnection = JCO.createClient("400", // SAP client "txxxx", // userid "xxxx", // password null, // language "10.100.10.101", // application server host name "05" // system number mConnection.connect(); mRepository = new JCO.Repository("ARAsoft", mConnection); } catch (Exception ex) { ex.printStackTrace(); // System.exit(1); } JCO.Function function = null; JCO.Table codes = null;
通过JCO,以前在pub上面发过相关的资料,你自己去找找