Skip to Content
Author's profile photo Sven Kohlhaas

General Availability of the XS Advanced Programming Model with Cloud Foundry on SAP Cloud Platform

Hi everyone,

As you might have heard today during SAPPHIRE NOW in Orlando or already experienced in our updated SAP Cloud Platform Cockpit, we just announced the general availability of our Cloud Foundry-based environment on SAP Cloud Platform . This includes an SAP HANA as a Service offering which enables the XS Advanced Programming Model now also on SAP Cloud Platform.

If you don’t know the XS Advanced Programming Model, it’s a SAP HANA native programming model replacing the XS Classic Programming Model. The XS Advanced Programming Model was introduced on-premise with SAP HANA 1 SPS 11 in 2015, with the major new application server architecture: SAP HANA extended application services, advanced model (XS Advanced) . This new architecture is based upon Cloud Foundry and brings many of the benefits of Cloud Foundry to SAP HANA on-premise.

Picture 1: On-premise (left) and in the cloud (right)

Having the XS Advanced Programming Model available on SAP Cloud Platform makes it now possible to deploy, run and scale applications developed with this programming model also in the cloud. A showcase for an application taking this new path from SAP HANA on-premise to SAP Cloud Platform is SAP Big Data Margin Assurance, a solution to analyse customer margins in the Telco industry.

SAP Big Data Margin Assurance is developed after the XS Advanced Programming Model and generally available on-premise in SAP HANA, and the XS Advanced Runtime there, for a year already. As a pilot, the application has now been also deployed in the cloud in SAP Cloud Platform, and the Cloud Foundry environment there. It is planned that a beta version of SAP Big Data Margin Assurance on SAP Cloud Platform will become available in Q3 2017 and to make the product generally available in SAP Cloud Platform in Q4 2017.*

All the best,

Sven

* This is the current state of planning and may be changed by SAP at any time without notice.

