cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CAP, BTP and node-rfc example?

Srdjan
Product and Topic Expert
Product and Topic Expert
0 Likes
2,108

Hello CAP Community,

node-rfc user is looking for an example of CAP on BTP using node-rfc and Cloud Connector, to exchange data with ABAP on-prem system: https://github.com/SAP/node-rfc/discussions/298

Does anyone have a working example to share?

Thanks,

Srdjan

View Entire Topic
Dinu
Active Contributor
0 Likes

Dear Srdjan,

Here is an example of successful deployment of NW RFC on Cloud Foundry.

It uses a custom nodeJS buildpack. Only 2 environment variables need to be set.

All that needs to be done is to copy all the libraries to a folder (named sap/nwrfcsdk/lib in the sample) and included in the app that is pushed (gen/srv for cap).

But the libraries need to be built and be compatible with the stack. Current stack is cflinux4 (based on Ubuntu 22.04). So build the libraries on this stack.

Is cflinux4 supported for build now? All the samples and examples refer to cflinux3. This stack is deprecated now. It is best to build for cflinux4 now rather than use cflinux3.

Regards,

Dinu

PS: I don't know of if PAM or license for NW RFC supports this.