8902 How to Generate Universes from SAP Sybase PowerDesigner Revision: 27.08.2013
Objectives After reviewing this content, you will be able to: Explain Dimensional Modeling for Cubes in SAP Sybase PowerDesigner Physical Data Model (PDM) Explain Dimensional Modeling for Cubes to accommodate BO Universes and other dimensional concepts Explain the PowerDesigner Physical Data Model to BusinessObjects Universe Generation Explain the preparation and use of the wizards to generate a Business Objects Universe from a PowerDesigner Physical Data Model This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 2
Agenda Introduction to Multidimensional Modeling Overview of Multidimensional Modeling features The Multidimensional Diagram Warehouse Data Mappings Introduction to BusinessObjects Universe Generation Why Universe Generation from a Physical Data Model is Important Generating the Universe Preparing for Generation Running the Wizard Generation Options Using the Generated Universe Using in Information or Universe Design Tools Using with Web Intelligence This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 3
Intro to Dimensional Modeling What is SAP Sybase PowerDesigner s Dimensional Model?
Multidimensional Modeling Multidimensional Diagram Graphical view of a data mart or data warehouse Identifies facts, dimensions & cubes Facts Numeric values (measures) to understand the business sales total, budget, cost Dimensions Details (attributes) of a transaction used to aggregate, sort & filter Facts geography, time, people, products This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 5
Multidimensional Diagram Objects Objects Used to Define Multidimensional Diagrams Fact - Group of measures related to the business and used for decision support Measure - Variable linked to a fact, representing an information value that may be used as the focus of a decision support investigation Dimension - Basis for evaluating measures of a cube (time, product, geography) Attribute - Used to qualify a dimension, such as Year on the Date dimension Hierarchy - Structure describing a drill up or down pattern in a dimension Association - Relates a fact to a dimension This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 6
Warehouse Data Mappings Mapping to Source Tables to Populate Warehouse Data warehousing extract, transform, and load data from operational systems Mappings between: Operational & data warehouse Data warehouse & OLAP cubes The Mapping Editor Tools > Mapping Editor. This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 7
Intro to BObj Universe Gen How does SAP Sybase PowerDesigner generate a Business Objects Universe?
Introduction to BusinessObjects Generation PowerDesigner BusinessObjects Generation Business Analytics takes database information and processes it for easy visualization to assist in business decision making activities. Information structures in physical data models can be easily transformed into BusinessObjects Universe structures following built-in rules Structures can be: Imported into Universe Design or Information Design tools Used by direct consumption of the Web Intelligence rich client. Generating a universe from a PowerDesigner PDM Uses table, view & column names & comments Reliable cardinality information More complete & reliable than direct universe generation from the database This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 9
Introduction to BusinessObjects Generation PowerDesigner BusinessObjects Generation Business Analytics takes database information and processes it for easy visualization to assist in business decision making activities. Information structures in physical data models can be easily transformed into BusinessObjects Universe structures following built-in rules Structures can be: Imported into Universe Design or Information Design tools Used by direct consumption of the Web Intelligence rich client. Generating a universe from a PowerDesigner PDM Uses table, view & column names & comments Reliable cardinality information More complete & reliable than direct universe generation from the database This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 10
Generating the Universe How do you prepare a PowerDesigner Model and properly generate a Business Objects Universe?
Generating a BusinessObjects Universe Requirements SAP BusinessObjects SBOP BI Platform Clients 4.0 SP04 Patch 3 (v14.0.4.819) or higher installed on the PowerDesigner client workstation Note for Windows Vista or Windows 7 Enable the BusinessObjects SDK by launching the Universe Design tool once with administrator privileges This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 18
Preparing for Generation: Optimize your PDM Part 1 Better Unique Identifiers for Dimension Rows Specify auto-incrementing primary keys Specify one or more human-readable alternative keys Identify fact and dimension tables Mark them in PowerDesigner manually Use the Retrieve Multidimensional Objects Wizard Tools Multidimensional Objects Retrieve Multidimensional Objects Looks at Key Migration patterns to guess Facts and Dimensions Generate all (default) or select specific This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 19
Preparing for Generation: Optimize your PDM Part 2 Create a Multidimensional Diagram Controls the format of your multidimensional objects Jump-start with the Generate Cubes Wizard Manually adjust generated facts and dimensions as necessary Start the Wizard Tools Multidimensional Objects Generate Cubes This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 20
Generating the Universe Starting the Wizard Start the Wizard Select Tools > SAP BusinessObjects > Generate BusinessObjects Universe. Optionally Connect BusinessObjects Central Management Server (CMS) Click the Connect button to connect to the BusinessObjects CMS Select a data connection to allow BusinessObjects to connect to your database You can use An existing local connection from the BusinessObjects connection list A connection from the list of secured connections A New Connection (Select the Create button, Launch the New Connection wizard The database user used to connect from CMS must have sufficient privileges and permissions to read all of the database objects generated to the Universe from your PDM This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 21
Generating the Universe Selecting Objects Select Objects to generate If a Dimensional Diagram has been created, then facts and dimensions are present in your model, and these facts are proposed for generation If no Dimensional Diagram was defined, and/or no facts are present, then any tables defined as fact tables are proposed for generation If no facts or fact tables are present, PowerDesigner examines key migration patterns to recommend tables that appear to be fact tables and proposes these tables for generation By default, tables that have no links to other tables are excluded from the list. Select Include isolated tables option to add them for selection Keys and References Are an Important element in Identifying proper Fact and Dimensions Tables Without Keys and References may Require Additional Work after Generation This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 22
Universe Generation Options Select Options for Generating the Universe Expand fact date columns as time dimensions Creates a time dimension with the standard Year, Quarter, and Month attributes for each date column in each fact table Standard Practice for Universes Selected by Default Use primary keys as dimension identifiers Dimension identifiers either can, or must, be generated from source table primary keys Force - Dimension identifiers must be generated from the primary keys of their source tables. Allow Selected by default, uses the first available columns as dimension identifiers as follows: o The first alternative key (all associated columns concatenated). o The first unique index not identified as a primary key. o The first column with a string data type, including primary keys with a string data type. o The first non-key column. o The first key column. Disallow - Same as allow, but dimension identifiers cannot be generated from primary keys even if they have a string data type (for example: a primary key containing a GUID). This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 23
Using the Generated Universe How to I use the generated Business Objects Universe?
Using the Generated Universe In the Universe Design tool Import the Generated Universe into the Information Design tool Select File > Convert UNV Universe What Gets Generated A connection A data foundation The business layer The business layer One folder for each fact containing Each dimension associated with the fact in PowerDesigner Dimension series grouped within their own subfolder Attribute lists beneath each Dimension A measure for every numeric column in the fact. Use Actions > Refresh Structure Accesses richer selection of data types from the Information Design tool This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 29
Working with the Web Intelligence Environment Connect to the Central Management Server (CMS) for BusinessObjects Import the Universe PowerDesigner Generated into CMS Editing the Universe Content if Required Open the Web Intelligence rich client and use the Universe This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 30
Appendix Where may I learn More?
Further Reading & Exploration SAP Sybase PowerDesigner On-Line Documentation SAP Sybase PowerDesigner Online Documentation (User Guides) Data Modeling > Building Data Models > Generating and Reverse-Engineering Databases > Generating a BusinessObjects Universe Data Modeling > Building Data Models > Multidimensional Diagrams SAP D&T Academy YouTube Channel for PowerDesigner http://www.youtube.com/results?search_query=powerdesigner+d%26t Or: www.youtube.com and search PowerDesigner D&T This presentation and SAP s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is 2011 SAP AG. All rights reserved. provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement 32