Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Showing results for 
Search instead for 
Did you mean: 
This blog is for for Beginner. This is the first step to Learn the Modeling in HANA.

Before we start we need to create the HANA MDC Database on HCP Trial Account.

Create a tenant database on trial landscape

  1. Log on to the SAP HANA Cloud Platform cockpit

  2. Navigate to  PersistenceDatabases & Schemas →  Choose New.

  3. Enter Schema ID

  4. Choose  HANA MDC (<trial>) option as Database System . Enter the SYSTEM User Password and Confirm Password then  Choose Save.

  5. Database creation will take time. wait for while . ( you check the database creation progress under Events.)

  6. Click on “Development Tools SAP HANA Web-based Development Workbench” option. In next Tab Make the HANA Logon. Enter the Username “system” and password <”Enter the credential which you have entered in step4”>.

  7. In the Administration Cockpit click on “Security” option.

  8. Click on + sign under Granted Roles and  search for “Developer”.  Add the Developer Role and click on Save.

Now Navigate back to HANA Administration cockpit and Select “Editor” option.

  1. Create the Package “DemoUnion”.

  2. Provide the Package Name and Description.

  3. Create File “.xsaccess” under the package and click on Insert snippet.

  4. Create another file “.xsapp” and on Insert snippet.

  5. Create file “unioning.hdbschema”. Click on Insert Snippet option and change the schema name to schema_name = "Custom";

  6.  Create file “uniontable.hdbdd” to define the tables.


  1. Now Navigate to Security option and provide the access to custom created schema.

Click on save.

  1. Click on  Catalog option.


  1. Go to Editor window .Click on project folder and create a new file with name unionDemo.xsodata .

Note : Without creating .xsodata file we can perform all the steps.



  1. Right click on the newly created .xsodata file and click on open odata explorer.

  •  Select  TeamA1 and Click on generate data.



  • Click on generate. This will generate random data in the table.

  • Do the similar activity for TeamB1 to create dummy data.


  1. Create a calculation view . Right click on project folder and select Dimension in the data category selection box.


  1. Click on Union option and Add the previously created 2 tables.

  2. Perform the Mapping of  ID , Name and Role attribute as  shown in Image.

  3. Click on Union (Under Projection ) and map the attributes.

And finally Click on Run. You will get the Data of both the tables .


Congratulations you have done the First step of Modeling ….. 🙂

Labels in this area