21
SAP COMMUNITY NETWORK scn.sap.com © 2012 SAP AG 1 HANA Audit Reporting Tool and Documents Applies to: SAP BusinessObjects BI Solutions 4.0, and the latest version of the Universe Designer called, universe design tool and the new dimensional metadata modeling tool called, information design tool. Please download relevant files here . Summary This document describes the reporting materials provided to help HANA server auditing and especially the information models audit. The document contains information on the universe design and the Web Intelligence document built on this universe. Author: Didier Mazoué Company: SAP Created on: January 10, 2012 Author Bio Didier Mazoué is an expert product manager in the semantic layer team (TIP). Didier is the expert on most major OLAP databases, SAP Netweaver BW, HANA and relational databases. Before joining the product group in 2005 Didier was a strategic pre-sales field representative specializing in closing large database deals. He currently resides in France and works out of the SAP Lab in Levallois-Perret.

HANA Audit Reporting Tool and Documents

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 1

HANA Audit Reporting Tool and

Documents

Applies to:

SAP BusinessObjects BI Solutions 4.0, and the latest version of the Universe Designer called, universe design tool and the new dimensional metadata modeling tool called, information design tool. Please download relevant files here.

Summary

This document describes the reporting materials provided to help HANA server auditing and especially the information models audit.

The document contains information on the universe design and the Web Intelligence document built on this universe.

Author: Didier Mazoué

Company: SAP

Created on: January 10, 2012

Author Bio

Didier Mazoué is an expert product manager in the semantic layer team (TIP). Didier is the expert on most major OLAP databases, SAP Netweaver BW, HANA and relational databases. Before joining the product group in 2005 Didier was a strategic pre-sales field representative specializing in closing large database deals. He currently resides in France

and works out of the SAP Lab in Levallois-Perret.

Page 2: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 2

Table of Contents

Prerequisites ....................................................................................................................................................... 3

Universes introduction ........................................................................................................................................ 3

What is the semantic layer? ............................................................................................................................ 3

What is a universe? ......................................................................................................................................... 3

How do I create a universe? ........................................................................................................................... 3

HANA repository universe .................................................................................................................................. 4

Edit and published the universe components ................................................................................................. 4

The connection ................................................................................................................................................ 5 Edit the connection ...................................................................................................................................................... 5

The data foundation ........................................................................................................................................ 5 Edit the data foundation ............................................................................................................................................... 5

The data model ............................................................................................................................................................ 6

The business layer .......................................................................................................................................... 7 Edit and publish the business layer .............................................................................................................................. 7

The business layer ....................................................................................................................................................... 9

Web Intelligence document .............................................................................................................................. 10

“Cubes detail” report ..................................................................................................................................... 10

“Dimensions” report ....................................................................................................................................... 11

“Dimensions” report ....................................................................................................................................... 12

“Variables” report .......................................................................................................................................... 12

“Cubes no longer exist in catalog” report ...................................................................................................... 13

“Cubes deleted”” report ................................................................................................................................. 13

“Dimensions no longer exist in catalog” report ............................................................................................. 14

“Dimensions deleted”” report ........................................................................................................................ 14

“Metadata count” report................................................................................................................................. 15

“Metadata count” report................................................................................................................................. 16

“Cubes activated before current date - n days” report .................................................................................. 17

“Inactive objects” report................................................................................................................................. 18

“Datatypes” report ......................................................................................................................................... 19

“Activation by people” report ......................................................................................................................... 19

Related Content ................................................................................................................................................ 20

Copyright........................................................................................................................................................... 21

Page 3: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 3

Prerequisites

To use universe on HANA repository and reuse the Web Intelligence document you must have the following products installed:

SAP HANA 1.0 SP03

SAP BusinessObjects BI 4.0 FP3

Universes introduction

The universe and the Web Intelligence document provided with this document target SAP HANA server 1.0 SP3 as the minimum version.

Future SAP HANA versions may impact the universe design as HANA system tables may change.

The universe and the Web Intelligence document are ready to be consumed; you only have to change the connection information.

What is the semantic layer?

The semantic layer is an abstraction layer between the database and the business user that frees the business user from the complexity of the data structures and technical names. It enables business users to access, interact, and analyze their data regardless of the underlying data sources and their schemas.

The semantic layer encompasses the following elements: universes, query generation, query panel, and database connectivity parameters.

What is a universe?

The information design tool is an SAP BusinessObjects metadata design environment that enables a designer to extract, define, and manipulate metadata from relational and OLAP sources to create and deploy SAP BusinessObjects universes.

