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 input parameters and variables


Input parameters are used for formulas and can have any value a reporting user might enter. In SQL, it is passed using a placeholder. Variables are used for filtering and always applied to an attribute/s.

The following are the steps to create input parameters and variables:

  1. Create an analytical view using the CUSTOMER and SALES tables.

  2. Our analytical view should look like this:

  3. The cardinality, output columns, and measures should match as follows:

  4. Go to the Semantic node and click on the + notation.

  5. Provide the details and mark the attribute on which you want to create the variable.

  6. Then save and activate the analytical view.

  7. We can do the data preview. When you click on Data Preview, a popup appears as shown in the following screenshot:

  8. We must click on From (and choose a value ) and To (again, choose a value).

  9. Click on OK and again on OK. Then, click on the Raw Data tab.

  10. You can see the data for the values of the variables that you choose from.

As a self assignment...