cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA Cloud Multi Environment Version - Binding against CAP App

rgadirov
Participant
0 Kudos
940

Dear SAP BTP & CAP experts,

as the the CF based HANA Cloud DB is now considered as deprecated and existing data bases automatically deleted, I created a new instance of the new mutli environment, de-coupled (of CF space) version of HANA Cloud. I would like to know now how to bind it against my application which previously was bound to the CF HANA Cloud. Is there any concrete guidance based on a real sample application? What changes need to be done to mta.yaml to access the newly created HANA Cloud instance. It worked well with the older version, but now after creation of multi environment version (even if space mapping via ORG ID and space guid provided) is not accessible or listed within BAS.

Can you please support?

Thank you in advance.

BR
Rufat

Accepted Solutions (1)

Accepted Solutions (1)

vansyckel
Advisor
Advisor
0 Kudos

Hi rufat

From a CAP perspective: Once you create the instance mapping (I even omitted the space ID), you can create a HDI container via CF CLI. Hence, there should be no difference when deploying via MTA. As before, you'll need to provide a database_id if you have multiple HANA instances available.

Best,
Sebastian

rgadirov
Participant
0 Kudos

Hi vansyckel,

thank you! It was indeed easier than I thought! I just created a new service instance of "SAP HANA Schemas & HDI Containers" via BTP cockpit manually. Afterwards, I bound my application within BAS via its "SAP HANA Projects" view against the newly created service instance. In my package.json I already have a script for deployment to HANA Cloud: "scripts": { "hana": "cds deploy --to hana: multienv_db --auto-undeploy", and I used it to deploy my artifacts directly to the new HDI container and it worked very well.

BR
Rufat


Answers (0)