Book Image

Real Time Analytics with SAP Hana

By : Vinay Singh
Book Image

Real Time Analytics with SAP Hana

By: Vinay Singh

Overview of this book

SAP HANA is an in-memory database created by SAP. SAP HANA breaks traditional database barriers to simplify IT landscapes, eliminating data preparation, pre-aggregation, and tuning. SAP HANA and in-memory computing allow you to instantly access huge volumes of structured and unstructured data, including text data, from different sources. Starting with data modeling, this fast-paced guide shows you how to add a system to SAP HANA Studio, create a schema, packages, and delivery unit. Moving on, you’ll get an understanding of real-time replication via SLT and learn how to use SAP HANA Studio to perform this. We’ll also have a quick look at SAP Business Object DATA service and SAP Direct Extractor for Data Load. After that, you will learn to create HANA artifacts—Analytical Privileges and Calculation View. At the end of the book, we will explore the SMART DATA access option and AFL library, and finally deliver pre-packaged functionality that can be used to build information models faster and easier.
Table of Contents (16 chapters)
Real Time Analytics with SAP HANA
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Defining attribute and key attribute


Click on Semantics | Right-click on Attribute | Add as attribute.

When we click on Semantics, a pop up appears, where we can see all the columns:

We will make BP_ID as key attribute:

Key attributes are used as the keys when we join this attribute with another Attribute or analytic view.

Right-click any attribute | Add as Key Attribute.

In our case, we have taken BP_ID as key attribute, and company, city, e-mail address, and country as attribute.

Creating hierarchies is optional while creating attribute views. In SAP HANA, we can create two types of hierarchies:

  • Level based: This is one to one mapping (one attribute one hierarchy)

  • Parent-child: This is one to many (one attribute can have multiple hierarchy levels)

We will discuss hierarchy separately in the coming chapters. Save the attribute view and then activate it. Only the activated views will be available for the reporting clients and for data preview as well.

We can identify the difference between the...