SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Configure a Space to Develop on a Tenant Database (XS Advanced)

Assign a tenant database to a space.

Overview

🎓 beginner 15 min. SAP HANABeginnerExpress EditionSAP Web Ide
Thomas Jung T Thomas Jung November 1, 2022
Created by January 20, 2018
Contributors

Prerequisites

Prerequisites

  • Proficiency: Beginner
  • You have access to SAP HANA on premise or SAP HANA Express – This tutorial will not work with HANA Cloud
  • SAP HANA, express edition already comes with a tenant database called HXE. If you are using a different deployment, you can create a tenant database following this guide
  • SAP HANA, express edition already comes with a development space. If you want to create a separate one or are using another deployment, you can create a space as explained on this tutorial.
  • You have the proper administration rights

Steps

Intro

Note: SAP HANA, express edition, comes with a default first tenant called HXE and an XS Advanced space called development. If you are already using the development space, make sure you re-create the database services to point at the tenant database.


Step 1 Option 1: Using the command line
โ€”

Log in to the XS Advanced CLI as XSA_ADMIN. Use command xs-admin-login from the prompt in the virtual machine as hxeadm

CLI login
CLI login

Note: If you are not using the command line from the operating system in the virtual machine, use command xs login -a <https://hxehost:39030> --skip-ssl-validation or adapt it to your deployment.

CLI login
CLI login

Use the following commands to map the HXE tenant to the development space in the organization HANAexpress. Replace the values with the appropriate ones if you are using a different deployment

Text
xs enable-tenant-database HXE

Once you get confirmation of the mapping, use the following command to complete the mapping:

Text
xs map-tenant-database -o HANAExpress -s development HXE

Note: Unless you have changed them, the passwords for the user SYSTEM in both SYSTEMDB and the tenant are the master password you set during setup.

###Mark the rest of the steps as done and complete the validation in step 5.

Step 2 Option 2: Log in to the XS Advanced Administration
+
Step 3 Enable the tenant DB
+
Step 4 Assign the tenant to the space
+
Step 5 Validation
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Option 1: Using the command line 2. Option 2: Log in to the XS Advanced Administration 3. Enable the tenant DB 4. Assign the tenant to the space 5. Validation

Learn more →