cancel
Showing results for 
Search instead for 
Did you mean: 

Hana Cloud Connector - Use Destination in Nodejs App

Former Member
0 Kudos

Hi experts,

We have installed the SAP Cloud Connector on our on premise system and configured the access. We have also a deployed a nodejs application via HCP cloud foundary service and the app is up and running. We would now like to consume the configured RFC destination within the nodejs app.

We only found a JCo API and there are is also a tutorial about how to use this within Java application. Is there something similar available within nodejs? Can we somehow call the Jco API from nodejs? If not, do we need a Java wrapper to make this capability available?

Thank you very much.

Best, Nils

Accepted Solutions (0)

Answers (2)

Answers (2)

oppancs
Contributor
0 Kudos

Dear Nils,


SAP Cloud Connector is already supported for Cloud Foundry services. However I am not aware specific documentations for your scenario regarding RFC connection to nodejs, here is a very useful and well detailed blog in 3 parts:


https://blogs.sap.com/2017/07/09/how-to-use-the-sap-cloud-platform-connectivity-and-the-cloud-connec...
https://blogs.sap.com/2017/07/13/part-2-how-to-use-the-sap-cloud-platform-connectivity-and-the-cloud...
https://blogs.sap.com/2018/03/09/part-3-how-to-use-sap-cloud-platform-connectivity-and-cloud-connect...


Probably you can find some hints from them.


Regards,
Barnabás Paksi

MatthieuPelatan
Advisor
Advisor
0 Kudos

Hi Nils,

the Cloud Foundry based services on the SAP HANA Cloud Platform are still in beta and unfortunately don't work with the SAP HANA Cloud Connector now.

Here is a tutorial on how to use JCo: https://www.sap.com/developer/tutorials/hcp-scc-onpremise-extension-jco-rfc.html

And here the documentation for using RFC destinations: https://help.hana.ondemand.com/help/frameset.htm?e184daba118b46679c6968567bacc98e.html

Best regards,

Matthieu

Former Member
0 Kudos

Hi Matthieu,

has anything changed since?

Thanks!

MatthieuPelatan
Advisor
Advisor

Hi Julian,

in the meanwhile, the connectivity service is available in the Cloud foundry environment of the SAP cloud Platform. See the following blog for more details:

https://blogs.sap.com/2017/07/09/how-to-use-the-sap-cloud-platform-connectivity-and-the-cloud-connec...

Unfortunately RFC and JCo is not there right now. We are working hard to make this feature available asap.

Thanks for your understanding.

Matthieu

davidbest
Explorer
0 Kudos

Hi Matthieu,

We are also trying to connect to NetWeaver Gateway services in a backend system from a node.js application using the Cloud Connector. Can you point to any documentation that shows how this can be done?

Thanks,

David