SAP HANA Tutorial, Material and Certification Guide

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

11/13/2020 SAP HANA Tutorial, Material and Certification Guide

More Create blog Sign In

SAP HANA Central


Home SAP HANA Tutorials Database Training Interview - Q&A Job Certifications Books

Monday, 30 November 2015

How to Extend HANA Live Views


In this blog I will describe how we
can extend HANA Live Views

I hope many of you are familiar


with HANA Live.
If you are not familiar with HANA
Live, then you can refer the below
blog:
Total Pageviews
SAP HANA Live - Real-Time
operational reporting | SAP HANA
1,055,623
To extend HANA Live Views we
generally make a copy of it and SAP HANA Certification Material
then make changes to it as per our
SAP HANA Certification Material
needs.
You can check the document given in the blog mentioned above on how to SAP HANA Training Videos
extend HANA Live Views.

Now SAP has created a new tool called SAP HANA Live Extension
Assistant.
Using this tool we can easily extend Reuse Views and Query Views.

Lets start with the Installation of Extension Tool:


First download HANA Content Tools from Service Marketplace and then
import Delivery Unit HCOHBATEXTN.tgz

www.hanaexam.com/2015/11/how-to-extend-hana-live-views.html 1/7
11/13/2020 SAP HANA Tutorial, Material and Certification Guide
Once this Delivery Unit is installed, we can see the extn folder as shown in Labels
the below screenshot.
database developer Dynamic-Tiering
hana-academy hana-api hana-backup
in-memory modeling mysql odata odbc

predictive sapSAP HANA sap-


hana sap-hana-cloud-platform
sap-hana-database sap-hana-usecases
sap-hana-xs sap-hana2 sap-xs
SAPHANA sapmentor sapmentors
sapui5 sda spark sps11 sps12 sql
statistics xs xsjs

Search This Blog

It also generates a role sap.hba.tools.extn.roles::ExtensibilityDeveloper Search

and we will need to assign this role to the User to work with this tool.
Like Our Official Page
Now to complete the installation, Go to Help -> Install New Software and
click on Add button and enter the details as shown below:
The path would be
http://hostname:80[instancenumber]/sap/hba/tools/extn Popular Posts

Core Data Services


in ABAP
Core Data services
(CDS) are domain
specific languages
(DSL) and services for defining
and consuming semantically rich
data models in SAP ...

Business Partner in
S4 HANA –
On clicking OK, we will see the Extension tool and then we need to install it Customer Vendor
Integration
It’s been almost 2
years I have started my journey
in SAP world. I started with
Technical domain for some time
and I landed in Functional d...

Expose CDS Views


as OData Service
In continuation to
previous blog Core
Data Services in
ABAP in this blog I will show
how to create CDS Views and
step by step procedure to...

SAP PDMS 1.0 FP02


On-premise edition
1.0 (Configuration –
Pt.2)
In the first part of
my documentation (pt.1) , I
have explained and showed in
detail how to proceed with the
Once this tool is installed, and we R-Click on any View, we can see the mandatory landscape and
option Extend View. compo...
This option is enabled only for HANA Live Reuse and Query Views and
[SAP HANA
disabled for Private Views as shown below. Academy] SAP HANA
Cloud Integration for
Data Services
In a series of 14
videos the SAP HANA Academy's
Tahir Hussain "Bob"
Babar shows how to preform the
most common SAP HANA Cl...

ABAP on HANA - Use Cases

www.hanaexam.com/2015/11/how-to-extend-hana-live-views.html 2/7
11/13/2020 SAP HANA Tutorial, Material and Certification Guide
Introduction to ABAP
on HANA Through
HANA, SAP has
brought forth a high
performing multi
faceted appliance with rich
analytic computatio...

Successful
implementation of
Cumulative Sum in
SAP HANA
A cumulative sum is
a sequence of partial sums of a
given sequence. For example,
the cumulative sums of the
sequence {a, b, c, ...} are a, ...

Complete End-To-
End ABAP For HANA
7.4 SP 09
Development
Steps Involved For
Displaying Flight Details:
Creation of ABAP CDS view.
Creation of Gateway O Data
service. Testing of GW service in
We can easily identify Query Views from HANA Studio as they end with G...
Query but we can't distinguish between Reuse and Private Views.
So to know which View is a Reuse View and which View is a Private View,
logon to HANA Live Browser and check there as shown below. Featured post

SAP S/4HANA from a


Developers Point of View -
Part One

