https://github.com/xremix/nodejs-sap-client-prototype
This project will show a prototype that connects to the SAP-BAPI / RFCs via Node.js
https://github.com/xremix/nodejs-sap-client-prototype
bapi example node node-rfc nodejs prototype rfc sap
Last synced: 12 months ago
JSON representation
This project will show a prototype that connects to the SAP-BAPI / RFCs via Node.js
- Host: GitHub
- URL: https://github.com/xremix/nodejs-sap-client-prototype
- Owner: xremix
- Created: 2019-10-03T09:55:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T08:03:38.000Z (about 3 years ago)
- Last Synced: 2024-11-09T07:45:54.473Z (over 1 year ago)
- Topics: bapi, example, node, node-rfc, nodejs, prototype, rfc, sap
- Language: JavaScript
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node.js SAP-Client Prototype
This project will show a prototype that connects to the SAP-BAPI / RFCs via Node.js
## Data Sources
Node.js
- Example how to call a BAPI from Node.js ([link](https://github.com/SAP/node-rfc))
- Example how to call the User List BAPI from Node.js ([link](http://blog.maruskin.eu/2018/04/how-to-call-bapi-in-sap-from-nodejs-app.html))
BAPI
- Documentation for Get user list ([link](https://www.se80.co.uk/sapfms/b/bapi/bapi_customer_getlist.htm))
- Documentation for ABAP Object Types ([link](https://www.sapdatasheet.org/abap/tabl/bapiussrge.html))
## Install
- Make sure you installed the [SAP NetWeaver RFC SDK](https://sap.github.io/node-rfc/install.html#sap-nw-rfc-sdk-installation)
- Install node dependencies `npm install`
## Run
To run the project locally run
`node .`
## Known issues
If you recieve the following error, when running this on macOS
```
ERROR hostname 'YOURCOMPUTERSDNSNAME.local' unknown
DETAIL NiHLGetNodeAddr: hostname cached as unknown
```
make sure to add an entry with your network IP to your local hosts file
```
INTERNALIP YOURCOMPUTERSDNSNAME
```