A universe is an organized collection of metadata objects that enable business users to analyze and report on corporate data in a non-technical language. These objects include dimensions, measures, hierarchies, attributes, pre-defined calculations, functions, and queries. The metadata object layer, called the business layer, is built on a relational database schema or an OLAP cube, so the objects map directly to the database structures via SQL or MDX expressions. A universe includes connections identifying the data sources so queries can be run on the data. The role of the universe is to provide the business user with semantically understandable business objects, such as, Customer, Country, Quarter, Revenue, or Margin. The user is then free to analyze data and create reports using the business objects that are relevant to their needs without requiring knowledge of the underlying data sources and structures.

There are two types of universe: multi-source enabled relational universes, and dimensional universes.

How do I create a universe?

With BI 4.0 and BI 4.0 FP3, both types of universes are generated using the new tool called the information design tool, an SAP BusinessObjects metadata design environment. For one of the universe types, you don’t even need to create it thanks to the direct access to BEx queries using BICS. The universe is created automatically on the BEx query to render it consumable by the analysis and reporting tools in the SAP BusinessObjects portfolio. The second type – the multi-source enabled relational universe - is created by following a four-step workflow (connection, data foundation, business layer and publication) in the information design tool.

Page 4: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 4

HANA repository universe

The core material provided for HANA server auditing is the universe.

The universe is based on HANA system tables and HANA catalog tables where information models information are stored: “_SYS_BI” schema and tables / views starting with “BIMC_”

A universe is composed of 3 elements:

The connection:

A connection is a named set of parameters that define how a universe can access a relational or

OLAP database.

The data foundation: A data foundation is a schema that defines the relevant tables and joins from one or more relational databases. The data foundation becomes the basis of one or more business layers

The business layer: A business layer is a collection of metadata objects that provides an abstraction of relational database entities or OLAP cubes, understandable by a business user. Objects map via SQL expressions to an underlying data foundation, or via MDX expressions to an underlying OLAP cube. These objects include dimensions, hierarchies, measures, attributes, and predefined conditions.

The universe is the compilation of those three elements and can then be published in a BOE repository (also called CMS) or locally (file system).

Edit and published the universe components

Start InformationDesignTool.exe and create a new project (see screenshot below).

By default a project is created in the current directory on a Windows 7 platform:

C:/Users/MyUser/.businessobjects/bimodeler_14/workspace

Then copy the 3 elements under the project location folder in the file system:

Hana.cnx

Hana repository v2.dfx

Hana repository v2.blx

Page 5: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 5

The connection

Edit the connection

The connection provided with this document is a SAP HANA relational connection.

Prior to consume the universe you need to edit the connection and change connection information.

To edit the connection, double-click on “Hana.cnx” object then click on “Edit” button. Change the following information (see screenshot below):

Server name:port

User name

Password

Test the connection and click on “Finish” button.

Please notice that to use the universe and query the HANA catalog, the user must have administration privileges in order to access the following schemas: _SYS_BI, _SYS_REPO and SYS.

The data foundation

Edit the data foundation

