Sap Bi Bo Integration - Best Practices and Overcoming Challenges

  • View
    225

  • Download
    10

Embed Size (px)

Transcript

SAP BI BO Integration Best practices and overcoming challenges

14

Applies toSAP BusinessObjects Enterprise. For more information, visit the Business Objects homepage.SummaryThis whitepaper focuses on various aspects that need to be followed in the BO/BW integration projects. It covers best practices, challenges faced and solutions derived in integrating BI with BO (WebI and Crystal Reports).Author(s): Sudhakar ArunachalamRavi Sankar Reddy NaralaReviewer(s): Venkatesh Moti, Anil Kumar LingamCompany: DeloitteCreated on: February 14, 2012Author bio

Error! No text of specified style in document.Page 2The authors have worked on several SAP Business Objects projects. As used in this document, Deloitte means Deloitte LLP and its subsidiaries. Please see www.deloitte.com/us/about for a detailed description of the legal structure of Deloitte LLP and its subsidiaries. Certain services may not be available to attest clients under the rules and regulations of public accounting.

Table of contents1.Introduction12. SAP BI BO Integration Best practices22.1 BW queries22.2 OLAP Universe42.3 Information52.4 Crystal reports62.5 WebI reports93. SAP BI BO Integration Challenges and solutions103.1 Universe103.2 WebI reports113.3 Crystal reports124. SAP BI BO Integration Observations144.1 WebI reports144.2 OLAP Universes144.3 BW queries144.4 Crystal Reports144.5 InfoView viewers for Crystal15Related content16Copyright17

SAP BI BO Integration Best practices and overcoming challenges1. IntroductionSAP acquired Business Objects in 2008 to provide customers with a full suite of business intelligence and information management solutions on a single platform with deep integration to SAP Business Suite and NetWeaver. The intent was to offer SAP customers with a market leading suite of reporting, analytics and dashboard capabilities.This whitepaper focuses on various aspects that need to be followed in the BO/BI integration projects. It covers some of the common challenges faced, and solutions derived in integrating BI with BO (WebI and Crystal Reports). Also, this paper presents a perspective into the recommendations and best practices for BusinessObjects reports development with SAP BW. Goal of this document is to accelerate the deployment of BusinessObjects reports and avoid common mistakes by developers trying their hands for first time with SAP BW based data connections. The scope of this whitepaper is limited to the experiences that we have come across in this project.The Environment is:SAP BI 7.1Crystal Reports 2008 SP3SAP BusinessObjects Enterprise XI 3.1 SP3SAP BI BO Integration kit SP32. SAP BI BO Integration Best practices2.1 BW queriesNeed to check Allow external access to the Query property in advanced properties of BEx to make queries accessible from external applications like Crystal Reports and Universe Designer.

For large sets of key figures, Use Selection of Structure Members option in transaction RSRT for the query to ensure structure elements are sent to the database for processing.Selection option in variable creation is not recommended in BEx Queries. Alternatively, interval for dates and multi-/single-value select variable for Characteristics are suggested.

All the characteristics used in characteristic restriction should be part of rows/columns.Create all prompts in Characteristic restrictions part of BEx. Prompts created at rows/column level of BEx are not carried to Universe.Authorization variables should be part of characteristic restrictions instead of on default values.Implement the filters and restrictions in the BEx query in order to minimize the volume of data returned to Crystal Reports or Web Intelligence reports.Parameters kept at Crystal Report would not filter data coming from BEx. Instead, need to suppress data Crystal Report level. Prompts kept at WebI level will filter data coming from BEx.Use hierarchy type InfoObject to restrict hierarchy node variable restriction. Using normal InfoObject for hierarchy node restriction may give errors at Universe/report level.A large number of navigation attributes defined in the BEx query negatively impacts the performance of the query in Web Intelligence. Only required characteristic objects should be marked as Navigational attributes.BEx should be designed keeping Web Intelligence and Crystal Reports in mind and not BEx, as Crystal, WebI, and BW Queries are three different reporting tools.Row-level security authorizations need to be handled at BW query using authorization variables, as security and restrictions are not supported by Designer for OLAP Universes or Crystal Reports.InfoObject, Variable descriptions in the BEx query have to be aligned with prompt text requirements of the reports.Suggested to apply restrictions at BEX level on some InfoObjects which should show only limited list of values. (e.g.: Fiscal Year Variant: can be restricted to SY instead of allowing all LOV).It is not required to pull InfoObject attributes to BEx query to facilitate Crystal/WebI Reports as all attributes would be available here by default.Key and Text both should be selected for characteristics wherever applicable, instead of selecting only key or text.

