Skip to Content
0

Node JS - SAP HANA ECLIPSE

Apr 09, 2017 at 02:09 AM

138

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Florian Pfeffer
Apr 09, 2017 at 05:51 AM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

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 .

28317-sap-hcp.png (28.2 kB)
0

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.

0