Edit the data foundation (double-click on “Hana repository v2.dfx” and check that the data foundation is pointing to the Hana connection (see screenshot below).

If the data foundation is not mapped to the Hana connection the screenshot will be as show as below.

Page 6: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 6

To map the data foundation to the connection, Click on the icon and select the Hana connection.

Save the data foundation.

The data model

The data foundation is the entity relationship model and is using the following tables / views:

_SYS_BI schema:

o BIMC_CUBES

o BIMC_DIMENSIONS

o BIMC_PROPERTIES

o BIMC_VARIABLE

o BIMC_VARIABLE_ASSIGMENT

o BIMC_VARIABLE_VIEW

o BIMC_VARIABLE_VALUE

o M_USER_PERSONALIZATION

_SYS_REPO schema:

o ACTIVE_OBJECT

o INACTIVE_OBJECT

SYS schema:

o OBJECTS

o OBJECTS_DEPENDENCIES

o VIEWS

o P_OBJTYPES_

Additional tables and views are also exposed in the data foundation but are not used and not linked to other tables.

The data foundation also contains 4 different views including the master view. There is no derived table, no context and no alias table.

The following tables contain calculated columns:

BIMC_DIMENSIONS

BIMC_PROPERTIES

BIMC_VARIABLE

BIMC_VARIABLE_ASSIGMENT

ACTIVE_OBJECT

INACTIVE_OBJECT

OBJECTS

Page 7: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 7

The business layer

Edit and publish the business layer

Edit the business layer (double-click on “Hana repository v2.blx”) and check that the business layer is pointing to the data foundation (see screenshot below).

If the business layer is not mapped to the data foundation then click on the icon and select the data foundation (see screenshot below).

Page 8: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 8

Once all the needed modifications have been done you are ready to publish the universe.

Select the business layer in the projects pane and select the menu “Publish” then the option to a “Local Folder”.

Select the folder where to publish universes.

In order to know where to publish universes, run Web Intelligence rich client and click on the icon on the top right of the window and select the menu “Options”.

Copy the location information in front of the label “Universes:” and copy it to the universe publication location InformationDesignTool.

Page 9: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 9

The business layer

The business layer contains several objects stored in the following folders:

Information Models:

o Cubes

o Dimensions

o Variables

System Catalog

o Objects

o Repository

The business layer also contains pre-defined filters dedicated to filter the BIMC_DIMENSIONS and BIMC_PROPERTIES tables.

4 measures have also been created:

Number of cubes

Number of dimensions

Number of attributes

Number of measures

Several parameters and list of values have been added to the business layer.

Finally multiple predefined queries have been created in order to help designers to use the business layer and understand what kind of questions we can ask to the HANA repository.

Page 10: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 10

Web Intelligence document

The Web Intelligence provided with this document has been built on top of the HANA repository universe.

Open the “HANA repository.wid” file

If you have correctly published the universe at the correct location, you will be able now to refresh the document.

This document contains 2 optional parameters and 1 mandatory parameter.

You can leave them empty or select cubes and dimension. You have to enter a number of days used with a query: the default value is 0.

“Cubes detail” report

This report list all cubes with their dimensions, attributes, measures and variables if any.

The report has 2 sections: catalog and cube.

An input control allows you selecting “OLAP”, “CALC” or all cube types.

Page 11: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 11

“Dimensions” report

This report lists all dimensions with their attributes and the list f cubes using them.

The report has 2 sections: catalog and dimension.

Page 12: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 12

“Dimensions” report

This report lists all dimensions with their attributes and the list f cubes using them.

The report has 2 sections: catalog and dimension.

“Variables” report

This report lists all cubes that have variables.

The report has 1 section: catalog.

Page 13: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 13

“Cubes no longer exist in catalog” report

This report lists all cubes that have been activated and existing in the HANA system but that are no longer available in the catalog (BIMC_CUBES table).

“Cubes deleted”” report

This report lists all cubes available in the catalog (BIMC_CUBES table) but that have been deleted from the HANA system.

Page 14: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 14

“Dimensions no longer exist in catalog” report

This report lists all attribute views (dimensions) that have been activated and existing in the HANA system but that are no longer available in the catalog (BIMC_DIMENSIONS table).

“Dimensions deleted”” report

This report lists all attribute views (dimensions) available in the catalog (BIMC_ DIMENSIONS table) but that have been deleted from the HANA system.

Page 15: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 15

“Metadata count” report

This report displays the number of cubes, dimensions, attributes and measures per schema and cube.

The report has 1 section: catalog

Page 16: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 16

“Metadata count” report

This report displays the number of cubes, dimensions, attributes and measures per schema and cube.

The report has 1 section: catalog.

Two input controls allow you filtering the report based on the number of dimensions and measures.

Page 17: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 17

“Cubes activated before current date - n days” report

This report lists the cubes that have been activated before the current date – a number of days: the number of days is a parameter prompted to the user with a default value = 0.

The report has 1 section: catalog.

An input control allows you filtering the report based on activation date.

Page 18: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 18

“Inactive objects” report

This report lists the objects (cubes and dimensions) that have not been activated.

The report has 1 section: catalog.

Page 19: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 19

“Datatypes” report

This report lists the attributes and measures organized by datatype (column SQL).

The report has 2 sections: catalog and datatype.

An input control allows you filtering the report based on the datatype.

“Activation by people” report

This report lists the cubes organized by activation people.

The report has 2 sections: catalog and activation people.

An input control allows you filtering the report based on the activation people.

Page 20: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 20

Related Content

Semantic Layer forum on SDN

BI on HANA basic tutorial

Information design tool on HANA viewlets

In-Memory Business Data Management forum on SDN

Creating Relational Universes - Best Practices

For more information, visit the Business Intelligence homepage

Page 21: HANA Audit Reporting Tool and Documents

HANA Audit Reporting Tool and Documents

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 21

Copyright

© Copyright 2012 SAP AG. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.

IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.

Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.

Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries.

Oracle is a registered trademark of Oracle Corporation.

UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.

Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc.

HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology.

Java is a registered trademark of Oracle Corporation.

JavaScript is a registered trademark of Oracle Corporation, used under license for technology invented and implemented by Netscape.

SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.

Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company.

All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.