From 496e43081cd40392205fcc33da25cc98447ee03e Mon Sep 17 00:00:00 2001 From: Eckart Liemke Date: Wed, 7 Oct 2026 13:22:54 +0200 Subject: [PATCH 1/3] hanatms profile in mta.yaml --- guides/multitenancy/index.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/guides/multitenancy/index.md b/guides/multitenancy/index.md index a66e2c948..38fac1e1a 100644 --- a/guides/multitenancy/index.md +++ b/guides/multitenancy/index.md @@ -1020,6 +1020,36 @@ Example: ``` If you set the `CDS_ENV` environment variable to `hanatms`, the application uses HANA TMS v2 after the next restart. +You can use the profile also to add the `hana_tenant_prefix` and `database_id` for the [individual deployment descriptor](#configure-mtxs-for-tenant-management-service)(`mta.yaml` or `mtaext.yaml`): +```yaml +- name: application-mtx +... + properties: + CDS_CONFIG: | + { + "requires": { + "[hanatms]": { + "cds.xt.DeploymentService": { + "hdi": { + "create": { + "hana_tenant_prefix": "application-prefix", + "database_id": "..." + } + } + } + }, + "cds.xt.DeploymentService": { + "hdi": { + "create": { + "database_id": "..." + } + } + } + } + } +... +``` + ## SaaS Dependencies {#saas-dependencies} Some of the xsuaa-based services your application consumes need to be registered as _reuse services_ to work in multitenant environments. This holds true for the usage of both the SaaS Registry service and the Subscription Manager Service (SMS). From d0bcafec70666c8e892c67ac5f371bd2cae6461b Mon Sep 17 00:00:00 2001 From: ecklie <52252271+ecklie@users.noreply.github.com> Date: Wed, 7 Oct 2026 13:30:12 +0200 Subject: [PATCH 2/3] Update guides/multitenancy/index.md Co-authored-by: hyperspace-pr-bot[bot] <209611008+hyperspace-pr-bot[bot]@users.noreply.github.com> --- guides/multitenancy/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/multitenancy/index.md b/guides/multitenancy/index.md index 38fac1e1a..05bfae5c2 100644 --- a/guides/multitenancy/index.md +++ b/guides/multitenancy/index.md @@ -1020,7 +1020,7 @@ Example: ``` If you set the `CDS_ENV` environment variable to `hanatms`, the application uses HANA TMS v2 after the next restart. -You can use the profile also to add the `hana_tenant_prefix` and `database_id` for the [individual deployment descriptor](#configure-mtxs-for-tenant-management-service)(`mta.yaml` or `mtaext.yaml`): +You can also use the `hanatms` profile to set `hana_tenant_prefix` and `database_id` in an [MTA deployment descriptor](#configure-mtxs-for-tenant-management-service), such as `mta.yaml` or `mtaext.yaml`: ```yaml - name: application-mtx ... From dd3361cb501e9444127aeb27a844c6681a35de79 Mon Sep 17 00:00:00 2001 From: ecklie <52252271+ecklie@users.noreply.github.com> Date: Wed, 7 Oct 2026 13:30:50 +0200 Subject: [PATCH 3/3] Update guides/multitenancy/index.md Co-authored-by: hyperspace-pr-bot[bot] <209611008+hyperspace-pr-bot[bot]@users.noreply.github.com> --- guides/multitenancy/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guides/multitenancy/index.md b/guides/multitenancy/index.md index 05bfae5c2..62e4bba9a 100644 --- a/guides/multitenancy/index.md +++ b/guides/multitenancy/index.md @@ -1023,9 +1023,9 @@ If you set the `CDS_ENV` environment variable to `hanatms`, the application uses You can also use the `hanatms` profile to set `hana_tenant_prefix` and `database_id` in an [MTA deployment descriptor](#configure-mtxs-for-tenant-management-service), such as `mta.yaml` or `mtaext.yaml`: ```yaml - name: application-mtx -... - properties: - CDS_CONFIG: | + ... + properties: + CDS_CONFIG: | { "requires": { "[hanatms]": {