What is SAP HANA Studio?
SAP HANA Studio is an Eclipse based, integrated development environment (IDE) for development and administration of SAP HANA Database in the form of GUI tool.
SAP HANA Studio runs on client/developer machine and connects to SAP HANA Server. SAP HANA Studio can access local or remote SAP HANA Database.
By using SAP HANA Studio we can –
- Enables user to manage the SAP HANA Database.
- Create and manage user authorizations.
- Create New or modify existing models of data.
In this tutorial, you will learn-
SAP HANA Studio runs on below platform –
Microsoft Windows x32 and x64 versions-
- Window XP
- Window Vista
- Window 7
- Window 8
- SUSE Linux Enterprises Server: x86 64 Bit version, Red Hat Enterprises Linux (6.5).
- Mac OS 10.9 or Higher.
- JAVA JVM – During Installation and updating of SAP HANA Studio, a JVM is installed or updated.
- SAP HANA Client – It is software, by which you will be able to connect any other database, application.
- SAP HANA Client can be installed on UNIX / Linux and Microsoft Windows and also on SAP HANA Server host during server installation. SAP HANA Client installed separately from SAP HANA studio.
The default installation on system path according to OS and their version is as below –
- Microsoft Window (32 & 64 bit)- C:\Program files \sap\hdbstudio.
- Linux x86, 64 bit - /user / sap / hdbstudio.
- Mac OS , 64 bit - /Applications / sap / hdbstudio.app
You can download SAP HANA Studio and SAP HANA Client from here
Select File To Download according to your OS –
Install SAP HANA Studio in the default directory with administration privileges or in user home folder without administration privileges.
Click on hdbsetup.exe for installing SAP HANA studio.
A SAP HANA Lifecycle Management Screen appears.
Default installation folder is C:/Program Files / SAP / hdbstudio.
Step 1) Define Studio Properties
Select Features screen appear as below –
Step 2) Select features
- Select Features screen are used to select features.
- Select Feature as below -
- SAP HANA Studio Administration – Toolset for various administration task, Excluding Transport.
- SAP HANA Studio Application Development – Toolset for developing SAP HANA native Applications (XS and UI5 Tools excluding SAPUI5).
- SAP HANA Studio Database Development – Toolset for content development.
Step 3) Review and Confirm
Step 4 & 5) Install Software and Finish.
- Installation Progress screen appear and after it goes to finish page.
- A Message "You have successfully installed the SAP HANA Studio".
- Click on button.
Now, go to Default installation folder is "C:/Program Files / SAP / hdbstudio".
There is hdbstudio.exe file, by right clicking on it, you can create a shortcut on the desktop.
When you click "hdbstudio.exe" file, it will open Workspace Launcher screen displayed below.
- Workspace is selected by default. We can change Workspace location by Browse option. Workspace is used to store studio configuration settings and development artifacts.
- Select "Use this as the default and do not ask again" option to prevent popup this screen every time for workspace selection when we open SAP HANA Studio.
- Click Button.
In the Welcome screen different perspective is displayed, Detail of each perspective is as below –
This screen is used to configure, administration and monitoring the SAP HANA Database. Several View and editor are available in SAP HANA Administration Console.
System View Toolbar is used for Administration; it looks like as below –
Below is a Table showing System-level editors and views available in SAP HANA Administration Console.
This perspective is used to create modeling objects, database object management in SAP HANA System. This perspective used by modelers for the following activity –
- Create / Modify Tables, Functions, Indexes, View, Sequences, Synonym, Trigger, Views.
- Create Modelling object like Attribute View, Analytic View, Calculation View, Analytic Privileges, Procedures and Decision Table.
- Data Provisioning to SAP HANA database from SAP / NonSAP Source through SLT, BODS, DXC.
This Perspective is used to develop an application on HANA for the web environment. In this Perspective programming language is used – JAVA Script, J Query, ODATA, etc.
This screen is used to Install and Update software regarding SAP HANA Database and SAP HANA Studio. Lifecycle management is also used to transport an object from one HANA system to another HANA System.
To work with SAP HANA Database user needs to be connected with SAP HANA database from SAP HANA Studio. So we build a connection to SAP HANA DATABASE as below –
Step 1) Click on "Add System" icon from System Toolbar as below-
Step 2) Provide the following detail as below –
- Host Name – Enter SAP HANA database here.
- Instance Number – Two Digit Instance number.
- Description – Description of the system for better understanding
- Click on button.
A connection properties screen appears in which we need to enter SAP HANA Database User and Password.
- Enter Username and Password for SAP HANA Database for access it from SAP HANA Studio.
- Click button.
If there is no error, then the connection is successful, and System name is added in SAP HANA Studio under System Node.
To login in SAP HANA Database through SAP HANA Studio, follow below steps-
- Click on Added System. Here" DB (HANAUSER)".
- A popup screen for User Name/ password. Enter User Name and Password for HANA Database.
- Click on Ok button.
After Login to SAP HANA Studio, We get below screen for selected HANA System.
In Hana Studio under HANA System following sub-nodes exits-
SAP HANA Studio Catalog node represent SAP HANA data dictionary, in which Database object (Table, View, Procedure, Index, Trigger, Synonyms, etc.) stores in Schema Folder. When the user is created in SAP HANA, Schema of the same name will be created in SAP HANA Database by default. This is a default schema of user when a user creates any database object. Schema is used to group database object.
Schema defines a container that hold database objects such as Table, Views, Trigger, Procedure, Sequence, Function, Indexes, Synonyms, etc.
Schema can be created in SQL Editor by below SQL-
CREATE SCHEMA "SCHEMA_NAME" OWNED BY "USERNAME".
Here "SCHEMA_NAME" AND "USERNAME" Should be changed according to Requirement. After Refresh Catalog Node Newly Created Schema will be displayed.
I have created Schema "DHK_SCHEMA" by it in-front SQL.
All Database Object are stored in respective folder of Schema as below –
Provisioning is used for selecting source Meta data and importing metadata and data into SAP HANA.
There are two categories of provisioning, they are -
- SAP HANA In-Built Tool (Flat file, Smart Data Access, Smart Data Streaming, etc.)
- External Tools (SLT, BODS, DXC, etc.)
In SAP HANA Studio Provisioning node, SAP uses a new feature called, "Smart Data Access" which is Built in Tool.
Smart Data Access combines data from heterogeneous data sources like Hadoop, Teradata, Oracle, and Sybase.
Data from different sources will store in SAP HANA database as "Virtual Table". The restriction with virtual tables is, it can be only used to build calculation views in SAP HANA.
Content Node is Design Time Repository, which hold all information of data models in the package. All information view e.g.(Attribute View, Analytic View, Calculation View, etc.) will be created in Package under Content Node.
The package is used for grouping related information object in a structured way. The package can be created by clicking right click on Content Node ->New->Package.
Security Node in SAP HANA Studio contain 3 Sub-node, they are –
- Security – Used for Create User Audit Policy, Password Policy, etc.
- Users – Used for create/Modify/Delete user. Role and Privileges will also grant to user from this screen.
- Roles – Used for Create/Modify/ delete Roles. Privileges are added/deleted from here to Role.