Skip to Content
0

HCP server side code

May 11, 2017 at 09:16 AM

141

avatar image

What are the options to run server side code in HCP (trial)? XS seems to not work with HCP? So is it Java only?

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

2 Answers

Anton Levin
May 11, 2017 at 09:26 AM
0

Hello Kirill, on Trial you may use HANA MDC [1], this will also give you XS engine. Regards, Anton

[1] https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/38686b0610404a5e9c261d189cc33cb9.html

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

Anton, the point is I'm trying to get full leverage of HCP integration. HANA MDC is a different platform as far as I'm concerned. What are the available options to run server side code on HCP?

0

It is not a separate platform. You make use of MDC on SAP Cloud Platform (btw HCP abbreviation is deprecated). With that one you may host your HANA native apps (XS apps) [1] on SAP Cloud Platform. As you already mentioned Java would be another alternative [2]. Or HTML5 apps [3]

[1] https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/48be066aea98444188544d68714bbf3b.html

[2] https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/9bd4dd19aef947b58eadf688ccc90de7.html

[3] https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/39723061bc4b4b679726b120cbefdf5a.html

1
Luca Manassero May 11, 2017 at 12:35 PM
0

Hi Kirill,

If you're using a SAP Cloud Platform (it's not called HCP anymore...) trial account, then you have only two options:

- SAP HANA XS Classic (not the Advanced, which will hopefully be available later on this year)

- Java

SAP HANA XS Classic means of course developing in server side JavaScript (.xsjs) using either the SAP HANA Studio on Eclipse or the SAP HANA Web Development Workbench.

I can confirm that XS works perfectly under the trial account, BUT to access XS you need to use the two IDE's I mentioned above and NOT the SAP Web IDE.

Hope it helps,

Luca

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

Hey, Luca. My XS app pannel looks like this. I didn't find any clues on how to make XS work inside a HTML5 app either. When I call xsjs files, it just serves it's as static resouse (downloads a file).

xs.png (28.3 kB)
0

Please, follow online documentation -> first link a posted above [1] https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/48be066aea98444188544d68714bbf3b.html -> SAP HANA: Getting Started -> Create -> Prerequisite is "SAP HANA MDC database in your trial account" (my initial comment)

1

Anton, yes I have Hana MDC on that instance. I know how to create XS apps on Hana. I was wondering if XS apps work for the cloud account? Is it depricated? Is not working for Trial account only?

0

Yes, they do work for the cloud account (also on trial)

1