Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 33

SAP HANA Studio

Overview
1) HANA Studio is an Eclipse-based, integrated development
environment (IDE) that is used to develop artifacts in a HANA server.

2) It enables technical users to manage the SAP HANA database, to


create and manage user authorizations, to create new or modify
existing models of data etc.

3) It is a client tool, which can be used to access local or remote


HANA system.
SAP HANA Studio
SAP HANA Studio
The SAP HANA studio can be used by variety of users like:

1) System administrators utilize the SAP HANA studio, for example,


to start and stop servers, to monitor the system, to configure system
settings and to manage users and security, amongst various other
things.

2)Developers utilize the SAP HANA studio to create content such as


data models (views), tables, JavaScript, HTML, stored procedures
etc.
SAP HANA Studio
Supported Platforms:
The SAP HANA studio runs on the Eclipse platform 3.6.
We can use the SAP HANA studio on the following
platforms:
a) Microsoft Windows x32 and x64 versions of: Windows
XP, Windows Vista, Windows 7
b) SUSE Linux Enterprise Server SLES 11: x86 64-bit
version

Note: For Mac OS, HANA studio is available but there is


no HANA client for that.
SAP HANA Studio
System Requirements:
1) Java JRE 1.6 or 1.7 must be installed to run the SAP
HANA studio.
2) The Java runtime must be specified in the PATH
variable.
3) Make sure to choose the correct Java variant for
installation of SAP HANA studio:
a) For a 32-bit installation, choose a 32-bit Java variant.
b) For a 64-bit installation, choose a 64-bit Java variant.
SAP HANA Studio
 Add an HANA System in SAP HANA Studio :

1) In order to connect to a SAP HANA system we need to know the


Server Host ID and the Instance Number.

2) Also we need a Username & Password combination to connect to


the instance.

3) The left side Navigator space shows all the HANA system added
to the SAP HANA Studio.
SAP HANA Studio
Steps to add new HANA system:
1 ) Right click in the Navigator space and click on Add System.
SAP HANA Studio
Enter HANA system details, i.e. the Hostname & Instance Number
and click Next.
SAP HANA Studio
Enter the database username & password to connect to the SAP
HANA database. Click on Next and then Finish.
SAP HANA Studio
The SAP HANA system now appears in the Navigator.
SAP HANA Studio
SAP HANA Studio Perspectives :

1) The SAP HANA studio provides an environment for


Administration, Modeling and Data Provisioning.

2) There are several predefined User Interface layouts addressing


several applications types called Perspectives.

3) In HANA Studio every HANA system has two main sub-nodes,


Catalog and Content.
SAP HANA Studio
Modeler perspective:
Provides views and menu options that enable you to define your
analytic model, for example, attribute, analytic, and calculation views
of SAP HANA data.

SAP HANA Development perspective:


Provides views and menu options that enable you to perform all the
tasks relating to application development on SAP HANA XS, for
example: to manage application-development projects, display
content of application packages, and browse the SAP HANA
repository.
SAP HANA Studio

The Debug perspective:

Provides views and menu options that help you test your
applications, for example: to view the source code, monitor or modify
variables, and set break points.

Administration Console perspective:

Provides views that enable you to perform administrative tasks on


SAP HANA instances.
SAP HANA Studio
Catalog :

1) The Catalog represents SAP HANA’s data dictionary, i. e. all data


structures, tables, and data which can be used.

2) All the physical tables and views can be found under the Catalog
node.

3) This node contains a list of Schemas which a used to categorize


tables according to user defined groupings.
SAP HANA Studio
Content :

The Content represents the design-time repository which holds all


information of data models created with the Modeler.

Physically these models are stored in database tables which are also
visible under Catalog.
SAP HANA Studio
Provisioning: 
Provisioning is used for selecting source Meta data and importing
metadata and data into SAP HANA.
There are two categories of provisioning, they are -
1) SAP HANA In-Built Tool (Flat file, Smart Data Access, Smart Data
Streaming, etc.)
2) External Tools (SLT, BODS, DXC, etc.)

