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

Importing Required Calculation Views

Conversion and importation of calculation views for Dynamic Tiering

Overview

🎓 beginner 15 min. SAP HANA Dynamic TieringBeginnerSAP HANASAP HANA StudioBig DataSql

You will learn

  • โœ”How to import information views to SAP HANA Studio
  • โœ”How to activate your imported views
Unknown U Unknown November 14, 2022
Created by May 23, 2017
Contributors

Prerequisites

Prerequisites

  • Tutorials: [Adding Analytic Privileges and the SAP HANA Modeler Perspective]
  • Files: Download the Data Files zip: https://s3.amazonaws.com/sapiq/Dynamic+Tiering+Quick+Start+Guide/SAP+HANA+Dynamic+Tiering+Quick+Start+Guide+-+Supporting+Files.zip and decompress it to get the individual data files. These “CSV” data files contains the data for their respective tables and is needed for the import procedure. Copy all the data files into the “/hana/shared/<SID>/HDB00/work/TPCH_DATA/” directory on your HANA Dynamic Tiering host ("<SID>" is your system’s System Id). This directory also assumes that you are using instance “00”. The actual directory format is: “/hana/shared/<SID>/HDB<instance_number>/<workspace_name>/TPCH_DATA” and the typical workspace name is “default”.

SAP HANA studio offers a migration wizard for this task. We will guide you through this process.

Steps

Intro

Extended Tables in Dynamic Tiering can only be used in information models that consist solely of calculation views. If you have an existing data model that is built from the three classical HANA information view types (attribute views, analytic views and calculation views), you will have to convert the data models to a representation that consists only of calculation views.

Time to Complete

10 Min


Step 1 Importing Required Views
โ€”

We will need to import some pre-defined views. Click File in the top-right corner, and then Import.

File > Import
File > Import

Next, under the SAP HANA Content, select Developer Mode. Then, click Next.

Developer Mode
Developer Mode

Choose the HANA system that you used for the tutorial in the Prerequisite section, and click Next. In this tutorial, we selected the PM1@PM1 (TPCH) system - your selection will match your HANA system ID.

Select Target System
Select Target System

We will now choose the files to import. Click on Browse, and select the PM2 folder. If you haven’t already extracted the PM2 folder to the machine where you are running HANA Studio, which is located in the supplementary file package found under the prerequisites, you will need to do so now in order to import the required views. Click OK.

Browse for PM2 Files
Browse for PM2 Files

Confirm that you have successfully selected the required package. Expand the drop down arrow for both “Content” and “tutorial”. You should see 3 folders of each information view type, with a total of 4 files. Select the package “tutorial” and click Add.

Add tutorial package
Add tutorial package

The files should now appear in the right hand window. Finish to import these views.

Packages added for tutorial
Packages added for tutorial

It may take a while to import. Once it is complete, go over to your Systems navigation panel, and refresh the Content directory, by right-clicking the Content folder and selecting Refresh.

Open it up, and you should be able to see the attribute, analytic, and calculation views you have just imported.

Views Imported
Views Imported

Step 2 Activate Imported Views
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 2
1. Importing Required Views 2. Activate Imported Views

Learn more →