Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use node-rfc npm package on SAP cloud foundary environment? #145

Open
sombir opened this issue May 15, 2020 · 9 comments
Open

How to use node-rfc npm package on SAP cloud foundary environment? #145

sombir opened this issue May 15, 2020 · 9 comments

Comments

@sombir
Copy link

sombir commented May 15, 2020

Is there a way to install SAP NW RFC on cloud foundary and use node-rfc npm package

@mtolksdorf
Copy link

NW RFC Library cannot be used in the context of SAP CP Cloud Foundry. The respective functionality needed to consume a Cloud Connector tunnel is not offered with NW RFC Library 7.50.

@sombir
Copy link
Author

sombir commented May 19, 2020

Thanks for the quick response.

Is there any way to consume SAP RFC with nodeJS on SAP CP cloud foundry environment.

Thanks In Advance

@mtolksdorf
Copy link

mtolksdorf commented May 19, 2020

Currently, in SAP CP Cloud Foundry environment RFC is supported only with the SAP Java Buildpack using JCo: https://help.sap.com/viewer/cca91383641e40ffbe03bdc78f00f681/Cloud/en-US/fa4adc9bd40e45dbac573fd616695446.html.

@guptar85
Copy link

@sombir - I had a similar requirement earlier where I need to call RFC from the Cloud Foundry environment (see issue). I achieved this using Docker where the container was pushed to Cloud Foundry (along with Source code of NodeJs). I hope you can also achieve this. Please note from my Cloud Foundry I was able to reach my on-premise servers hence it worked so you need to check this before.

@bsrdjan
Copy link
Member

bsrdjan commented Nov 3, 2020

The feature request to enable SAP NWRFC SDK usage on Cloud Foundry, in Connectivity context, can be created for:

Security Services category of the SAP Cloud Platform – Platform Foundation

@bsrdjan bsrdjan reopened this Nov 3, 2020
@gregorwolf
Copy link

Hello *,

I've created the Idea:

Add support for NW RFC in the Cloud Foundry Environment especially Node.JS Buildpack (S-User required).

Best regards
Gregor

@sbarzaghialteaup
Copy link

Cloud connector cannot be used, but when backend is exposed to public internet you can call rfc with workaround:
https://github.com/sbarzaghialteaup/demo-node-rfc-cf

@bhadana-rajesh
Copy link

@sombir - I had a similar requirement earlier where I need to call RFC from the Cloud Foundry environment (see issue). I achieved this using Docker where the container was pushed to Cloud Foundry (along with Source code of NodeJs). I hope you can also achieve this. Please note from my Cloud Foundry I was able to reach my on-premise servers hence it worked so you need to check this before.

@guptar85 : How you created docker image, can you please share steps to create docker image of node-rfc.

Also I tried to run node-rfc docker image but docker container is getting crash
sudo docker run guptar85/docker-rfc:v1 -v
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "-v": executable file not found in $PATH: unknown.
ERRO[0000] error waiting for container: context canceled

@bsrdjan
Copy link
Member

bsrdjan commented Oct 26, 2023

For experimenting and prototyping check: https://blogs.sap.com/2023/10/26/abap-rfc-connectivity-from-btp-node.js-buildpack/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants