Book Image

SAP HANA Cookbook

Book Image

SAP HANA Cookbook

Overview of this book

SAP HANA is a real-time applications platform that provides a multi-purpose, in-memory appliance. Decision makers in the organization can gain instant insight into business operations. Thus all the data available can be analysed and you can react to the changing business conditions rapidly to make decisions. The real-time platform not only empowers business users and top management to make decisions but also provides the capability to make decisions in real-time.A practical and comprehensive guide that helps you understand the power of SAP HANA’s real-time and in-memory capabilities. It also provides step-by-step instructions to exploit all the possible features of the SAP HANA database, enabling users to harness the full potential of this technology and its features.You will gain an understanding of real-time replications, effective data loading from various sources, how to load data, and how to create re-usable objects such as models and reports.Use this practical guide to enable or transform your business landscape by implementing SAP HANA to meet your business requirements. The book shows you how to load data from different types of systems, create models in SAP HANA, and consume data for decision-making. The book covers various tools at different stages creating models using SAP HANA Studio, and consuming data using reporting tools such as SAP BusinessObjects, SAP Lumira, and so on . This book also explains the in-depth architecture of SAP HANA to help you understand SAP HANA as an appliance, that is, a combination of hardware and software.The book covers the best practices to leverage SAP HANA’s in-memory technology to transform data into insightful information. It also covers technology landscaping, solution architecture, connectivity, data loading, and setting up the environment for modeling purpose (including setup of SAP HANA Studio).If you have an intention to start your career as SAP HANA Modeler, this book is the perfect start.  
Table of Contents (16 chapters)
SAP HANA Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Preface

SAP HANA (High-Performance Analytical Appliance) is an in-memory, column store database that supports real-time data loads and analytics. As the name conveys, SAP HANA is an appliance combining hardware and software. SAP has been providing business applications for different domains for many years. Now, it has come up with a game-changing database platform that helps a business to run faster and analyze decision-making in real time, thus helping users to analyze data within seconds.

In SAP HANA, both analytical and transactional data is stored. Along with this, analysis of the data combination is possible on-the-fly. SAP HANA unleashes the potential to analyze Big Data in real time, which includes structured and unstructured data. SAP HANA also supports data warehousing in which existing SAP NetWeaver Business Warehouse (SAP BW) models to SAP HANA and makes decisions on top of this. SAP HANA also possesses libraries that support predictive, spatial, and textual analysis, which can be run on multiple data sources.

What this book covers

Chapter 1, SAP HANA Studio – Look and Feel, gives an introduction to SAP HANA Studio, the GUI which will be used throughout the book for almost all the recipes.

Chapter 2, Data Provisioning, provides recipes on how to load data into SAP HANA using different tools. The source system for the data can be either SAP or non-SAP systems. Moreover, as SAP HANA supports real-time analysis, a selection of tools and the types of data load will also be covered. Recipes in this chapter help in deciding on and implementing the solutions.

Chapter 3, Modeling, shows how to create models in SAP HANA. The models created will be exposed for reporting. Once we have data in physical tables, we create models in SAP HANA that help us to analyze data on-the-fly.

Chapter 4, Reporting, shows how to create reports on top of SAP HANA models and consume data for analysis. Different people in the organization use the same data in different ways for their analysis. Recipes in this chapter will help us learn how to do analysis using different reporting tools on top of SAP HANA.

Chapter 5, Advanced Features in SAP HANA, helps you learn how to work with advanced features such as hierarchies and currency conversion in SAP HANA. The recipes in this chapter may not be useful in all situations, but they help in complex scenarios.

Chapter 6, User Management, introduces the basics of administration in SAP HANA, which covers user role creation, assigning them, and how they work.

Appendix A, Introduction to SAP HANA, gives a basic idea of what SAP HANA is by describing the features and comparing it with traditional databases available on the market.

Appendix B, Architecture, explains the core architecture in detail with all the components of SAP HANA.

Appendix C, Applications Powered by SAP HANA, shows how SAP HANA can be used as a database in supporting other applications.

What you need for this book

There are different SAP HANA editions offered by SAP. We need to have any one edition installed:

Software component

Enterprise edition extended

Enterprise edition

Platform edition

HANA Studio

X

X

X

HANA Information Composer

X

X

X

HANA Client

X

X

X

HANA Client for Excel

X

X

X

HANA User Interface for information access

X

X

X

HANA Database

X

X

X

HANA Host Agent

X

X

X

Diagnostics Agent

X

X

X

BusinessObjects Data Services

X

X

 

HANA Direct Extractor Connection (DXC)

X

X

 

Landscape Transformation Add-on (SLT)

X

X

 

Landscape Transformation Replication Server

X

X

 

HANA Load Controller (LC)

X

  

Sybase Replication Server and Agent

X

  

Sybase Adaptive Server Enterprise (ASE)

X

  

Who this book is for

If you are a beginner and you consider yourself as a future SAP HANA modeler, then this is the perfect book for you. You should have basic knowledge of RDBMS concepts and SQL to start preparing the recipes that are covered in this book.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles, are shown as follows: "These jobs will be recreated automatically from IUUC_MONITOR_<mass_transfer_id>."

A block of code is set as follows:

Var_out = SELECT "SalesOrderId","ProductId","QuantityUnit","Currency","Quantity","GrossAmount","NetAmount" from "_SYS_BIC"."SAP_HANA_COOKBOOK/AN_SAP_HANA_COOKBOOK";

Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Enter the values for SAP HANA Hostname and Instance Number, and then click on Next."

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.