Professional Documents
Culture Documents
Best Practices On Creating Web Intelliegnce Reports On Top of SAP BI Universe
Best Practices On Creating Web Intelliegnce Reports On Top of SAP BI Universe
Applies to:
SAP BI NetWeaver 2004s, BusinessObjects Explorer 3.1 For more information, visit the Business Intelligence homepage.
Summary
This document lists the best practices with Web Intelligence on top of BI Universe. It consolidates the learning available at various sources as well as my personal experience gained while working with BI-BO projects. Author: Isha Gupta
Author Bio
Isha Gupta works as a SAP BI Consultant in Accenture Services Private Ltd and is a Subject Matter Expert with over four years of experience in BI Data Model Designing and Development. She is a certified Solution Consultant in SAP NetWeaver 2004 Business Intelligence and has extensive experience in implementation of BI/ABAP projects specializing in FI, HCM and SRM areas. She is proficient in various Business Objects tools as well.
Table of Contents
Web Intelligence and SAP BW ........................................................................................................................... 3 Web Intelligence Connectivity on top of SAP BW ........................................................................................... 3 BW Metadata Support with BO Universe ........................................................................................................ 3 Overall BI Query Recommendations for Web Intelligence ................................................................................. 5 Universe Recommendations............................................................................................................................... 6 Configurations Options.................................................................................................................................... 6 SAP Variables ................................................................................................................................................. 7
Delegated search for List of Values (LOV) ................................................................................................................... 7 Large LOVs for Prompting ........................................................................................................................................... 8
Performance Tuning ......................................................................................................................................... 10 SAP Notes for Performance Improvements ..................................................................................................... 11 Related Content ................................................................................................................................................ 12 Copyright........................................................................................................................................................... 13
As shown in figure above with Web Intelligence Reporting, data can be retrieved from BI Query or Infocube via the semantic layer of BO Universe. BW Metadata Support with BO Universe Follow the table below while designing the BO universe for Web Intelligence Reporting on top of BI Query/Infocube.
Below table highlights how the SAP BI elements gets mapped in BO Universe: SAP BI element Universe object Dimension Characteristic Characteristic with hierarchy Class Subclass with dimension and detail objects BI Query: Subclass containing dimension and detail objects for each hierarchy level in the currently defined hierarchy BI InfoProvider: Subclasses containing dimension and detail objects for each hierarchy level for all hierarchies defined for the characteristic Custom Structure Navigational attribute Display Attribute Key Figure Class with single dimension object for the structure (The structure is available but you can not select specific elements of a structure) Subclass with dimension and detail objects (identical to characteristic) Detail object for the dimension Measure object in the class for the Key Figure structure with dimension objects for units/currency, numeric value and formatted value (based on User preferences) Measure and dimension objects (same as Key Figure) Measure and dimension objects (same as Key Figure) In the class for the dimension to which the variable applies, two dimension objects supporting the list of values, one for caption, one for description. Universe parameters defining key date variable in the universe (A single universe can only support a single Key Date variable) Not Transferred
Calculated Key Figure Restricted Key Figure Variables Key date variable Conditions/Exceptions
The following types of BI variables are supported in universes: Characteristic variables Hierarchy variables Hierarchy node variables Currency variables Formula variables Text variables (as replacement path and authorization processed variables) Key date variables.
Checking this simple property helps improve performance in situations where there are many Restricted Key Figures and other calculations in the Query Definition.
When using BW queries for OLAP universes, configure the property Allow External Access to this Query, which has to be set in the Advanced Properties in the BW query designer for each BW query desired for use with SAP BusinessObjects Web Intelligence.
Universe Recommendations
Configurations Options Starting with Service Pack 2 of SAP BusinessObjects XI 3.1, several options can be configured for the behavior of the Universe Designer when creating or updating a Universe. In the Universe Designer menu path Tools > Options configure these options on the OLAP tab.
The option Generate level 00 can be unchecked. As a result, Universe Designer does not generate a level 00 object anymore for any of the characteristics. Level 00 for a hierarchy represents the top level node and you might want to keep level 00 objects that should have a hierarchy. The second option of interest is the option to generate technical names as details. This option allows you to generate a detail object representing the technical name (sometimes referred to as the member unique name) in addition to the standard objects. Such an object can be very helpful when
planning to use the universe for an Xcelsius dashboard because you can then use the technical name as part of a selector and ensure that the unique technical name is sent to the SAP NetWeaver BW system as part of the MDX statement. SAP Variables Mandatory variables will always load a list of values (try to leverage more optional variables) Leverage the Delegated Search feature for List of values Improve prompt loading by using optional prompts
Delegated search for List of Values (LOV) 1. Navigate to the tab Properties in the Universe Designer of the LOV items. 2. Activate the Delegate Search No values will be loaded automatically. 3. User is forced to leverage search to receive members. 4. Search is being delegated to the SAP BI system.
Large LOVs for Prompting When generating an LOV for prompting on high cardinality characteristics, even retrieving the member set for the LOV can be very expensive. In such cases, the user will commonly have to use the search functionality in the prompt page in order to find the desired values. If it is not necessary to present the user with an initial list to choose from, it may be desirable to enable delegated search for the characteristic in the LOV. This will force the user to enter a pattern to match before any LOV values are returned, and will only request the member set from BI which matches the user's specified pattern.
Index Awareness When filtering on high cardinality characteristics, in order to avoid the need to resolve member captions to member-unique names when viewing, ensure that any characteristics which are filtered in Web Intelligence are filtered on indexed values. In order to ensure this follow: 1. Navigate to the tab Keys in the Universe Designer 2. Add a primary key Type Character Key Type Primary Key Syntax [<Characteristic>].[TECH_NAME], or [<characteristic>].[LEVEL<xx>].[TECH_NAME]
When working with multiple Web Intelligence queries in a single document, Web Intelligence will share the prompt for filters in different queries which share the same prompt name. In the case where this sharing is desired and the underlying characteristic being filtered is not from the same InfoObject for both queries, it is essential to not have a key specified for the Universe object being filtered. Doing so will result in the technical name for the first object being used, which will not be a valid identifier for the other object (based on a different underlying InfoObject) being filtered. In the case where this sharing is not desired, it is necessary to simply name the two prompts differently. Large Data Volumes Reduce the amount of cells being received from the SAP BI system. Only include items into the Web Intelligence query panel that are being leveraged in the report.
The Query Panel Definition is what defines the Microcube and thus the MDX Query which is executed on SAP BW. When refreshing the data in the WebI report, the entire Microcube is refreshed. Therefore it is useful to include only those items into the Web Intelligence query panel that are being leveraged in the report. In scenarios where the largest parts of the dataset retrieved are master data (i.e. display attributes) consider breaking up the single query into two: one for the master data display attributes, and one for the actual data. Note that it is important to weigh the inherent cost of making additional queries against the savings realized by removing static master data from the mass result set. This approach should only be used when the number of unique master data values to be retrieved is at least an order of magnitude greater than the number of detail rows, and the number of master data fields is relatively large. Merge Dimensions functionality can be used to consolidate the dataset. Leverage Query Stripping with Service Pack 03. Leverage Publications functionality whenever possible to schedule the report refresh in background to reduce end user wait time. This has been greatly improved and extended in XI 3.1 for WebI (MultiPass Bursting). Avoid Building large Web Intelligence reports (large in size). Documents over 200 MB in size can impact the performance. Optimal size should be between 5 to 10 MB. Reducing the number of rows per request by using guided navigation.
Another approach to reducing the number of cells returned per request, and indeed the total number of cells, is to employ more guided navigation techniques in reporting, rather than presenting the user with both highlevel aggregates and details up front. This technique is appropriate when the total set of data exposed by a report is vast, and the user is likely to be interested in all of the highly aggregated data but only specific details. There are two main methods to achieving this: Using Drill in the report, and using report linking. Using Drill Drill can be used within your Web Intelligence report as long as you have a hierarchy defined. It is possible to use either BI hierarchies or custom hierarchies defined in the Universe for drill. In order to have only the data for the current drill context fetched, rather than the entire dataset being fetched up-front, ensure that "Use query drill" is checked in the Web Intelligence document properties. As the query used to process the drill is essentially the same as any other filter request, it is important to use ensure that objects to be used for drill also have an index defined when drilling.
Using Report Linking As another alternative to using drill, you may choose to use report linking. In this case, you would define an initial report which contained only the highly aggregated levels of data which the user will use to decide where more information is desired. Report linking is much more flexible in that you may define links at any level desired, and reports linked to do not have to maintain the same formatting (or indeed, have much data in common at all with the source report). All that is required is a relationship between the data in the source context and the data in the target.
Performance Tuning
Understand where time is spent during the overall runtime using tools available such as RSRT, RSDDSTAT, MDA Logs, etc and follow tuning according.
Related Content
SAP Community Network BI Expert
Copyright
Copyright 2010 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 Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., 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.