Upload
nairunni60
View
228
Download
0
Embed Size (px)
Citation preview
8/13/2019 01_SAP BusinessObjects Integration Workshop
1/74
SAP and BusinessObjectsIntegration Workshop
8/13/2019 01_SAP BusinessObjects Integration Workshop
2/74
SAP BusinessObjects BW Integration workshop
2
Contents
Contents ........................................................................................................................................................ 2
Agenda ........................................................................................................................................................ 10
Introduction to SAP BusinessObjects SAP NetWeaver Business Intelligence (BI) & Product Roadmap .. 11
Business Objects Connectivity with SAP NetWeaver BI .......................................................................... 11
Business Intelligence (BI) Platform & Enterprise Information Management (EIM): .............................. 12
Complete integrated data and BI services: ............................................................................................... 12
SAP NetWeaver and SAP BusinessObjects Roadmap ............................................................................. 13
Migration support: ..................................................................................................................................... 13
Short- term: ................................................................................................................................................. 13
Mid-/ Long Term: ........................................................................................................................................ 13
SAP BusinessObjects Resources .............................................................................................................. 14Architecture Overview ............................................................................................................................ 15
Integration Kit for SAP ERP/ECC Reporting .......................................................................................... 15
Integration Kit for SAP BW Reporting .................................................................................................. 16
SAP BusinessObjects Voyager ................................................................................................................. 16
Where can Voyager add value? ................................................................................................................. 16
Customer requirements ............................................................................................................................. 16
SAP Connectivity ........................................................................................................................................ 17
When should I use SAP NetWeaver BI's BEx Web Analyzer and when Business Objects Voyager today? .................................................................................................................................................................... 17
What is the future of SAP NetWeaver BI's BEx Web Analyzer & Business Object's Voyager? ................ 17
SAP BusinessObjects Web Intelligence ................................................................................................... 17
Where can Web Intelligence add value? ................................................................................................... 17
Customer requirements ............................................................................................................................. 18
Connectivity to SAP .................................................................................................................................... 18
Enterprise Reporting with Crystal Reports ............................................................................................. 19
Where does Crystal Reports add value? .................................................................................................... 19
Customer Requirements ............................................................................................................................ 19
Connectivity to SAP Applications and NetWeaver BI ............................................................................... 19
Interactive Visualization with Xcelsius .................................................................................................... 19
Where can Xcelsius add value? .................................................................................................................. 20
Customer Requirements ............................................................................................................................ 20
SAP Connectivity ........................................................................................................................................ 20
8/13/2019 01_SAP BusinessObjects Integration Workshop
3/74
SAP BusinessObjects BW Integration workshop
3
MS Office Integration with Live Office .................................................................................................... 21
Where can Live Office add value? ............................................................................................................. 21
Customer requirements ............................................................................................................................. 21
Query as a Web Service .......................................................................................................................... 22
OLAP Universes and SAP NetWeaver BI ..................................................................................................... 23Universe: What purpose does it serve? ..................................................................................................... 23
Universes can connect to the following objects in BI: .............................................................................. 23
OLAP Universes: Recommendations & Considerations ............................................................................ 23
Introduction to SAP BusinessObjects Crystal Report 2008 ......................................................................... 25
Creating a Crystal Report 2008 ............................................................................................................... 25
Demo & Activity: Create simple Crystal Reports in Crystal Report 2008 designer .................................. 25
Selecting & Formatting Report ............................................................................................................... 25
Demo & Activity: Apply selection and filtering in Crystal Report 2008 designer .................................... 25
Demo & Activity: Apply report formatting in Crystal Report 2008 designer ........................................... 25
Applying Section Formatting ................................................................................................................... 25
Demo & Activity: Apply report section formatting in Crystal Report 2008 designer .............................. 25
Creating Basic Formula ........................................................................................................................... 25
Demo & Activity: Apply basic formula in Crystal Report 2008 designer .................................................. 25
Building Parameterized Report ............................................................................................................... 25
Demo & Activity: Create parameterized reports using Crystal Report 2008 designer ............................ 25
Using Sub-Reports ................................................................................................................................... 26
Demo & Activity: Create sub-reports using Crystal Report 2008 designer .............................................. 26
Crystal Report 2008 and SAP R/3 Data Sources .......................................................................................... 27
SAP R/3 as a data source ......................................................................................................................... 27
Crystal Report 2008 and SAP Tables ....................................................................................................... 27
Activity: Create a new Crystal Report 2008 against SAP tables ................................................................ 28
Crystal Report 2008 and ABAP Functions ............................................................................................... 28
Activity: Create a new Crystal Report 2008 against ABAP Function ........................................................ 28
Crystal Report 2008 and InfoSets ........................................................................................................... 28
Activity: Create a new Crystal Report 2008 against an InfoSet ................................................................ 29
Crystal Report 2008 and InfoSet Queries ............................................................................................... 29
Activity: Create a new Crystal Report 2008 against an SAP Query .......................................................... 29
Crystal Report 2008 and SAP BW ................................................................................................................ 30
SAP BW Metadata in Crystal Report 2008 .............................................................................................. 30
Crystal Report 2008 with Simple SAP BW Query .................................................................................... 31
8/13/2019 01_SAP BusinessObjects Integration Workshop
4/74
SAP BusinessObjects BW Integration workshop
4
Activity: Create a new Crystal Report 2008 against a simple SAP BW Query .......................................... 31
Activity: Create a new Crystal Report 2008 against a SAP BW Query with Display Attributes ............... 32
Crystal Report 2008 with Advanced SAP BW Query ............................................................................... 32
SAP BW Variables ................................................................................................................................ 32
Activity: Create a new Crystal Report 2008 against a SAP BW Query with Optional Prompting ............ 32Activity: Create a new Crystal Report 2008 against a SAP BW Query with Mandatory Prompting ........ 33
Activity: Create a new Crystal Report 2008 against a SAP BW Query with a Default Value for Prompting .................................................................................................................................................................... 33
SAP BW Multi-structure Queries......................................................................................................... 33
Activity: Create a new Crystal Report 2008 against a SAP BW Query with two Structures .................... 34
Crystal Report 2008 with SAP BW Queries with Hierarchies .................................................................. 34
In terms of hierarchies reporting the BW connectivity offer two different solutions. ............................... 34
Simple Hierarchy reports .................................................................................................................... 34
Activity: Create a new Crystal Report 2008 against a SAP BW Query with Hierarchies .......................... 34
Formulas for hierarchical reporting .................................................................................................... 35
Eg. HierarchyLevel ( ..................................................................................................................................... 35
Eg. CountHierarchicalChildren ( .................................................................................................................. 35
Activity: Changing formatting options for a hierarchical report .............................................................. 35
Crystal Reports 2008 with hierarchy variables ................................................................................... 35
Activity: Create a new Crystal Report 2008 with Hierarchy Variable ....................................................... 36
Crystal Reports 2008 with hierarchy note variables ........................................................................... 36
Activity: Create a new Crystal Report 2008 with Hierarchy Node Variable ............................................. 36
Activity: Create a new Crystal Report 2008 with Hierarchy and Hierarchy Node Variable ..................... 37
Crystal Report 2008 against SAP BW Cubes ........................................................................................... 37
Activity: Create a new Crystal Report 2008 with Hierarchy and Hierarchy Node Variable ..................... 38
Crystal Report 2008 and Keydate Variables............................................................................................ 38
Activity: Create a new Crystal Report 2008 against an SAP BW query with a Keydate variable ............ 38
SAP Variable Personalization .................................................................................................................. 38
Preferred Viewing Language (PVL) in Crystal Report 2008 ..................................................................... 39
Configure the preferred viewing language in Crystal Report 2008 as follows: .......................................... 39Set the preferred viewing language in InfoView as follows: ...................................................................... 39
Introduction to SAP BusinessObjects Web Intelligence XI 3.0/3.1 Report Design .................................. 40
Creating Web Intelligence documents with Queries .............................................................................. 40
Demo & Activity: Creating Web Intelligence reports and query .............................................................. 40
Restricting data returned by Query ........................................................................................................ 40
8/13/2019 01_SAP BusinessObjects Integration Workshop
5/74
SAP BusinessObjects BW Integration workshop
5
Demo & Activity: Restricting data returned by Web Intelligence reports query ..................................... 40
Designing & Formatting Web Intelligence reports ................................................................................. 40
Demo & Activity: Designing and formatting Web Intelligence reports .................................................... 40
Enhancing the presentation of data in Reports ...................................................................................... 40
Demo & Activity: Enhancing the report presentation by advanced formatting ...................................... 40Creating & Formatting Charts in Reports ................................................................................................ 40
Demo & Activity: Creating and formatting charts in reports .................................................................... 40
Calculating Data with Formulas and Variables ....................................................................................... 41
Demo & Activity: Introduction to formula and variables for data calculations ....................................... 41
Using Multiple Data Sources ................................................................................................................... 41
Demo & Activity: Creating Web Intelligence reports using multiple data sources ................................. 41
Fundaments of SAP BusinessObjects Universes ......................................................................................... 42
Understanding SAP BusinessObjects Universes & Universe Designer .................................................... 42
Demo & Activity: Understand SAP BusinessObjects Universe Layer ....................................................... 42
Demo & Activity: Understand SAP BusinessObjects Universe Designer ................................................. 42
Creating & Understand Dimension, Measure, Detail & Filter Objects ................................................... 42
Demo & Activity: Introduction to Universe Objects and setting their properties .................................. 42
Applying Restrictions on Objects ............................................................................................................ 42
Demo & Activity: Applying restrictions to Universe objects .................................................................... 42
Using @Functions with Objects .............................................................................................................. 42
Demo & Activity: Introduction & usage of @Functions ........................................................................... 42
Using Hierarchy & LOV Objects ............................................................................................................... 42
Demo & Activity: Introduction & usage of LOV objects ........................................................................... 42
Demo & Activity: Introduction & usage of Hierarchy objects ................................................................. 42
Applying Universe Access Restrictions.................................................................................................... 43
Demo & Activity: Introduction & usage of access restrictions to universe objects ................................ 43
SAP BW metadata in OLAP Universe .......................................................................................................... 44
OLAP Universes and SAP BW Metadata.................................................................................................. 44
Activity: Create a new OLAP Universe ....................................................................................................... 45
Optional Variables in OLAP Universes & Web Intelligence ..................................................................... 45
Activity: Create a new OLAP Universe with Optional prompting ............................................................. 45
Mandatory Variables in OLAP Universes & Web Intelligence................................................................. 45
Activity: Create a new OLAP Universe with Mandatory prompting ......................................................... 45
SAP Variables with Default values in OLAP Universes & Web Intelligence ............................................ 46
Code Sample: .............................................................................................................................................. 46
8/13/2019 01_SAP BusinessObjects Integration Workshop
6/74
SAP BusinessObjects BW Integration workshop
6
........................................................................................................................... 46
8/13/2019 01_SAP BusinessObjects Integration Workshop
7/74
SAP BusinessObjects BW Integration workshop
7
Activity: Using multiple connections in Voyager ...................................................................................... 55
Introduction to SAP BusinessObjects Xcelsius 2008 ................................................................................... 56
Creating a Visualization using Xcelsius 2008 .......................................................................................... 56
Demo & Activity: Setting up a chart with a data range pie chart .......................................................... 57
Demo & Activity: Setting up a chart with a data series bar chart ......................................................... 57Demo & Activity: Setting up a chart to ignore end blanks ....................................................................... 57
Demo & Activity: Performing what-if analysis .......................................................................................... 57
Demo & Activity: Designing a model ......................................................................................................... 57
Formatting a Visualization using Xcelsius 2008 ...................................................................................... 57
Demo & Activity: Formatting a model ....................................................................................................... 57
Adding Interactivity & Dynamic Visibility to a Visualization ................................................................... 57
Adding interactivity by inserting a Selector and data insertion, setting default values for selector, etc... 57
Demo & Activity: Creating interactive models using selector .................................................................. 57
Demo & Activity: Creating interactive models using maps ...................................................................... 57
Demo & Activity: creating interactive models using dynamic visibility ................................................... 57
Creating a connected Visualization using Crystal Reports 2008 and LiveOffice ..................................... 57
Demo & Activity: creating connected visualization using Crystal Reports 2008 and LiveOffice ............. 57
Creating a connected Visualization using Web Intelligence and LiveOffice ........................................... 57
Demo & Activity: creating connected visualization using Web Intelligence and LiveOffice ................... 57
Creating a connected Visualization using Universe via QaaWS .............................................................. 57
Demo & Activity: Connecting to BusinessObjects Universes using Query as a Web Service (QaaWS) ... 57
Integrating SAP BW connections with Visualization using LiveOffice .................................................... 57
Activity: Create a new Report with Crystal Report 2008 .......................................................................... 58
Activity: Create a new Live Office document based on Crystal Report 2008 ........................................... 58
Creating Xcelsius Dashboards with Live Office: .......................................................................................... 58
Activity: Create a new Xcelsius 2008 dashboard with LiveOffice ............................................................. 58
Note: Similarly, we can create Xcelsius dashboards from Web Intelligence Document using LiveOffice. . 58
Creating a QaaWS with SAP Data Source and Visualization ................................................................... 58
Activity: Create a new OLAP Universe ....................................................................................................... 58
Activity: Create a new QaaWS web service ............................................................................................... 59
Activity: Create a new Xcelsius Dashboard ............................................................................................... 59
SAP BusinessObjects Xcelsius 2008 with QaaWS and SAP Variables ...................................................... 59
Activity: Create a new OLAP Universe for QaaWS web service ................................................................ 59
Activity: Create a new QaaWS web service ............................................................................................... 60
Activity: Create a new Xcelsius Dashboard ............................................................................................... 60
8/13/2019 01_SAP BusinessObjects Integration Workshop
8/74
SAP BusinessObjects BW Integration workshop
8
SAP BusinessObjects Integration Kit for SAP Components ...................................................................... 61
SAP Connectivity ..................................................................................................................................... 61
SAP Authentication ................................................................................................................................. 61
SAP BW Publisher .................................................................................................................................... 61
Web Content ........................................................................................................................................... 61SAP BW content Administration Workbench ......................................................................................... 61
SAP BusinessObjects Integration Kit for SAP Prerequisites ..................................................................... 62
Technical Prerequisites ........................................................................................................................... 62
Activity: Verify the SAP transports ............................................................................................................ 63
Activity: Verify the single-sign-on profile parameters .............................................................................. 63
Activity: Configure logon via load balancing ............................................................................................. 64
Publishing SAP BusinessObjects Crystal Reports object with SP BW ...................................................... 64
Publishing process: ..................................................................................................................................... 65
SAP BusinessObjects Integration Kit for SAP Installation ........................................................................ 66
Installation of SAP BusinessObjects Integration Kit for SAP ................................................................... 66
Distributed Deployments considerations ............................................................................................... 67
Client-side Components .......................................................................................................................... 68
SAP BusinessObjects Enterprise Administration & Security .................................................................... 69
Describe SAP BusinessObjects Enterprise ............................................................................................... 69
Using InfoView & CMC to view content .................................................................................................. 69
Demo and Activity: InfoView application and customizing preferences ................................................. 69
Demo and Activity: CMC application and customizing preferences ........................................................ 69
Managing and Securing Enterprise contents .......................................................................................... 70
Application and Third Party Security ...................................................................................................... 70
Demo & Activity on Application level Security ......................................................................................... 70
Demo & Activity on Third Party Security using Windows NT users, LDAP users & SAP users ................ 70
Scheduling Content ................................................................................................................................. 70
Demo & Activity on scheduling options .................................................................................................... 70
Demo & Activity on Instance Manager ...................................................................................................... 70
Publishing & Publication ......................................................................................................................... 71
Report Bursting .......................................................................................................................................... 71
Demo & Activity: Publishing to Enterprise Recipients .............................................................................. 71
SAP BusinessObjects Integration Kit for SAP Post-installation steps ....................................................... 72
Configuring & Enabling SAP Authentication ........................................................................................... 72
Enable SAP authentication as follows: ........................................................................................................ 72
8/13/2019 01_SAP BusinessObjects Integration Workshop
9/74
SAP BusinessObjects BW Integration workshop
9
Activity: Enable SAP Authentication .......................................................................................................... 72
Configuring Global options for SAP Authentication ............................................................................... 72
Configure SAP authentication options as follows: ...................................................................................... 72
Activity: Configure SAP Authentication options ....................................................................................... 73
Import SAP users and roles ..................................................................................................................... 73Configure SAP authentication options as follows: ...................................................................................... 73
Activity: Import SAP roles to SAP BusinessObjects Enterprise ................................................................. 73
Mapping SAP users as Aliases to NT Users/BusinessObjects Users ........................................................ 74
Assign the aliases as follows: ...................................................................................................................... 74
8/13/2019 01_SAP BusinessObjects Integration Workshop
10/74
SAP BusinessObjects BW Integration workshop
10
Agenda
Day 1Introduction to SAP BusinessObjects-SAP BI BW, product roadmapIntroduction to SAP BusinessObjects Crystal Report 2008
o Report writing & connecting to various sources
o Formatting & Report Layouto Fields & formula, Sub-Report, etc.
Day 2SAP BusinessObjects Crystal Report 2008 Integration with SAP R/3 & BI BW 7.0 systemsIntroduction to SAP BusinessObjects Web Intelligence XI 3.0/3.1
o SAP BusinessObjects Web Intelligence Documents & Querieso Report Writing, Formatting & Layouto Calculations with Formulas and Variableso Multiple Data Source, Analyzing Data, etc.
Fundamentals of SAP BusinessObjects Universe
Day 3OLAP Universes build from SAP BI BW 7.0 (BEx Query & Cubes)SAP BusinessObjects Web Intelligence XI 3.0/3.1 with SAP BI BW 7.0SAP BusinessObjects Voyger and SAP BI BW 7.0
Day 4Introduction to SAP BusinessObjects Xcelsius 2008 Dashboards
o Creating & Formatting a Visualizationo Adding an Interactivity to Visualization
SAP BusinessObjects Xcelsius 2008 Dashboards integration with SAP BI BW 7.0Hands-on & project work on building integrated reports using SAP BusinessObjects CrystalReport 2008 & Web Intelligence XI 3.0/3.1Hands-on & project work on building integrated Dashboards using SAP BusinessObjects Xcelsius2008
o Using Query As a Web Services (QaaWS)o Using Live Office
Day 5Introduction to SAP Integration Kit 3.0/3.1Installation & Settings of SAP Integration Kit 3.0/3.1SAP BusinessObjects Enterprise Administration & Security
o Managing & Securing SAP BusinessObjects Enterprise Contentso Scheduling SAP BusinessObjects Enterprise Contentso Publishing & Publication of SAP BusinessObjects Enterprise Contents
8/13/2019 01_SAP BusinessObjects Integration Workshop
11/74
SAP BusinessObjects BW Integration workshop
11
Introduction to SAP BusinessObjects SAP NetWeaver BusinessIntelligence (BI) & Product Roadmap
This lesson will provide an overview of the connectivity methods of the various SAP BusinessObjectsInformation Discovery & Delivery (IDD) frontend tools. The frontend tools discussed in this topic will be
specific to those included in the BI Roadmap (Web Intelligence, Voyager, Xcelsius, and Crystal). It willalso include a deeper dive into the connectivity of Web Intelligence and Crystal Reports to NetWeaverBI. A brief demonstration will be shown on the creation of an OLAP Universe against a BEx Query, andhow that Universe is consumed in a Web Intelligence Report. Now that you have seen the BI FrontendRoadmap, understand how you can leverage the Business Objects IDD tools with NetWeaver BI today!
Business Objects Connectivity with SAP NetWeaver BI
SAP NetWeaver (NW) excels in delivering
o Standardextractioncapabilities
o Rich modelingenvironment
o Highperformance
o Reporting andplanningcapabilities
o CompositionEnvironment
SAP BusinessObjects provides best-in- class
o Dashboardsandvisualization,
o Query, reporting and analysis
o End user, self-service information access and reporting
o Enterprise information management across all sources
With the SAP BusinessObjects premium packages, which bundle existing Business Objects products
for SAP customers, SAP dramatically enhances its offering in the BI space.o The new offering, that integrates with both, the existing NW BI foundation and the SAP
Suite, as well as non-SAP systems, allows to address ever increasing end user needs in theareas of enterprise reporting, ad-hoc query and analysis, and dashboards.
o As such, these premium packages close significant gaps in the current SAP NW BI offeringand are key to future BI initiatives.
8/13/2019 01_SAP BusinessObjects Integration Workshop
12/74
SAP BusinessObjects BW Integration workshop
12
o As they are addressing not only the needs of traditional SAP user segments, but greatlyextending the reach of BI also to information and knowledge workers, you can deliver ahigher ROI of your existing investments in SAP NW BI and SAP Suite, simply by makinginformation available and usable by a much bigger user community and in many morebusiness processes in your enterprise
o With Business Intelligence Accelerator and the Data Warehouse, SAP NetWeaver continuesto deliver the rock solid and high performance foundation for these premium packages forSAP customers.
o Lastly, SAP NetWeaver BI can be greatly complemented by the Business Objects premiumpackage data quality and data integration. This allows customers for loading data fromsystems like Siebel, Peoplesoft, JD Edwards and others, with pre-defined extractioncapabilities, as well as to use advanced data cleansing and matching capabilities in the ETLprocess to check and apply business rules on data before it enters the BI system.
Business Intelligence (BI) Platform & Enterprise Information Management(EIM):"The best EIM and BI integration: Native Data Integration and Quality in the platform The only BI and
EIM platform that have integrated data lineage, impact analysis, common auditing, metadatageneration, and common solution
Complete integrated data and BI services:
1) Data integration - "The first single platform for data integration and data quality - Informatica, IBM,and Oracle all haveETL and data qualityofferings but none asone single-product.
2) Data integration -"Easiest to use dataintegration and dataquality for theenterprise Fromthe "Integrating datain the Enterprise - ETLproduct survey 2007"by PassionedInternational
3) Trust - "Mostcomplete global dataquality offering -Over 180 differentcountry addresses -more than any other DQ vendor. Flexibility to work with the most data types of any DQ vendor. DQalso available via on SaaS.
4) Change management "The first and only BI platform with change management capabilitiesproviding source to user impact analysis - Business Objects has sold and deployed impact analysis
8/13/2019 01_SAP BusinessObjects Integration Workshop
13/74
SAP BusinessObjects BW Integration workshop
13
from source, to universe, to report, user. Informatica has marketed impact analysis from source toreports but not to user - again, no confirmed deployments.
5) Metadata management
6) Master Data Management
7) Security consistent security model across all platform components8) Auditing Complete data lineage, understanding of any transformation data has gone through
9) Publishing Report bursting to 1M+ users based on publishing rules with personalization to delivercustom reports
10) Data access All data, any database
11) The right tool for the right role/job: mobile, on the desktop, embedded
SAP NetWeaver and SAP BusinessObjects RoadmapThis roadmap addresses only product areas with potential overlap or synergies products notmentioned explicitly will continue on their existing path/roadmap.
Migration support:
Short- term:
No migration offered,but side-by-side withintegration of contentin the portal
New projects shouldstart rather based onthe premium
packages. Runningprojects on BEx wherethere is alreadysignificant investmentshould continue withthe investment.Investment is save for8+ years.
Mid-/ Long Term:
From today's premium packages, you can migrate safely to the future premium offering.
For BEx Analyzer, as this is becoming part of the Pioneer offering, investments are safe andmigration (if needed) provided.
For BEx Report Designer, as the number of customers is still quite low, we currently do not intend toprovide a migration to Crystal Reports or Crystal Reports Light
For BEx Web Application Designer (WAD), we'll support a side-by-side model for 8+ years withXcelsius and Xcelsius+, as well as with the Composition Environment (CE) and Visual Composer (VC).So current investments in WAD are sfve and can be used together with future investments in the
8/13/2019 01_SAP BusinessObjects Integration Workshop
14/74
SAP BusinessObjects BW Integration workshop
14
premium packages. Future Dashboard projects should evaluate the Xcelsius offering; compositeapplications including BI content should be built using VC and CE. Within CE, also there will bepremium packages to enhance the BI Content. We are defining a service based offering to supportmigration, and furthermore evaluate a technical solution to support migration.
SAP BusinessObjects Resources
Business Objects Support Site
o http://support.businessobjects.com
o Wealth of information including, Product Guides, Product Overviews, Install Guides,Supported Platforms information, Samples, etc
Business Objects Developer Community DIAMOND
o http://boc.sdn.sap.com
o BOBJ version of SDN
o Communities, Beta Product downloads, Webinar information, E-Books, DeveloperConference 2007 slides, Free Trial downloads, more!...
o You can use your SDN & BPX User ID & Password to login
o Recently moved to SDN (hosting) and will be further integrated later
SDN
o https://www.sdn.sap.com/irj/sdn/businessobjects
o Check out the blogs and forums there is already some great content posted
http://support.businessobjects.com/http://boc.sdn.sap.com/https://www.sdn.sap.com/irj/sdn/businessobjectshttps://www.sdn.sap.com/irj/sdn/businessobjectshttp://boc.sdn.sap.com/http://support.businessobjects.com/8/13/2019 01_SAP BusinessObjects Integration Workshop
15/74
SAP BusinessObjects BW Integration workshop
15
Architecture Overview
Integration Kit for SAP ERP/ECC ReportingNative API access
o Full support for Infosets, Tables and ABAP Functions/Queries
o No additional metadata setup required
No ABAP programming required
o Leverage SAP securitydirectly
o End-to-end single sign-on
o Small amount ofconfiguration required
o Ease of maintenance and ITadmin
No SAP upgrade required
Support all SAP R/3 versions since4.6c
8/13/2019 01_SAP BusinessObjects Integration Workshop
16/74
SAP BusinessObjects BW Integration workshop
16
Support for SAP ECC 5.0 & 6.0
Integration Kit for SAP BW ReportingBuilt on a unique SAP BW API leveraging OLAP BAPI
o SAP-developed and supported
Fully leverage SAP BW user interface
o Use BEx query panel, directly from withinCrystal Reports
Fully integrated into SAP BW lifecycle
o Store reports in the SAP BW repository,through development / test / productioncycle
Leverage SAP security directly
o End-to-end single sign-ono No additional configuration required
o Ease of maintenance and IT admin
SAP BusinessObjects VoyagerVoyager is a web-based OLAP client with and advanced & highly intuitive user interface based on WEB2.0 (Ajax) technology
Where can Voyager add value?
Multiple connections to multiple OLAP Servers (SAPNetWeaver BI/BW, MSAS, Essbase, IBM DB2)
Multiple pages in a workspace
Advanced charting engine with newchart capabilities especially designed forOLAP analysis
Capable of standard OLAP navigation
o Business calculations: % diff, %cont, variance
o Time based calculations: Prior Period,YTD, QTD, MA
o Filter, sort, ranking top / bottom, byvalue by %
Customer requirements
Tool designed for business analysts analyzingOLAP data & end users reviewing OLAP data
8/13/2019 01_SAP BusinessObjects Integration Workshop
17/74
SAP BusinessObjects BW Integration workshop
17
Open data Access
Access and analyze multiple OLAP sources in the one workspace
Multiple views of the same OLAP cube in the one workspace
SAP Connectivity
Direct Access to SAP NetWeaver BI Queries & InfoCubes / MultiProviders via OLAP BAPI
When should I use SAP NetWeaver BI's BEx Web Analyzer and when Business Objects Voyager today?
Web Analyzer has a clear focus on SAP NetWeaver BI data and rich NetWeaver-specific OLAPcapabilities. Voyager is completely open when it comes to Third Party BI data access but has less NW BIspecific capabilities such as NW BI hierarchies, currency conversion etc.
What is the future of SAP NetWeaver BI's BEx Web Analyzer & Business Object's Voyager?
Going forward, SAP and Business Objects will develop a new OLAP analysis client combining the BExAnalyzer 's (Excel Add-In) and the BEx Web Analyzer 's existing OLAP capabilities with Voyager'sbest-in-class UI and user experience capabilities including :
o Advanced MSPowerPointand MS Wordintegration
o Enhancedchartingcapabilities
o Openness tothird partydata.
The offering will beavailable in a premiumversion to SAP NW BI
In 2008, BEx WebAnalyzer & BExAnalyzer can be runside-by-side withBusiness Objects'Voyager product.
SAP will continue to make available an Excel- & web-based OLAP client for SAP NW BI
SAP BusinessObjects Web IntelligenceBusinessObjects Web Intelligence is the leading end user reporting-and-analysis tool.
Where can Web Intelligence add value?
In the area of ad-hoc reporting
Easy-to-use interface for end user reporting
8/13/2019 01_SAP BusinessObjects Integration Workshop
18/74
SAP BusinessObjects BW Integration workshop
18
Powerful query features
Leverage business friendly semantic layer to hide complexity
Customer requirements
Self-service reporting and analysis, autonomy from IT
Simple user interface, designed for the masses
Combine data from SAP and non-SAP data in a single report,including data from XLS, CSV, and Text files
Rich feature set
Connectivity to SAP
Sits on top of Business Objects Enterprise Universes
Universes connect to SAP NetWeaver BI via OLAP BAPI
Access objects: BEx Queries & SAP NetWeaver BI InfoCubes or MultiProviders
8/13/2019 01_SAP BusinessObjects Integration Workshop
19/74
SAP BusinessObjects BW Integration workshop
19
Enterprise Reporting with Crystal ReportsWhere does Crystal Reports add value?
In the area of highly formatted reporting
o Such as management reports orlegal reports
It enables the creation and modification offormatted reports:
o On top of SAP NetWeaver BI
o Leveraging the solid datawarehousing foundation
Report off of all sources of information inyour organization
Customer Requirements
Highly formatted management reports
Operational and tactical applications with low interaction rate (view static and parameterizedreports)
Professional reportlayout (one-to-manyapproach)
Form-based, print-optimized reports
Develop powerful
data mash-upsConnectivity to SAPApplications andNetWeaver BI
InfoSet/ABAP QueryDriver Access SAPNetWeaver BIInfoSets.
Open SQL Driver -Access ODS Objects
SAP NetWeaver BIOLAP Kit
o Connect to multidimensional SAP NetWeaver BI InfoCubes or MultiProviders & BEx Queries.
Interactive Visualization with Xcelsius
8/13/2019 01_SAP BusinessObjects Integration Workshop
20/74
SAP BusinessObjects BW Integration workshop
20
Xcelsius is an environment to design andconsume highly-interactive, flash-baseddashboards in PDF, documents, presentationsand NetWeaver Portal
Where can Xcelsius add value?
In the area of data visualization
Intuitive design environment, enabling youto easily create professional-lookingmodels quickly using skins, maps, charts,gauges, and selectors.
Add visualization to Crystal Reports
End user personalization
Customer Requirements
Fast to deploy dashboards on SAP and/or non-SAP data
Empower Business Users who are not savvy using analysis tools
Simplify BI information with innovative & intuitive visuals
SAP Connectivity
Via Live Office Crystal Reports can be connected to Xcelsius
ViaQuery asa WebService(QaaWS)which
leverages Business Objects Universes
8/13/2019 01_SAP BusinessObjects Integration Workshop
21/74
SAP BusinessObjects BW Integration workshop
21
MS Office Integration with Live OfficeLive Office allows the deployment and access of BI reports & dashboards within Microsoft OfficePowerPoint, Word & Excel
Where can Live Office add value?
Live Office integrates refreshable BIdata within documents, spreadsheets,and presentations.
The result is an Office document youcan share with others for secure,collaborative decision-making.
Using intuitive wizards and toolbars,easily connect to and select data froma Crystal Report or Web Intelligencedocument
Once the data is placed into your MSdocument, you can format, reorganize, and perform calculations all while using familiar features inMicrosoft Word, PowerPoint, and Excel.
Customer requirements
Seamless integration of BI into Microsoft Office
Easy self-service & sharing of BI data embedded into MS Office documents
8/13/2019 01_SAP BusinessObjects Integration Workshop
22/74
SAP BusinessObjects BW Integration workshop
22
Query as a Web Service
Query as a Web Service is an intuitive, wizard based Web Service definition tool
Allows BI content to be delivered to any user interface that can process Web Services
o In the case of thispresentation the userinterface discussed isan Xcelsiusvisualization
IT or Business Users definetheir own query from auniverse, and then easily andsecurely publish that queryas a standalone web service
Enables Crystal Xcelsius toaggregate multiple disparatedata sources into a trusted BIview
8/13/2019 01_SAP BusinessObjects Integration Workshop
23/74
SAP BusinessObjects BW Integration workshop
23
OLAP Universes and SAP NetWeaver BI
Universe: What purpose does it serve?
The Uni verse serves as a Semantic Layer between the Frontend Reporting Tool (i.e. WebIntelligence) and the backend data source (i.e. SAP NetWeaver BI)
o Extend OLAP access to a wider audience Web Intelligence, Xcelsius Enterprise, Polestarand Live Office users
Allows for Dimensions and Measures (InfoObject Characteristics and Key Figures) to be representedin meaningful business terms
o Technical Names are not exposed to the end user
o Commonality of business terms can be implemented so there is consistency across allUniverses (regardless of data source!)
Enhancing the Cube
o Add calculated measures, calculated members, sets to enhance the functionality withoutchanging the SAP NetWeaver BI Query
o Add additional parameters (SAP variables)
o Enable filters, prompts, and data formatting
Universes can connect to the following objects in BI:
InfoCubes
MultiProviders
o Can be a MultiProvider built on any source InfoProvider (Cube, DSO, InfoSet, etc)
Business Explorer Query
o Can be a query on any source InfoProvider (Cube, MultiProvider, DSO, etc)
o Must be released for external access (Release for OLE DB for OLAP option in the Advancedtab in query properties)
o Features of BEx Queries such as Navigational Attributes, Calculated Key Figures, RestrictedKey Figures, Variables, etc can be leveraged (See xi3_sap_olap_universes_en.pdf forspecifics on supported features)
OLAP Universes: Recommendations & Considerations
The recommended approach is to create a query (or set of queries) on InfoCubes orMultiProviders that are in scope for Ad-Hoc Analysis, and then create an OLAP Universe on each ofthem
o Utilizing a BEx Query as the basis for the Universe allows for functionality such asNavigational Attributes, Calculated Key Figures, Restricted Key Figures, Variables, etc to beleveraged
o This setup also allows for performance optimizations to be made by hard-codingcharacteristic restrictions (thus limiting data), or reducing the characteristics and key figures
8/13/2019 01_SAP BusinessObjects Integration Workshop
24/74
SAP BusinessObjects BW Integration workshop
24
which can be displayed in WebI or other frontend tools utilizing Universes (i.e. to preventLine Item data from being displayed)
Understand the BEx Query definition and even the Universe Design does not directly impact theperformance of a WebI Report
o Rather, the design of the WebI Report and the InfoObjects (Dimension or Measure) includedin the report will impact performance
o However, limiting the InfoObjects (Dimension or Measure) available in the Query orUniverse will influence performance (by virtue of the fields not being available in the WebIReport)
Typically the default OLAP Universe generated based on BI metadata (InfoProvider or Querybased) should be customized in order to make it more user friendly and business flavored
o This is really the whole purpose of having the semantic layer of the Universe in between the user and the backend source of the data (i.e. making it as straight forward and userfriendly as possible no technical names)
Take into consideration the MDX Restrictions and unsupported Query featureso Review OSS Notes 820925 & 838800 for specific features which are not supported
o Review the MDX Specification for details on MDX Syntax and functionality
o http://msdn.microsoft.com/library/en-us/oledb/htm/oledbpart3_ole_db_for_olap.asp?frame=true
8/13/2019 01_SAP BusinessObjects Integration Workshop
25/74
SAP BusinessObjects BW Integration workshop
25
Introduction to SAP BusinessObjects Crystal Report 2008
This lesson provides you with an overview on Crystal Reports 2008.
In this lesson, you will learn about:
Creating a Crystal Report 2008
Selecting & Formatting Reports
Applying Selection Formatting
Creating Basic Formula
Building Parameterized Reports
Using Sub-Reports
Creating a Crystal Report 2008This section provides demo and activity on Crystal Report 2008 Designer, making of a simple report andpublishing it on SAP BusinessObjects Enterprise. It provides insight into data connectivity and dataconnection wizard, report prototype and templates, etc.
Demo & Activity: Create simple Crystal Reports in Crystal Report 2008 designer
Selecting & Formatting Report
Demo & Activity: Apply selection and filtering in Crystal Report 2008 designer
Demo & Activity: Apply report formatting in Crystal Report 2008 designer
Applying Section Formatting
Demo & Activity: Apply report section formatting in Crystal Report 2008 designer
Creating Basic Formula
Demo & Activity: Apply basic formula in Crystal Report 2008 designer
Building Parameterized Report
Demo & Activity: Create parameterized reports using Crystal Report 2008 designer
8/13/2019 01_SAP BusinessObjects Integration Workshop
26/74
SAP BusinessObjects BW Integration workshop
26
Using Sub-ReportsDemo & Activity: Create sub-reports using Crystal Report 2008 designer
8/13/2019 01_SAP BusinessObjects Integration Workshop
27/74
SAP BusinessObjects BW Integration workshop
27
Crystal Report 2008 and SAP R/3 Data Sources
This lesson provides you with an overview on the connectivity for Crystal Reports 2008 against SAP R/3.
In this lesson, you will learn about:
Using SAP R/3 as a data source for Crystal Report 2008
SAP R/3 as a data source
Create reports against SAP TablesCreate reports against ABAP FunctionsCreate reports against SAP InfoSetsCreate reports against SP Queries (ABAP Queries)
Crystal Report 2008 and SAP TablesAt the most basic level, SAP R/3 data is stored in a standard relational database system such as Oracle orMS SQL Server. This data is then abstracted in the R/3 to represent the various entities used by the R/3applications. These definitions with the exception of ABAP functions and ABAP data clusters are storedin the ABAP dictionary. The SAP Tables, Functions and Cluster connectivity provides access to theseentities for reporting.
Transparent Tables they are similar to traditional database tables nd contain the majority of the SAPapplication data.
Pool & Cluster Tables are made up of logical grouping of other database tables. They are primarilyused to store application configuration and control information rather than the actual application data.
Views appears as one table with a list of fields but actually consists of several tables linked together.They provide more abstract view of the data and allow one to build report without having to worryabout linking multiple tables in a report.
Client Field most tables in SAP contain a client field (MANDT) because individual SAP systems can be
configured to hold data for multiple clients.
Language Field some SAP tables, specifically those which contain text description have multipleentries, one for each language that is installed on the SAP system. Consequently with these tables youmust create a section formula on the Language Key (SPRAS).
8/13/2019 01_SAP BusinessObjects Integration Workshop
28/74
SAP BusinessObjects BW Integration workshop
28
Activity: Create a new Crystal Report 2008 against SAP tables
1. Start Crystal Report 2008 Designer2. Create a new report using the SAP Tables, Cluster and Function connectivity3. Create a report based on the tables SFLIGHT and SPFLI4. Save the report on the SAP BusinessObjects Enterprise using your SAP account5. Create a folder for your SAP reports on the SAP BusinessObjects Enterprise server6. View the report in InfoView using your SAP user account
Crystal Report 2008 and ABAP FunctionsWhile technically not a table an ABAP function is often used in R/3 reporting to provide calculations andto retrieve data that is based on parameters into the function. They are also useful in situations wherecomplex pre-processing of data must occur before viewing or in circumstances where you may wish tofurther optimize the performance of a query. For the functions to be used in Crystal Report 2008, theymust meet two conditions:
a) Functions must have defined return types for each of the output parametersb) Functions must not have whole tables as input parameters
Activity: Create a new Crystal Report 2008 against ABAP Function
1. Start Crystal Report 2008 Designer2. Create a new report using the SAP Tables, Cluster and Function connectivity3. Create a report based on the function BAPI_FLIGHT_GETLIST4. Preview the Crystal Report5. Create a Record- Selection for the Airline code UA 6. Save the report to SAP BusinessObjects Enterprise using your SAP user account.7. View the report via InfoView.
Crystal Report 2008 and InfoSetsThe combined InfoSet/ABAP query drive allows one to use an existing SAP query or InfoSet as a datasource for a Crystal Report object. The SAP query or InfoSet is build within SAP by a content expert, whothen makes the data available to the business user. Through the Crystal Report connectivity the user candesign multiple reports by quickly referencing the same query or InfoSet. Because an InfoSet is built ontop of a logical database in SAP, it can inherit all of the business logic and security that is programmedinto the logical database.
Reports that are based on SAP queries and InfoSets behave similar to reports that are based on storedprocedures in mainstream databases. One can insert sub-reports that are based on different queries orInfoSets into the main report as well.
8/13/2019 01_SAP BusinessObjects Integration Workshop
29/74
SAP BusinessObjects BW Integration workshop
29
Activity: Create a new Crystal Report 2008 against an InfoSet
1. Start Crystal Report 2008 Designer2. Create a new report using the SAP InfoSet connectivity3. Create a report based on the global InfoSet Z_SPFLI_SFLIGHT_INFOS4. Preview the Crystal Report5. Save the report to SAP BusinessObjects Enterprise using your SAP user account6. View the report via InfoView
Crystal Report 2008 and InfoSet QueriesThe SAP query tools allow one to create SAP queries and InfoSet queries in a single tool. The query itselfleverages the InfoSet as a data source, therefore InfoSet needs to be created and be assigned to theproper user groups before you start creating the SAP query.
The difference between an InfoSet query and an SAP query is that actual tool itself and the outputformat. The InfoSet query tool is a single-screen tool whereas SAP Query tool is a screen-by-screenapproach. The output of SAP query offers more capabilities like a ranked and statistical list than theInfoSet query which only offers a basic list output.
Activity: Create a new Crystal Report 2008 against an SAP Query
1. Start Crystal Report 2008 Designer2. Create a new report using the SAP InfoSet connectivity3. Create a report based on the global InfoSet query TRNG_QUERY014. Preview the Crystal Report5. Save the report to SAP BusinessObjects Enterprise using your SAP user account6. View the report via InfoView
8/13/2019 01_SAP BusinessObjects Integration Workshop
30/74
SAP BusinessObjects BW Integration workshop
30
Crystal Report 2008 and SAP BW
This lesson provides you with an overview of the connectivity for Crystal Reports 2008 against SAP BW.
In this lesson, you will learn about:
Understanding SAP BW metadata in Crystal Report 2008
Using Simple SAP BW queries in Crystal Report 2008
Using Advanced SAP BW queries in Crystal Report 2008
Using SAP BW Hierarchies in Crystal Report 2008
Creating reports against SAP BW cubes
Creating reports with SAP BW Keydate variables
Using Personalization for SAP Variables
SAP BW Metadata in Crystal Report 2008SAP BW Query elements When connecting to an SAP BW query with Crystal Report 2008 theunderlying metadata from the SAP BW query is leveraged and matched to Crystal Report 2008 elements.The table below shows how SAP BW metadata is used in Crystal Report 2008:
BW Query element Crystal Report 2008 Designer element
Characteristic Separate fields for key and description per characteristic.
Hierarchy Fields representing a parent-child relationship
KeyFigureMeasure element in a grouping called KeyFigure. Each KeyFigure canhave up to three elements: Numeric value, Unit of Measure,Formatted value
Calculated KeyFigureMeasure element in the folder KeyFigures. (information about thedetails of the calculated keyfigures is not available in Crystal Report)
Restricted KeyFigureMeasure element in the folder KeyFigures. (information about thedetails of the calculated keyfigures is not available in Crystal Report)
FilterFilters will be applied to the underlying query but are not visible inthe Crystal Report 2008 Designer
Navigational Attribute Separate fields for Key and Description per Navigational Attribute
Display AttributeEach Display Attribute becomes one filed in the field explorer. Thedisplay attribute are grouped together with the actual characteristic.
SAP Variables Parameters
8/13/2019 01_SAP BusinessObjects Integration Workshop
31/74
SAP BusinessObjects BW Integration workshop
31
Crystal Report 2008 with Simple SAP BW QueryThe SAP specific toolbar and the SAP specific menu items offer the user the typical SAP open and savedialogs that are also used in the Business Explorer and allow the user to store the Crystal Report 2008object directly into SAP BW roles.
As part of the settings available in the SAP toolbar the report designer can choose the use the SAP BWMDX driver for creating new reports against SAP BW. It is highly recommended to use the BW MDXdriver. The BW Query driver does not support multiple structures of the BW query and does not supportdisplay attributes.
Activity: Create a new Crystal Report 2008 against a simple SAP BW Query
1. Start the SAP BW Query Designer2. Open the training sample query Training Query A Simple Query (Z_BOBJ/TRNG_QUERY_01)
(These two steps are for information purposes to compare the retrieved metadata in
Crystal Report 2008)3. Start Crystal Report 2008 Designer4. Create a new report using the SAP BW MDX query connectivity5. Create a report based on the query Training Query 01 (Z_BOBJ/TRNG_QUERY_01)6. Preview the Crystal Report7. Save the report to SAP BusinessObjects Enterprise using your SAP user account8. View the report via InfoView
Crystal Report 2008 and Display Attribute Display attributes are used in SAP BW to provide additionalinformation but this information is not available for a typical OLAP navigation (slice-and-dice) in the SAPreporting tools. The information can be only displayed as part of the result in combination with theactual characteristic itself.
In Crystal Report 2008 these display attributes result in fields underneath the correspondingcharacteristic. Display attributes can be used as standalone without the need to display the actualcharacteristic in the report.
[1xxxx] represents the short description[2xxxx] represents the key value[3xxxx] represents the long description[4xxxx] represents the medium descriptions
8/13/2019 01_SAP BusinessObjects Integration Workshop
32/74
SAP BusinessObjects BW Integration workshop
32
Activity: Create a new Crystal Report 2008 against a SAP BW Query with Display Attributes
1. Start the SAP BW Query Designer2. Open the training sample query Training Query Display Attributes (Z_BOBJ/TRNG_QUERY_02)
(These two steps are for information purposes to compare the retrieved metadata inCrystal Report 2008)
3. Start Crystal Report 2008 Designer4. Create a new report using the SAP BW MDX query connectivity5. Create a report based on the query Training Query Display Attributes (Z_BOBJ/TRNG_QUERY_02)6. Create a report that includes attributes for Customer, Product and Supplier7. Preview the Crystal Report8. Save the report to SAP BusinessObjects Enterprise using your SAP user account9. View the report via InfoView
Crystal Report 2008 with Advanced SAP BW QueryIn this unit, one will learn about the connectivity of Crystal Reports 2008 against more complex SAP BWQueries.
SAP BW VariablesSAP BW queries can contain SP variables which turn into parameters for the reports. SAP supports alarge set of options for these variables starting with the feature to have optional or mandatoryprompting.
Optional and Mandatory SAP Variables in the scenario where the SAP variable is optional, CrystalReports 2008 creates a prompt which is optional and the user has the capabilities to set the value toNull. When setting the value to Null, Crystal Report 2008 removes the SAP variable from the underlyingMDX statement that is send to SAP BW. As a result, SAP BW checks first for personalized value for the
particular user, then existing default value and finally any value the was entered.
Activity: Create a new Crystal Report 2008 against a SAP BW Query with Optional Prompting
1. Start the SAP BW Query Designer2. Open the training sample query Training Query Optional Variable wi th Single Value
(Z_BOBJ/TRNG_QUERY_05)(These two steps are for information purposes to compare the retrieved metadata inCrystal Report 2008)
3. Start Crystal Report 2008 Designer4. Create a new report using the SAP BW MDX query connectivity5. Create a report based on the query Training Query Optional Variable with Single Value
(Z_BOBJ/TRNG_QUERY_05)6. Select the following fields: Country Key & Description, Customer Key & Description, Order Amount7. Preview the Crystal Report with different values for the prompt8. Save the report to SAP BusinessObjects Enterprise using your SAP user account9. View the report via InfoView
8/13/2019 01_SAP BusinessObjects Integration Workshop
33/74
SAP BusinessObjects BW Integration workshop
33
Activity: Create a new Crystal Report 2008 against a SAP BW Query with Mandatory Prompting
1. Start the SAP BW Query Designer2. Open the training sam ple query Training Query Mandatory Variable with Multiple Value
(Z_BOBJ/TRNG_QUERY_06)(These two steps are for information purposes to compare the retrieved metadata inCrystal Report 2008)
3. Start Crystal Report 2008 Designer4. Create a new report using the SAP BW MDX query connectivity5. Create a report based on the query Training Query Mandatory Variable with Multiple Value
(Z_BOBJ/TRNG_QUERY_06)6. Select the following fields: Country Key & Description, Customer Key & Description, Order Amount7. Preview the Crystal Report with different values for the prompt8. Save the report to SAP BusinessObjects Enterprise using your SAP user account9. View the report via InfoView
Activity: Create a new Crystal Report 2008 against a SAP BW Query with a Default Value for Prompting
1. Start the SAP BW Query Designer2. Open the training sample query Training Query Single Value Optional Default Value
(Z_BOBJ/TRNG_QUERY_13)(These two steps are for information purposes to compare the retrieved metadata inCrystal Report 2008)
3. Start Crystal Report 2008 Designer4. Create a new report using the SAP BW MDX query connectivity5. Create a report based on the query Training Query Mandatory Single Value Optional Default
Value (Z_BOBJ/TRNG_QUERY_13) 6. Select the following fields: Country Key & Description, Customer Key & Description, Order Amount7. Preview the Crystal Report with different values for the prompt8. Preview the Crystal Report by setting the prompt to NULL9. Save the report to SAP BusinessObjects Enterprise using your SAP user account10. View the report via InfoView
SAP BW Multi-structure Queries
The BEx Query Designer allows creating a query that contains tow structures. A structure is very similarto the specified grouping functionality of Crystal Report 2008. A structure can contain definitions ofselections and formulas. One query can contain up to two structures which then lead to a situationwhere the query design builds a well designed grid for the result set.
When creating a report based on a query with tow structures Crystal Report 2008 tries to resolve thestructure containing the KeyFigure into separate fields and the structure representing the specialgrouping becomes a single field in Crystal Report.
8/13/2019 01_SAP BusinessObjects Integration Workshop
34/74
SAP BusinessObjects BW Integration workshop
34
Activity: Create a new Crystal Report 2008 against a SAP BW Query with two Structures
1. Start the SAP BW Query Designer2. Open the training sample query Training Query Two Structures (Z_BOBJ/TRNG_QUERY_07) 3. Execute the query with BEx WebReporting
(These two steps are for information purposes to compare the retrieved metadata inCrystal Report 2008)
4. Start Crystal Report 2008 Designer5. Create a new report using the SAP BW MDX query connectivity6. Create a report based on the query Training Query Two Structures (Z_BOBJ/TRNG_QUERY_07)7. Select the following fields: Country Structure, Order Quantity & Unit Price8. Preview the Crystal Report with different values for the prompt9. Preview the Crystal Report by setting the prompt to NULL10. Save the report to SAP BusinessObjects Enterprise using your SAP user account11. View the report via InfoView
Crystal Report 2008 with SAP BW Queries with HierarchiesIn terms of hierarchies reporting the BW connectivity offer two different solutions.
Simple Hierarchy reports
The BW Query driver connectivity offers each level of the hierarchy as a separate field and also offersparent-child relationship information. The listing of the separate levels is a legacy feature and therecommendation it to use the new parent-child relationship and the hierarchical grouping functionality
of Crystal Report 2008.
Activity: Create a new Crystal Report 2008 against a SAP BW Query with Hierarchies
1. Start the SAP BW Query Designer2. Open the training sample query Training Query Simple Hierarchy (Z_BOBJ/TRNG_QUERY_08) 3. Execute the query with BEx WebReporting
(These two steps are for information purposes to compare the retrieved metadata inCrystal Report 2008)
4. Start Crystal Report 2008 Designer5. Create a new report using the SAP BW MDX query connectivity6. Create a report based on the query Training Query Simple Hierarchy (Z_BOBJ/TRNG_QUERY_08) 7. Create hierarchical grouping based on the country hierarchy parent-child relationship.8. Create a summary for the Order Amount9. Preview the Crystal Report10. Save the report to SAP BusinessObjects Enterprise using your SAP user account11. View the report via InfoView
8/13/2019 01_SAP BusinessObjects Integration Workshop
35/74
SAP BusinessObjects BW Integration workshop
35
Formulas for hierarchical reporting
Crystal Report 2008 Designer offers some additional formulas and functions that allow the user tocreate a better report design and provide conditional formatting even in the context of a hierarchy.
Formula Hierarchy Level the first formula for hierarchical reporting is the formula HierarchyLevel().The formula HierarchyLevel() allows retrieving the level of the hierarchical grouping:
Eg. HierarchyLevel (GroupingLevel ( {} )
)
Count Hierarchical Children the second formula is CountHierarchicalChildren (), the formula needsGroupingLevel () as input.
Eg. CountHierarchicalChildren (GroupgingLevel ( {
8/13/2019 01_SAP BusinessObjects Integration Workshop
36/74
SAP BusinessObjects BW Integration workshop
36
Activity: Create a new Crystal Report 2008 with Hierarchy Variable
1. Start the SAP BW Query Designer2. Open the training sample query Training Query Hierarchy Variable (Z_BOBJ/TRNG_QUERY_09)3. Execute the query with BEx WebReporting
(These two steps are for information purposes to compare the retrieved metadata inCrystal Report 2008)
4. Start Crystal Report 2008 Designer5. Create a new report using the SAP BW MDX query connectivity6. Create a report based on the query Training Query Hierarchy Variable
(Z_BOBJ/TRNG_QUERY_09)7. Create hierarchical grouping based on the country hierarchy parent-child relationship.8. Create a summary for the Order Amount9. Preview the Crystal Report10. Save the report to SAP BusinessObjects Enterprise using your SAP user account11. View the report via InfoView
Crystal Reports 2008 with hierarchy note variables
Hierarchy node variables allow the user to select a specified node of the chosen hierarchy and use thehierarchy node as a filter for the data that is being returned from the SAP BW query.
Activity: Create a new Crystal Report 2008 with Hierarchy Node Variable
1. Start the SAP BW Query Designer2. Open the training sample query Training Query Hierarchy Node Variable
(Z_BOBJ/TRNG_QUERY_10)3. Execute the query with BEx WebReporting
(These two steps are for information purposes to compare the retrieved metadata inCrystal Report 2008)
4. Start Crystal Report 2008 Designer5. Create a new report using the SAP BW MDX query connectivity6. Create a report based on the query Training Query Hierarchy Node Variable
(Z_BOBJ/TRNG_QUERY_10)7. Create hierarchical grouping based on the country hierarchy parent-child relationship.8. Create a summary for the Order Amount9. View the report with different values for the hierarchy node variable10. Save the report to SAP BusinessObjects Enterprise using your SAP user account11. View the report via InfoView
8/13/2019 01_SAP BusinessObjects Integration Workshop
37/74
SAP BusinessObjects BW Integration workshop
37
Activity: Create a new Crystal Report 2008 with Hierarchy and Hierarchy Node Variable
1. Start the SAP BW Query Designer2. Open the training sample query Training Query Hierarchy and Hierarchy Node Variable
(Z_BOBJ/TRNG_QUERY_12)3. Execute the query with BEx WebReporting
(These two steps are for information purposes to compare the retrieved metadata inCrystal Report 2008)
4. Start Crystal Report 2008 Designer5. Create a new report using the SAP BW MDX query connectivity6. Create a report based on the query Training Query Hierarchy and Hierarchy Node Variable
(Z_BOBJ/TRNG_QUERY_12)7. Create hierarchical grouping based on the country hierarchy parent-child relationship.8. Create a summary for the Order Amount9. View the report with different values for the hierarchy and hierarchy node variable10. Save the report to SAP BusinessObjects Enterprise using your SAP user account11. View the report via InfoView
Crystal Report 2008 against SAP BW Cubes
When creating a report against a BW cube directly the list of available fields will be larger than the list offields for an SAP BW Query. Accessing a BW cube directly is only available for the BW MDX driver andonly when using the Crystal Report 2008 Standard report export. This functionality is not available usingthe SAP toolbar.
The additional fields when connecting against a cube are inherited from the fact that the report nowcontains:
All characteristics from the underlying cubeAll available hierarchies for all characteristicsAll display attributesAll keyfigures
When connecting against a cube directly the following metadata is not available:
Navigational attributesRestricted keyfiguresCalculated keyfiguresSAP Variables
8/13/2019 01_SAP BusinessObjects Integration Workshop
38/74
SAP BusinessObjects BW Integration workshop
38
Activity: Create a new Crystal Report 2008 with Hierarchy and Hierarchy Node Variable
1. Start Crystal Report 2008 Designer2. Create a new report using the SAP BW MDX query connectivity3. Use the SAP BusinessObjects Customer cube (Z_BOBJ)4. Include few fields from the cube5. Create hierarchical grouping for Country Hierarchy36. Save the report to SAP BusinessObjects Enterprise using your SAP user account7. View the report via InfoView
Crystal Report 2008 and Keydate Variables
A keydate variable in Crystal Report 2008 is shown as a date variable with a calendar control and eachtime the user changes the date entry, Crystal Report will send the new keydate to the underlying SAPBW server to retrieve the correct data.
Activity: Create a new Crystal Report 2008 against an SAP BW query with a Keydate variable
1. Start Crystal Report 2008 Designer2. Create a new report using the SAP BW MDX query connectivity3. Create a report based on the query Training Query Keydate Variable (Z_BOBJ/TRNG_QUERY_ 11)4. Create hierarchical grouping for the Product characteristic5. Include the Order Amount and build a summary for the group6. View the report7. Enter different dates for eth keydate variable8. Save the report to SAP BusinessObjects Enterprise using your SAP user account9. View the report via InfoView
SAP Variable Personalization
Reports that are based on SAP BW queries potentially make use of variables which contain values thatSAB BW queries use to limit or specify the data that they return. Typically one can run reports withvariables in two ways:
If the query allows the variable to accept input, one can provide the value that will be used torun the report
If the query does not allow the variable to accept input, we are allowed to select from a list ofpredefined values
In SAP Business Explorer (BEx) personalization enables users to enter a value for the variable and save itas their personal default value. As a result, when the report is run, the data that is generated is based on
8/13/2019 01_SAP BusinessObjects Integration Workshop
39/74
SAP BusinessObjects BW Integration workshop
39
the variable of once choice. If, in future, the user wants to run the same report their saved personalizedvalues are available for them to use. Personalization values are user-specific; values that users set forthemselves are not implemented onto other users. Other users who work with the same report can settheir own personalized values, or use any of the preset values that are given to the variable.
Personalization is a supported feature of the SAP BusinessObjects Integration Kit for SAP. Reports basedon SAP BW queries can leverage this functionality in InfoView.
Preferred Viewing Language (PVL) in Crystal Report 2008
Preferred Viewing Language (PVL) allows configuring a language for viewing reports. The configuredlanguage code is leveraged to retrieve the data in a different language. It can be configured in theCrystal Report 2008 Designer and InfoView and therefore there can be situations where a report in theCrystal Report 2008 Designer is views and designed with a PVL = English and the report is viewed inInfoVeiw with PBL = French
A switch of the PVL to a different language does not update the actual metadata that has been retrievedwith Crystal Report 2008. A switch to a different PVL only influences the data connectivity and thereforeinfluences the actual data being returned to Crystal Report.
Configure the preferred viewing language in Crystal Report 2008 as follows:
1. Start Crystal Report 2008 Designer2. Select the menu View Preferred Viewing Locale3. Select the language
Using the PVL in InfoView the behavior of published reports that are available in multiple languages isthat the reports are shown based on the preferred viewing language of the user? The preferred viewinglanguage is configured as part of the user preferences.
Set the preferred viewing language in InfoView as follows:
1. Start InfoView2. Select the SAP Authentication and logon with SAP credentials3. Click Preferences in the menu bar and scroll down to the Preferred Viewing Locale4. Set the Preferred Viewing Locale and click OK
8/13/2019 01_SAP BusinessObjects Integration Workshop
40/74
SAP BusinessObjects BW Integration workshop
40
Introduction to SAP BusinessObjects Web Intelligence XI 3.0/3.1 Report Design
This lesson provides you with an overview on SAP BusinessObjects Web Intelligence reporting tool.
In this lesson, you will learn about:
Creating Web Intelligence Documents with queries
Restricting data returned by query
Designing & Formatting Web Intelligence Reports
Enhancing the presentation of data in Reports
Creating and Formatting Charts in Reports
Calculating data with Formulas and Variables
Using Multiple Data Sources
Creating Web Intelligence documents with Queries
Demo & Activity: Creating Web Intelligence reports and query
Restricting data returned by Query
Demo & Activity: Restricting data returned by Web Intelligence reports query
Designing & Formatting Web Intelligence reports
Demo & Activity: Designing and formatting Web Intelligence reports
Enhancing the presentation of data in Reports
Demo & Activity: Enhancing the report presentation by advanced formatting
Creating & Formatting Charts in Reports
Demo & Activity: Creating and formatting charts in reports
8/13/2019 01_SAP BusinessObjects Integration Workshop
41/74
SAP BusinessObjects BW Integration workshop
41
Calculating Data with Formulas and Variables
Demo & Activity: Introduction to formula and variables for data calculations
Using Multiple Data Sources
Demo & Activity: Creating Web Intelligence reports using multiple data sources
8/13/2019 01_SAP BusinessObjects Integration Workshop
42/74
SAP BusinessObjects BW Integration workshop
42
Fundaments of SAP BusinessObjects Universes
This lesson provides you with an overview on SAP BusinessObjects Universe designer tool.
In this lesson, you will learn about:
Understanding SAP BusinessObjects Universe & Universe Designer
Create & understand Dimension, Measure, Detail and Filter objects
Applying Restrictions on Objects
Using @Functions with Objects
Using Hierarchy & LOV Objects
Applying Universe Access Restrictions
Understanding SAP BusinessObjects Universes & Universe Designer
Demo & Activity: Understand SAP BusinessObjects Universe Layer
Demo & Activity: Understand SAP BusinessObjects Universe Designer
Creating & Understand Dimension, Measure, Detail & Filter Objects
Demo & Activity: Introduction to Universe Objects and setting their properties
Applying Restrictions on Objects
Demo & Activity: Applying restrictions to Universe objects
Using @Functions with Objects
Demo & Activity: Introduction & usage of @Functions
Using Hierarchy & LOV Objects
Demo & Activity: Introduction & usage of LOV objects
Demo & Activity: Introduction & usage of Hierarchy objects
8/13/2019 01_SAP BusinessObjects Integration Workshop
43/74
SAP BusinessObjects BW Integration workshop
43
Applying Universe Access Restrictions
Demo & Activity: Introduction & usage of access restrictions to universe objects
8/13/2019 01_SAP BusinessObjects Integration Workshop
44/74
SAP BusinessObjects BW Integration workshop
44
SAP BW metadata in OLAP Universe
This lesson provides you with an overview of the SAP BW Metadata and how it is leveraged in OLAPUniverse.
In this lesson, you will learn about:
Understanding the relation between SAP BW metadata and OLAP Universes
OLAP Universes and SAP BW MetadataSAP BW OLAP Universes the following table shows a list of SAP BW query elements and how theseelements are used in an OLAP Universe.
BW Query element OLAP Universe element
Cube Dimension Class
Characteristic (incl.Time & Unit)
A class with dimension and detail objects ( detail object for key anddescription)
HierarchyA class containing a dimension and detail objects for each hierarchylevel
KeyFigure Measure element in a class named keyfigures
Calculated KeyFigureMeasure element in a class named Keyfigures. (information aboutthe calculation is not available)
Restricted KeyFigureMeasure element in a class named Keyfigures. (information aboutthe calculation is not available)
Navigational AttributeA class with dimension and detail objects ( detail object for key anddescription)
Display AttributeEach Display Attribute becomes a detail object underneath therelated dimension object
Query FilterFilters will be applied to the underlying query but are not visible inOLAP Universe
SAP VariablesQuery filter as predefined object which can be optional ormandatory
Custom Structure Dimension object
8/13/2019 01_SAP BusinessObjects Integration Workshop
45/74
SAP BusinessObjects BW Integration workshop
45
Activity: Create a new OLAP Universe
1. Start the Universe Designer2. Create a new OLAP Universe using the SAP BW Query Training Query A Simple Query
(Z_BOBJ/TRNG_QUERY_01)3. Save and export the OLAP Universe to BusinessObjects Enterprise4. Create a new Web Intelligence report on top of the OLAP Universe
Optional Variables in OLAP Universes & Web Intelligence
Optional Variables in SAP BEx reporting tools are used to offer the capability to limit the resultset interms of volume of data. When an optional variable is not used the resultset is returned for all rows ofdata, unless the underlying SAP BW query uses a default value or a personalized variable value.
Activity: Create a new OLAP Universe with Optional prompting
1. Start the Universe Designer2. Create a new OLAP Universe using the SAP BW Query Training Query Optional Variable with
Multiple s