Assigned tags

      23 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Gregory Misiorek
      Gregory Misiorek

      Hi Sven,

      I apologize if this has already been answered elsewhere, but are you aware of when HXE 2.0 is going to be available on CAL? I have already asked this question elsewhere, but it's really hard to get any good answers in the community these days.

      Thank you, greg

       

      Author's profile photo Sven Kohlhaas
      Sven Kohlhaas
      Blog Post Author

      Hi Gregory,

      please have a look here https://blogs.sap.com/2017/04/20/sap-hana-express-edition-2.0-sps-01-now-available-to-download./ , the answer is as Rudi stated "Hi.   We don’t have an ETA yet, but are working on it.   Will post an update when we put it up there.", he's the best person to contact on this.

      All the best,

      Sven

      Author's profile photo Gowthami Bhogireddy
      Gowthami Bhogireddy

      Hello Sven

      Isn't cloud foundry available for trial accounts 🙁 ?

      Author's profile photo Sven Kohlhaas
      Sven Kohlhaas
      Blog Post Author

      Hi Gowthami,

      it is, please go here https://account.hanatrial.ondemand.com/cockpit , log on, go to home if you are not already there, and click on start Cloud Foundry trial, then select the region you want to use to start your Cloud Foundry trial.

      All the best,

      Sven

      Author's profile photo Gowthami Bhogireddy
      Gowthami Bhogireddy

      Hello Sven

      I have got until there 🙂

      But will I not be able to create a tenant database there? The option to create one is disabled. Is there a way to link my trial HANA MDC db to this new region?

       

      Author's profile photo Sven Kohlhaas
      Sven Kohlhaas
      Blog Post Author

      Hi Gowthami,

      due to a much higher than expected demand for this service in our trial environment we are facing some issues, we will address them as soon as possible.

      All the best,

      Sven

      Author's profile photo Gowthami Bhogireddy
      Gowthami Bhogireddy

      Hi Sven,

      Thanks for the info. Will be awaiting an update on this 🙂

      Is this not available for enterprise accounts? When I try cloud foundry trial on an enterprise account, it is re-directing me to trial account.

      Author's profile photo Sven Kohlhaas
      Sven Kohlhaas
      Blog Post Author

      Hi Gowthami,

      Cloud Foundry is also available on enterprise accounts, there everything with the HANA works fine, but there you have to pay for it. If you want to explore the trial, this only works in trial accounts.

      With this update we introduced also this differentiation between:

      • Trial Account, free, no productive use, no SLAs, etc.
      • Enterprise Account, paid, productive use, SLAs, etc.

      All the best,

      Sven

      Author's profile photo Former Member
      Former Member

      Hi Sven,

       

      The option to create a tenant HANA DB is still disabled for the CF trial environment.

      Is there any update on when we would be able to work with it in the trial account.

       

      Thanks,

      Sagar J.

      Author's profile photo Sven Kohlhaas
      Sven Kohlhaas
      Blog Post Author

      Hi Sagar,

      for trial accounts we currently have a shared hana service available in the Cloud Foundry environment. To use that please go in your space to the service marketplace -> hanatrial -> create service instance (next, next, next, finish) -> bind application, for reference see https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/f22029f0e7404448ab65f71ff5b0804d.html and what is linked from there. It works like you would use another Cloud Foundry service like PostgreSQL. Full SAP HANA database systems with the ability to create tenants are currently only available for enterprise accounts in the Cloud Foundry environment.

      All the best,

      Sven

      Author's profile photo Former Member
      Former Member

      Hi Sven,

       

      I did try creating an instance of the service - hanatrial on the trial account, but when created, the dashboard URL is not displayed to access the DB.

       

      Thanks,

      Sagar J.

      Author's profile photo Sven Kohlhaas
      Sven Kohlhaas
      Blog Post Author

      Hi Sagar,

      yes, we don’t have the HANA Cockpit 2.0 yet for the Cloud Foundry environment but you can use the Cloud Foundry CLI to interact with the service instance (e.g. bind it). To install the Cloud Foundry CLI please see https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/4ef907afb1254e8286882a2bdef0edf4.html .

      All the best,

      Sven

      Author's profile photo Lucian Moldovanu
      Lucian Moldovanu

      Hi,

      I find no documentation yet on using the "hanatrial" (hdi-shared) backing service available in HCP, especially from the perspective of desing-time artifacts (HDI). Creating the service via "cf create-service hanatrial hdi-shared ..." seems to work, but I have no success yet deploying the "@sap/hdi-deploy" app. What I currently do is deploy a separate app for the DB (alongside the target app, which is NodeJs, and which depends on the DB app), and with the app I ship the HDI artifacts (/db/src/...).

       

      Can you please indicate how HDI should work with "hdi-shared" backing service in CF?

      Thank you!

      Author's profile photo Sven Kohlhaas
      Sven Kohlhaas
      Blog Post Author

      Hi Lucian,

      please have a look into our SAP HANA documentation here:

      https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.01/en-US/eaa4e37394ea4efba8148d595d025261.html

      In that section and it's subsections you find what you are looking for. Currently, for the SAP HANA-specific topics it often makes sense to also look into the SAP HANA documentation. We are enhancing the SAP Cloud Platform documentation with those topics or at least links to them as well but this might not have happened at all places, yet.

      All the best,

      Sven

      Author's profile photo Former Member
      Former Member

      Hi Sven,

       

      I've been trying to create an instance of the rabbitmq service but I'm getting an error saying "Not entitled to create service instance" even though I have all the roles assigned to Me both at the org and space level, have already posted this as a question on SCN.
      This service was working fine a few days back, but appears to have some issues lately or something that I might be doing wrong :).

       

      Can you please help Me understand the root cause of the error specified in the question.

       

      Thanks,

      Sagar J.

      Author's profile photo Sven Kohlhaas
      Sven Kohlhaas
      Blog Post Author

      Hi Sagar,

      not entitled means, that you do not have enough quota. Please check your quota management, you find it when you are on global account level. With a trial account you have a quota of 1 RabbitMQ instance that you can have. Please stop/delete existing instances, then it should work again.

      All the best,

      Sven

      Author's profile photo Former Member
      Former Member

      Hi Sven,

       

      For the trial account that I'm using, there are no instances of rabbitmq service that are active.

       

      I also tried deleting all other service instances and then creating an instance of the rabbitmq service, but still it didn't work.

       

      Thank,

      Sagar J

      Author's profile photo Sven Kohlhaas
      Sven Kohlhaas
      Blog Post Author

      Hi Sagar,

      not sure why you are experiencing this then, for me everything is working fine on my trial account. Perhaps post a detailed question with screenshots here in the community.

      All the best,

      Sven

      Author's profile photo Andrew Lunde
      Andrew Lunde

      For those interested in XS-Advanced development with python, check out this post.

       

      https://blogs.sap.com/2017/08/03/xsa-python-buildpack-and-mta-example/

       

       

      Author's profile photo Koray Yersel
      Koray Yersel

      Hi Sven,

      Great blog thanks. There is no plan to support XS Advanced in Neo environment, is that right?Meaning if you decide for Neo you can only use the deprecated XS Classic.  I couldn't find any information regarding to that. This also suggest that XS Advanced is only meant for CF:

      https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/ab512c3fbda248ab82c1c545bde19c78.html

      Thanks and Regards,

      Koray

      Author's profile photo Sven Kohlhaas
      Sven Kohlhaas
      Blog Post Author

      Hi Koray,

      as the XS Advanced Runtime is more or less "a Cloud Foundry tailored to HANA on-prem.", it wouldn't really make sense to offer this in SAP Cloud Platform in the Neo environment. In the cloud we don't have the XS Advanced Runtime but Cloud Foundry directly as our runtime. What we have in both worlds is the XS Advanced programming model. On-prem. we have this with the XS Advanced Runtime and in the cloud we have this with the Cloud Foundry environment. Therefore, if you want to use the XS Advanced programming model in the cloud, you use the Cloud Foundry environment.

      All the best,

      Sven

       

      Author's profile photo Tapishnu Sengupta
      Tapishnu Sengupta

      Hi Sven,

      I have a Hana XSA system with HDI in CF. My purpose is to create Calculation Views based on the tables which are deployed in the mentioned system.

      Though I am not able to create Calculation Views . I have connected through Hana Studio with Chisel as the proxy provider.

       

      My question is how can we create Calculation view in this scenario?

      Can we do this through web Ide ?

      I am not sure whether we have a  dedicated web ide in CF .

       

      Any help is appreciated.

       

      Best Regards,

      Tapishnu Sengupta

       

      Author's profile photo Sven Kohlhaas
      Sven Kohlhaas
      Blog Post Author

      Hi Tapishnu,

      for this scenario please use SAP Web IDE Full-Stack in the cloud or SAP Web IDE for SAP HANA on-premise. To SAP Web IDE Full-Stack you get via the Neo Environment and the Services overview there and besides the SAP Web IDE for Frontend Development you will find the new SAP Web IDE for Full-Stack Development in a second tile. Please use this one to develop for the Cloud Foundry environment. The documentation for SAP Web IDE Full-Stack can be found here and the specific part to develop DB artifacts here.

      All the best,

      Sven