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

Creating time attribute views


The prerequisite are as follows:

  • Replicate the standard table into SAP HANA, that is T005T, T005U, T009, and T009B. We need to ask the basis team to do it for us.

  • Configure the Generate Time Data function. We will do it ourselves, as described next.

Steps involved in creating a time attribute view are:

  1. Go to the Modeler perspective | Generate Time data or from the Quick Launch.

  2. Fill the details of Generate Time Data as shown in the following screen:

    Here I am creating it for year 2014-2015. You can choose the year range for which you want to create the view, and choose the granularity as well accordingly.

  3. Go to the System view and catalog, and see in schema _SYS_BI | table M_TIME_DIMENSION.

  4. Now create a time attribute view with the following details:

    Fill the preceding form with the following details:

    • In the Subtype field, select Time from the drop-down menu

    • In the Calendar Type field, select Gregorian from the drop-down menu

    • For the Granularity field, select Date

    • Check...