java程序访问sap.rar

时间:2012-03-02 10:52:59
【文件属性】:

文件名称:java程序访问sap.rar

文件大小:338KB

文件格式:RAR

更新时间:2012-03-02 10:52:59

java程序访问sap

import com.sap.mw.jco.*; //The JCO import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; import javax.swing.border.*; public class GetCompanycodeList extends JFrame implements ActionListener { private JCO.Client mConnection = null; private JTextField returnValues; private IRepository mRepository; private JCO.Function myFunction; private JList companyCodeList; public GetCompanycodeList() { //------------------------------------------------------------ //Set size of window and center it on the screen //------------------------------------------------------------ setSizeAndPosition(); //------------------------------------------------------------ // Windows listener //------------------------------------------------------------ addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { if (mConnection != null) JCO.releaseClient(mConnection); System.exit(0); } } );


【文件预览】:
sapjco.jar
SAP Java Connector-Excample 1 CompanyCode_GetList.mht
sapjcorfc.dll

网友评论

  • 不错 测试成功