Security: 
This is mostly for security consultants to maintain users and roles
according to your role in the project – Developers, administrators,
testers and so on.
SAP HANA Studio
HANA Studio Toolbar :
SAP HANA Studio
What is ADT & need of ADT :
1) ABAP Development Tool is the full form of ADT. ADT provides
eclipse base ABAP Integrated Development Environment (IDE).

2) ADT does not come by default. It has to be installed as a plug-in on


Eclipse (in Studio -> Help -> Add New Software).

3) We need ADT because with ADT in Eclipse, the HANA Studio


becomes super powerful.
4) You can connect to different ABAP systems from single
Eclipse User Interface. Isn’t it cool? With
5) ABAP perspective in the studio, you can implement end-to-end in-
memory solutions in Studio with the same UI. One entry point and
multiple benefits
SAP HANA Studio
Seems ADT does the same thing like SE80 T-code. Then why do
we really need ADT?
1) You are right. Both ADT and SE80 have same source code
repository and locking mechanism and thus both compliment each
other. 
2) But ADT is more powerful than SE80. Some advanced features
like creating external views for exposing HANA view to ABAP DDIC*
(external views), creating Database proxy procedures* are available
only when using ADT.

3) SE80 has been with SAP from birth. ADT is new and still has
some enhanced features.SAP is continuously working on more
exclusive features which would be possible only from ADT in future.
So, ADT is the future
SAP HANA Studio
How do we view ABAP programs in HANA Studio?

Check there is an ABAP program YSAPYard in ABAP system (Left


side). We can see the same program from our Project which is
connected to the same ABAP system. Expand the System
Library and go to your custom package and program.
SAP HANA Studio
SAP HANA Studio
Can we edit the same program in GUI and in HANA Studio
simultaneously?

 No, we cannot edit the same program simultaneously. Both ADT and


SE80 have same source code repository and locking mechanism (as
mentioned in answer 3), therefore, we cannot interfere when other is
editing it at the same time.
You get the below error in ADT if you try to edit the already opened
program (in GUI).
SAP HANA Studio
Comparison ADT & GUI :
SAP HANA Studio
Pattern Icon :

 use Ctrl + Space and Shift + Enter to insert the full signature.

Pretty Printer :
Go to Windows -> Preference -> ABAP Development -> Source
Code Editor -> Formatter to set up the formatting needs.

Shift + F1

Revision History :
See in Image
SAP HANA Studio
SAP HANA Studio
Transport Organizer

Transport Organizer in ADT for Eclipse enables ABAP developers to


perform the below Transport related operation through Studio.

i) Adding user to Transport request (TRs)


ii) Changing owner of TRs and tasks.
iii) Checking consistency
iv) Releasing and deleting TRs
SAP HANA Studio
Schema :
A database schema is a way to logically group objects such as
tables, views, stored procedures etc. Think of a schema as a
container of objects.
Types of Schemas :
There are 3 types of schemas.

1.User Defined Schema

2.System Defined Schema

3.SLT Derived Schema


SAP HANA Studio
User Defined Schema: 
These are created by user (DBA or System Administrator) .

SLT Derived Schema:  


When SLT is configured, it creates schema in HANA system. All the
tables replicated into HANA system are contained in this schema .

System Defined Schema:  


These schemas are delivered with the SAP HANA database and
contains HANA system information. There are system schemas like
_SYS_BIC, _SYS_BI, _SYS_REPO, _SYS_STATISTICS etc. 
SAP HANA Studio
_SYS_BIC:

This schema contains all the columns views of activated objects.


When the user activates the Attribute View/Analytic View/Calculation
View/Analytic Privilege /Procedure, the respective run-time objects
are created under _SYS_BIC/ Column Views.

_SYS_REPO:
Whatever the objects are there in the system is available in
repository. This schema contains the list of Activated objects,
Inactive Objects, Package details and Runtime Objects information
etc.
SAP HANA Studio
_SYS_BI:

This schema stores all the metadata of created column Views. 


It contains the tables for created Variables, Time Data (Fiscal,
Gregorian), Schema Mapping and Content Mapping tables.

_SYS_STATISTICS:
This schema contains all the system configurations and parameters.

_SYS_XS:
This schema is used for SAP HANA Extended Application Services.
SAP HANA Studio
SAP HANA Studio

You might also like