Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vatri/java-to-sap-connection
Connect Java application to SAP and fetch a table.
https://github.com/vatri/java-to-sap-connection
abap java jco rfc sap
Last synced: 11 days ago
JSON representation
Connect Java application to SAP and fetch a table.
- Host: GitHub
- URL: https://github.com/vatri/java-to-sap-connection
- Owner: vatri
- Created: 2017-11-23T13:51:12.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-23T14:14:15.000Z (about 7 years ago)
- Last Synced: 2024-11-14T12:29:57.319Z (2 months ago)
- Topics: abap, java, jco, rfc, sap
- Language: Java
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# java-to-sap-connection
Connect Java application to SAP and fetch a table.## Requirements:
1. SAP JCO ZIP with JAR and DLL files (make sure you have downloaded correct architecture)
2. DLL path added to PATH system environment variable
3. JDK and JRE 8
## How to run- Run "git clone [THIS REPO URL]" in your CMD/terminal
- Open the folder in IDE
- Add JAR to build path
- Update connection parameters in SapConn.java source file
- Open your SAP R/3 system and create Z_JCO_TEST function module with following params - import: PI_PARAM (char); TABLE: PO_OUT (structure with fields MANDT, NAME and BIRTH)
- Compile and run using IDE tools
- Open http://localhost:8080/
- Enter your SAP password and hit enter
- Now you should get JSON with list of all employees from HR module