This project aims to integrate data from an OPC server into SAP ERP system using Python. The OPC server provides real-time data which is then processed and imported into SAP ERP through RFC (Remote Function Call) functions.
- Python 3.x
- OPC UA server (e.g., Prosys OPC UA Simulation Server)
- SAP ERP system with RFC enabled
- Clone the Repository
git clone https://github.com/steves88/opc-erp.git cd opc-erp
- Install Dependencies
pip install -r requirements.txt
- Configuration
- Update opc_client.py with your OPC server connection details.
- Update sap_erp_integration.py with your SAP ERP connection parameters and RFC function names.
- Run opc_client.py to connect to the OPC server, retrieve data, and send it to SAP ERP using sap_erp_integration.py.
- opc_client.py: Python script to connect to OPC UA server and retrieve data.
- sap_erp_integration.py: Python script to integrate data into SAP ERP using SAP RFC functions.
- Contributions are welcome!
- Please fork the repository and submit a pull request with your improvements.
- This project is licensed under the MIT License. See the LICENSE file for more details.