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

Calling PAL functions


To use PAL functions, you must do the following:

  1. From within the SQLscript code, generate a procedure that wraps the PAL function.

    Any user granted with the AFLPM_CREATOR_ERASER_EXECUTE role can generate an AFLLANG procedure for a specific PAL function. The syntax is shown as follows:

    CALL SYS.AFLLANG_WRAPPER_PROCEDURE_CREATE ('<area_name>', '<function_name>','<schema_name>', '<procedure_name>', <signature_table>);
    

    The following is a description of the preceding syntax:

    • <area_name>: This is always set to AFLPAL.

    • <function_name>: This is the PAL built-in function name.

    • <schema_name>: This is the name of the schema that you want to create.

    • <procedure_name>: This is the name of the PAL procedure (any name as per our choice).

    • <signature_table>: This is a user-defined table variable. The table contains records to describe the position.

  2. Call the procedure, for example, from an SQLscript procedure.

    After generating a...