100% found this document useful (1 vote)
180 views57 pages

Sap Hana Overview

sap s4 hana overview

Uploaded by

s pradeep
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
180 views57 pages

Sap Hana Overview

sap s4 hana overview

Uploaded by

s pradeep
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 57

SAP HANA

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 1
Preface

All practical steps are provided as video’s.

Video’s are placed at desktop.

Please contact our Basis consultant.(Srinivas Reddy)

Please view videos and practice.

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 2
Contents

What is SAP HANA

HANA DB

HANA Studio/Platform

HCP

S/4 HANA

Modelling in HANA

ABAP on HANA

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 3
Overview

DATA provisioning in HANA

Using SLT

Using BODS

Migration to HANA

COPA Accelerators in HANA

Transport Management in HANA

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 4
Overview

What is HANA : SAP HANA, short for

“High-Performance Analytic Appliance” is an in-memory,


column-oriented, relational database management system
developed by SAP.
 Data now resides in main-memory (RAM) and no
longer on a hard disk.
 It is a combination of hardware and software made to
process massive real time data using In-Memory
computing.
 It combines row-based, column-based database
technology.

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 5
Overview

 It’s best suited for performing real-time analytics on


massive data, and developing & deploying real-time
applications.

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 6
Overview

What is in-memory database –


An in-memory database means all the data is stored in
the memory (RAM). No time wasted in loading the data
from hard-disk to RAM or storing the data in hard-disk.
Everything is stored inside memory for all the time,
which gives quick access ability to the CPUs while
processing data.

The speed advantages offered by this RAM storage system


are further accelerated by the use of multi-core CPUs, and
multiple CPUs per board, and multiple boards per server
appliance.

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 7
Overview

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 8
Overview

Row Store Vs Column Store


Relational databases typically use row-based data
storage. However Column-based storage is more suitable
for many business applications. SAP HANA supports both
row-based and column-based storage, and is particularly
optimized for column-based storage.

Row Storage – It stores table records in a sequence of


rows.

Column Storage – It stores table records in a sequence of


columns i.e. the entries of a column is stored in contiguous
memory locations.
 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 9
Overview

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 10
Overview

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 11
Overview

Which type of tables should be preferred –


Row-based or Column-based?
Row-based is the best for OLTP transactions
Column-based is the best for OLAP transactions because
aggregations/searching ‘s are used more in OLAP.
In row based tables all data stored in a row has to be
read even though the requirement may be there to
access data from a few columns. Hence, these queries on
huge amounts of data would take lots of times.
Ex: BSEG has more than 300 columns which are read for
each record even you may need 10 0r 20 columns in a
report.
 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 12
Overview

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 13
Overview

All data is in RAM. What happens when power goes down?

SAP HANA is an in-memory database which means all the


data resides in RAM. But there is also a disc memory just
for backup purpose.

In-memory computing is safe: The SAP HANA database


holds the bulk of its data in memory for maximum
performance, but still uses persistent storage to provide a
fallback in case of failure.

After a power failure, the database can be restarted like


any disk-based database and returns to its last consistent
state by replaying the log since the last savepoint.
 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 14
Overview

SAP HANA Landscape

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 15
Overview

With the help of technology like SLT replication, data can


be moved to HANA in real time.
It is also possible to copy data from SAP BW or other
database into SAP HANA.
In HANA, we can use modeling tool called HANA Studio
to build the logic and structures and use tools e.g. SAP
BusinessObjects, SAP Visual Intelligence to visualize or
analyze data.

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 16
Overview

SAP HANA inside Architecture

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 17
Overview

The SAP HANA database is developed in C++.


SAP HANA database consists of multiple servers and the
most important component is the Index Server.
The index server represents the core database process. It
contains the engines for processing data.

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 18
Overview

Index Server: Index server is the main SAP HANA


database component

It contains the actual data stores and the engines for


processing the data.

The index server processes incoming SQL or MDX


statements in the transactions.

XS Engine: XS Engine is an optional component.

The XS engine is a web application server inside the SAP


HANA system. It allows clients to access the SAP HANA
system via HTTP.
 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 19
Overview

SAP HANA Studio

SAP HANA is not only a DB but also a set of different


software tools/applications which can be used by
developers and database administrator to interact with the
database. These are:
1. SAP HANA Studio
2. Web Based Development and Administration Tools
SAP HANA studio is a software which makes connection
to SAP HANA DB (or)
HANA Studio is an Eclipse-based, integrated
development environment (IDE) that is used to develop
Artifacts in a HANA server.
 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 20
Overview

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 has developed Fiori Apps in which we can consume
these HANA views , tables…etc
 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 21
Overview

Download and Install SAP HANA Studio

Download SAP HANA Studio from SAP Service Market


Place:
or
Download SAP HANA Studio from Google

How to Open SAP HANA studio?

In Microsoft Windows:

Go to start menu

Start -> All Programs -> SAP HANA -> SAP HANA Studio
 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 22
Overview

Once HANA studio is opened, we need to add an HANA


server in SAP HANA Studio.
Open the word document given in class and follow the
steps.

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 23
Overview

Catalog and Content in HANA studio


In HANA Studio every HANA system has two main sub
nodes, Catalog and Content.

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 24
Overview

Content

Is the place where we create or design database objects


like Views, Tables, Procedures…etc

In short, here we do modeling.

All these Views, Tables, Procedures…etc must be stored


under a folder called as a Package.

Ex – SD Package, MM Package, FI Package.

Once we finish designing and activate them, Runtime


objects are generated and stored in Catalog.
 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 25
Overview

Catalog

Is the place where runtime objects are stored for each


table, view we create in Content area.

These runtime objects are stored into separate folders


