1

Is there a way to run or debug an XSJS program in SAP HANA (Neo) using Eclipse Neon Release 4.6.3?

I have installed SAP plug-in in Eclipse and connected to the database in System view. However, I do not know how to execute the XSJS file.

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
KLX230
  • 17
  • 3

1 Answers1

2

I believe the only way is to create new XS project in Eclipse and deploy it, there is no way to execute standalone xsjs files.

Provided you installed SAP Hana Tools on your Eclipse environment you should create XS project according to standard procedure and then import your file into project by standard Eclipse toolset.

Use Neon repository for installation SAP Hana Tools

https://tools.hana.ondemand.com/neon/

Suncatcher
  • 10,355
  • 10
  • 52
  • 90
  • As you told me, I was able to create a new XS Project and run xsjs. I'm investigating a way to run an existing xsjs program. Thank you for the information. – KLX230 Nov 18 '19 at 04:32
  • Suncatcher is right: xsjs files are executed on the server only. More specifically by the XSEngine service that is part of the HANA server. It’s not possible to run those files locally. – Lars Br. Nov 18 '19 at 21:38