SAP NW RFC SDK is not included in SAP/PyRFC because the license is different. SAP Support Portal is the only allowed public distribution channel for SAP NW RFC SDK.
include nwrfcsdk
include sapnwrfc.ini
cd buildpack/app
pip install pyrfc flask
# do not install from requirements.txt unless your notebook runs on Linux
python serve.py
* Serving Flask app 'serve'
* Debug mode: off
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:3000
* Running on http://10.98.207.132:3000
cd buildpack
cf push (py3.11.6) main
Pushing app pyrfcapp to org <redacted> / space dev as <redacted>...
Applying manifest file <redacted>/node-rfc-samples/integration/pyrfc_btp/buildpack/manifest.yaml...
Updating with these attributes...
---
applications:
- name: pyrfcapp
path: <redacted>/node-rfc-samples/integration/pyrfc_btp/buildpack/app
memory: 128M
+ default-route: true
stack: cflinuxfs4
buildpacks:
https://github.com/cloudfoundry/python-buildpack.git
command: python serve.py
env:
LD_LIBRARY_PATH: /home/vcap/app/nwrfcsdk/lib
SAPNWRFC_HOME: /home/vcap/app/nwrfcsdk
routes:
- route: pyrfcapp.cfapps.eu10.hana.ondemand.com
Manifest applied
Packaging files to upload...
Uploading files...
Instances starting...
name: pyrfcapp
requested state: started
routes: pyrfcapp.cfapps.eu10.hana.ondemand.com
last uploaded: Mon 30 Oct 15:44:40 CET 2023
stack: cflinuxfs4
buildpacks:
name version detect output buildpack name
https://github.com/cloudfoundry/python-buildpack.git 1.8.15 python python
type: web
sidecars:
instances: 1/1
memory usage: 128M
start command: python serve.py
state since cpu memory disk logging details
#0 running 2023-10-30T14:44:56Z 1.1% 31M of 128M 372.2M of 1G 0/s of unlimited
PyRFC with SAP NW RFC SDK on BTP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
32 | |
17 | |
15 | |
14 | |
11 | |
9 | |
8 | |
8 | |
8 | |
7 |