called as Schemas.

So in SAP HANA Studio, when you open Catalog, you will


first see Schema; when you open Content, you will first see
packages.

Usually each user will have his own schema created by his
name automatically.
 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 26
Overview

Creating Table in SAP HANA


Please watch video

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 27
Overview

SAP HANA Modeling


Modeling refers to an activity of preparing or modeling
data in database tables by creating views to depict a
business scenario.
We create modeling views on top of database tables .
These modeling views can be consumed in SAP FIORI
Apps or Java or HTML based applications
You can also use SAP tools like SAP Lumira or Analysis
Office to directly connect to HANA and report modeling
views. It is also possible to use 3rd party tools like MS
Excel to connect to HANA and create your report.
 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 28
Overview

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 29
Overview

The modeling views are classified as:


1. Attribute Views
2. Analytic Views
3. Calculation Views
Attribute Views – A view built on master data or
Description/Text data is called Attribute View

In attribute views wedefine joins between tables and


select a subset or all of the table’s columns and rows.

Attributes view are further used in Analytic- and


Calculation Views.
 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 30
Overview

Customer information's together, its called Customer


Attribute View

Product related information's together, its called Product


Attribute View

Attribute Views are basically the Master data(descriptive


data)

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 31
Overview

Analytical Views – A view built on master data or with


transaction data is called Analytical View i.e. When you
combine this Attribute Views(Both Customer Att view and
Product Att view) along with Transaction data "Net Sales
& Quantity Sold", then it will be called as Analytical View
In BW language, Analytic views are typically defined as
at least one fact table that contains transactional data along
with number of tables or attribute views

Analytic views leverage the computing power of SAP HANA to


calculate aggregate data, e. g., the number of bikes sold per
country, or the maximum power consumed per month.

It is specifically designed to execute star schema queries


 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 32
Overview

Star Schema means a single fact table(Tx Table) sits in


the middle and is connected to other surrounding
dimension tables(Master data tables) like a star.

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 33
Overview

Calculation View -
Calculation views means composite views, i.e. it is used
to combine other views. It can consume other Analytical,
Attribute, other Calculation Views & tables.

It can perform complex calculations not possible with


other views.

Calculation view can be defined as either graphical


views or scripted views. Graphical views can be modeled
using the graphical modeling features of the SAP HANA
Modeler. Scripted views are created using SQL
statements.
 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 34
Overview

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 35
Overview

Capabilities of Calculation Views:


 Can consume other Analytical, Attribute, other
Calculation Views & tables
 Built-in Union, Join, Projection & Aggregation nodes
 Provides additional features like Distinct, Count,
Calculation, dynamic joins
 No SQL or SQL Script knowledge required

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 36
Overview

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 37
Overview

Data Provisioning using SLT

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 38
Overview

Please watch video

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 39
Overview

Data Provisioning using BODS

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 40
Overview

Please watch video

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 41
Overview

SAP HANA Migration Paths

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 42
Overview

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 43
Overview

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 44
Overview

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 45
Overview

HANA Accelerators

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 46
Overview

Hana Accelarators are the new programs to speed up the


Current ERP transactions or business suite progarams.

To speed up the performance, SAP has delivered two


Accelerator products.
1. ERP Accelerators
2. Business Application Accelerators
The most commonly known product is the ERP
Accelerators.

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 47
Overview

The ERP Accelerators are a collection of specific


points in SAP’s standard code, whereby a redirect to
HANA is performed.
The ERP Accelerators were delivered as part of the
standard system with SAP Note 1620213 (and
subsequent additional notes).

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 48
Overview

Below is a list of just a few of the delivered


accelerators.

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 49
Overview

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 50
Overview

In addition to these, there are a number of other


accelerators and SAP continues to add to this list. The
accelerators can be categorized into one of the three areas:

Reporting – These accelerators are used to select data


quickly from the standard line item tables like BSEG,
GLFLEXA, PSMGLFLEXA, ANEP, COEP, etc.

Transactional – These accelerators are used within the


processing of transactions like posting an FI document or
running CO Allocations

Interface – These are primarily BW related where a


Virtual Infoprovider can be setup from BW
 SAP AG 2001, Smart Forms - the Form Printing Solution,
Claudia Binder / Jens Stumpe 51
Overview

Business Application Accelerators:


This product allows you to redirect any of your own
custom programs.

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 52
Overview

SAP HANA on Cloud

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 53
Overview

SAP HANA cloud consists of


1. SAP HANA Cloud Platform
2. SAP HANA Enterprise Cloud

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 54
Overview

SAP HANA Cloud Platform is SAP’s in-memory cloud


platform, i.e.Platform-as-a-Service offering enabling
developers to build, extend, and run applications in the
cloud. It provides developers a set of application and
database services

The platform provides a set of application services (or SAP


HANA AppServices) viz. integration, portal, mobile,
analytics, collaboration etc. that allow developers to
flexibly and efficiently build modern applications. It also
enables developers to use HANA as a database-as-a-
service (with SAP HANA DB Services).

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 55
Overview

SAP HANA Enterprise Cloud is a cloud based managed


service offering for SAP customers and partners to
deploy their HANA applications on AWS, Microsoft Azure
Cloud technologies.
By running SAP ERP, SAP CRM and SAP NetWeaver®
Business Warehouse applications in a managed cloud
service model ,SAP aims to enable organizations to
realize faster time-to-value coupled with lower total cost
of ownership.
SAP Hana Enterprise Cloud also supports custom HANA
applications, including non-SAP centric ones.

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 56
Overview

Thank You

 SAP AG 2001, Smart Forms - the Form Printing Solution,


Claudia Binder / Jens Stumpe 57

You might also like