cancel
Showing results for 
Search instead for 
Did you mean: 

Node JS - SAP HANA ECLIPSE

Former Member
0 Kudos

Hi ,

I would like to write node JS in SAP HANA using eclipse IDE ... can someone please share how to achieve this or any reference doc should help.. Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

pfefferf
Active Contributor
0 Kudos

At the moment you get the best support to write Node.js Code for XS Advanced using the SAP Web IDE for SAP HANA.

But of course you can use the IDE/editor of your choice, Eclipse too, although Eclipse is not the best choice to write JavaScript code (neither for server-side nor for the frontend). If you use your own IDE/editor you have to use the XS Command-Line tool to deploy your code to XS Advanced. You can download the tools from the SAP Service market place. Also in the HANA Express Edition 2.0 the client tools are included in the download bundle.

A simple example of developing and deploying an application using the XS Command-Line tool is described in Working with the XS Advanced Command-Line Client.

Regards,
Florian

Former Member
0 Kudos

Hi.. Thanks for the response... i did first tried in SAP web IDE , but looks like there is some issue in service itself... so I couldnt proceed further.. attached is the error it is showing...28317-sap-hcp.png

does the command line interface tool required to deploy the code in eclipse...? sorry i am missing somehting here...not sure if i made it clear..I am looking for any reference how we can start with the SAP HANA node js changes in eclipse .

pfefferf
Active Contributor
0 Kudos

The screenshot you showed is for the SAP Cloud Platform, Starter Edition for Cloud Foundry Services. So in a first step that has nothing to do with SAP HANA itself. Of course SAP HANA XS Advanced shares the same "Cloud Foundry base", but at the moment you have to use the Cloud Foundry CLI for deployment. Maybe you wanna check a blog post of me (https://blogs.sap.com/2016/09/05/hcp-cloud-foundry-playing-around-with-node-mongodb-and-ui5/) where I described a little example. What IDE/editor you are using is not really relevant. I used Visual Studio code for instance, but of course the same is possible using Eclipse.