Design your BEx query appropriately with limited number of Key Figures and Characteristics.2.2 OLAP Universe1. Set one-time setting at Tools/Options/OLAP. Uncheck Set measure aggregation to delegated, Generate L00.While creating Universe connection, SSO option needs to be used instead of specifying user name and password. When SAP credentials were updated, no additional maintenance is required for connections.Give Universe connection name same as BEx query technical name. (ZZQMSELM02_Q002).Give Universe name as Process area Report name. (QM Notification Causes)

Universe controls need to be left unchecked to fetch complete result set.Promote detailed key objects as dimensions for important InfoObject. (Material key, Document key, etc.)Change the date definition of pre-defined condition at universe level to provide the calendar option in the report prompts.Prefix numbers to prompt display strings to achieve required sequence in WebI Reports.L00 objects can be filtered in Universe. But for Universes with hierarchies, this option is not suggested, as hierarchy objects would start from L00.Create custom objects at universe and use them in Web Intelligence reports to avoid universe refresh issues.Duplicate Condition objects to manage universe refreshes.Use Delegate Search option in universe designer.No values will be loaded automatically. User is forced to leverage search to receive members. Search is being delegated to the SAP BI system)For large sets of key figures, Use Selection of Structure Members option. (In transaction RSRT for the query to ensure structure elements are sent to the database for processing.)No need to set Connection parameters like Array fetch size, Array bind size, and Login timeout.(These are of no use for BI OLAP universes.)BI Queries are recommended as data sources for generating universes.(BI Queries offer significant functionality such as Calculated and Restricted Key figures, structures and SAP authorization Variables.)Ensure the reference objects are indexed to avoid unnecessary steps to resolve the value to the member unique name.Set Index Awareness for suitable columns.Date filters when flown to Universe; lose the ability to provide calendar facility. Update the prompt logic at universe to provide calendar to users.Set measure qualification to sum, average, and database-delegate etc., appropriately.While creating universes for Adhoc-Reporting, create custom objects and hide default classes and objects (L00/L01).All the naming conventions of Characteristics and objects need to be taken care at BEx level.When Universe is based on multiple subject areas, it is suggested to prefix process area for Key figures names.Characteristic in BEx would map to subclass/dimension object in Universe and all the attributes would come as detailed objects in Universe. This is the default behavior of universe.Recommended to have few BW Queries for every InfoCube or MultiCube that is in scope for ad-hoc query and reporting. Then, build a universe on top of each of these BW Queries.2.3 Information1. Universes connect to SAP NetWeaver BI via OLAP BAPIUniverse can directly connect to Multiproviders and InfoCubes.Universe can connect to Multiproviders, InfoCubes, ODS, Infoset through BEx Query.Need to use BEx queries to leverage CKFs, RKFs, Structures, Variables, Navigational attributes.Characteristics, Hierarchies, Basic key figures, Display attributes would be available at InfoCube/BEx query level as well.Meta data mappingDimension: ClassCharacteristics: subclass with dimension and detail objectsCharacteristic with hierarchy: Subclass containing dimension and detail objects for each hierarchy level in the currently defined hierarchyStructure based on Characteristics: Class with single dimension object for the structureNavigational attribute: Subclass with dimension and detail objects (identical to characteristic)Display Attribute: Detail object for the dimensionKey Figure: 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) Calculated Key Figure (BEx Queries only): Measure and dimension objects (same as Key Figure)Restricted Key Figure (BEx Queries only): Measure and dimension objects (same as Key Figure)Variables (BEx Queries only): Pre-defined Filter in the UniverseIn the class for the dimension to which the variable applies, two dimension objects supporting the list of values, one for caption, one for description.Key date variable (BEx Queries only): Universe parameters defining key date variable in the universe2.4 Crystal reports1. Use MDX driver. If you select the SAP>Settings menu, you will see the option Use MDX driver with suppo