Introduction In my first part I try


to explain what is the main
difference between R/3, SAP ERP
and S/4. As you can see from the
pi...

Search This Blog

Search

Blog Archive
Lets say that we want to make changes in the
GLAccountInChartOfAccounts Reuse View, so we will R-Click on that ► 2020 (193)

view and select Extend View and then we will be greeted with the below
► 2019 (196)

screen
► 2018 (154)

► 2017 (206)

► 2016 (252)

▼ 2015 (31)

► December (8)

▼ November (7)

How to Extend HANA Live
Views
SAP HANA Rules Framework
by the SAP HANA Academy

www.hanaexam.com/2015/11/how-to-extend-hana-live-views.html 3/7
11/13/2020 SAP HANA Tutorial, Material and Certification Guide

How to view Historical Data in


SAP DB Control Center
Hana Modeler: Impact
Analysis and Refactoring of
C...
How to Plan for Disaster
Recovery with SAP HANA
How to Update SAP HANA to
SPS10 - Step to Follow
How SAP HANA and Internet
of Things Works Togather...

► October (4)

► September (1)

► August (2)

► July (3)

► June (1)

► May (2)

► March (2)

► January (1)

Subscribe To SAP HANA Central

Posts

Comments

It will create a new View with the same name as the Reuse View
Here we will select the package where we want Extended View to be
created.
All the fields that are present in the Reuse View are marked as Grey and
we cannot change them
On the left side, we get list of all the tables that are used in the View.
These tables only show those fields that are not used in the View
So we can select any field from the table and add it, lets say we want to
select SAKAN field from the table, so we will click on SAKAN field and then
Click on the + button on right side of the screen, this will add it to our view

www.hanaexam.com/2015/11/how-to-extend-hana-live-views.html 4/7
11/13/2020 SAP HANA Tutorial, Material and Certification Guide

Then we will select Next... by default the Join type is Left Outer Join and
we cannot change it but we can change the Cardinality of the View

On the right side, it shows fields for Join. As the table SKA1 is already
used in this View, so it proposes fields for Join, we can either use these
fields or add our own fields by selecting + button as shown below

Then we will Validate and Activate the View

The Extended View copies the semantic properties of the Reuse View - if
Semantic Node in Reuse View is Projection then in Extended View also the
Semantic Node will be Projection

Below is the newly created view.

We can also observe one more thing that after installing Extension tool, the
Join Node and other Nodes are shown in a more elegant and colorful way

Now lets extend GLAccountInChartOfAccountsQuery Query View


R-Click on the View and select Extend View, then we will see the below
screen

www.hanaexam.com/2015/11/how-to-extend-hana-live-views.html 5/7
11/13/2020 SAP HANA Tutorial, Material and Certification Guide

By default it takes the package in which we extended Reuse View earlier


It shows us those columns which are present in Query View but are not
selected in Output

We can also select our extended Reuse View and then its additional fields
are also available to be added to the output as shown below

Lets select both the fields and Validate and Activate the View

Both the Views are available inside ExtTest Package as shown below

Now Lets check out the Extended Query View and now we can see that
both our selected fields are present in the View

The tool has both its benefits and limitations:

Benefits:

It is a simple tool.
It is easier to extend an existing Query or Reuse View if we just want to
add additional Columns from the underlying Tables the View is already
using

www.hanaexam.com/2015/11/how-to-extend-hana-live-views.html 6/7
11/13/2020 SAP HANA Tutorial, Material and Certification Guide
If we update HANA Live Views later on then out Extended View also get
updated

Limitations:

It has many limitations at present

We cannot extend Query Views with Unions and we can also not directly
extend Query Views in which Aggregation Node is present at levels other
than Top Node(Node before Semantic Node).
At present we can not add fields from other Tables(Tables that are not used
in a View) to an existing Reuse View, but hopefully this option will be
available in next version
We cannot create Calculated Columns or change Filter options

Source: scn.sap.com

Posted by Sabrina Pinto at 16:43:00

Labels: sap hana-live, sap hana-live-extension-assistant

No comments:

Post a comment

Enter your comment...

Comment as: Google Accoun

Publish Preview

Newer Post Home Older Post

Subscribe to: Post Comments (Atom)

Privacy Policy

© 2016 saphanacentral.com, All rights reserved. Simple theme. Theme images by gaffera. Powered by Blogger.

www.hanaexam.com/2015/11/how-to-extend-hana-live-views.html 7/7

You might also like