SAP / PyRFC

Asynchronous, non-blocking SAP NW RFC SDK bindings for Python
http://sap.github.io/PyRFC
Apache License 2.0
510 stars 139 forks source link

GCP Functions and PyRFC #289

Closed Joselguti closed 1 year ago

Joselguti commented 1 year ago

Hello, I have been using PyRFC to consume data from SAP but all of this on a server instance, considering the fact you have to do some manual installations and configure enviroment variables I was wondering if it is possible to utilize PyRFC with technologies such as GCP Functions.

Thank you in advance.

bsrdjan commented 1 year ago

Hello @Joselguti,

SAP open source RFC Connectors for Python and NodeJS are both using SAP NWRFC SDK C++ binaries.

RFC SDK is SAP standard product and not enabled for usage in a context of SAP SCC (Secure Cloud Connector). As long that capability is missing, Python and NodeJS RFC open source connectors do not support cloud connectivity via SAP SCC.

The deployment of PyRFC package and RFC SDK binaries is technically possible on cloud platforms, as already tested by users on Cloud Foundry, AWS ... Connectivity to on-premise ABAP systemscan be established without SAP SCC, assuming SAP system is exposed to internet via web sockets, behind proxy etc. User example: https://github.com/SAP/node-rfc/issues/145 Recommended way is however using SAP Cloud Connector, once the SAP NWRFC SDK is not enabled.

Voting for providing this capability in standard is possible here: Add support for NW RFC in the Cloud Foundry Environment especially Node.JS Buildpack (S-User required).

You can also comment on existing feature request for PyRFC cloud support: https://github.com/SAP/PyRFC/issues/51