Upload
shahid-khan
View
239
Download
0
Embed Size (px)
Citation preview
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 1/48
Admin is t ra t i ng
SAP Busin essObjec t s
Acc e lera t or Index Des igner
Target Audience – Sy st e m A dm in ist r at or s
– T ec h no log y Co ns ul t ant s
– SA P H ar dw a r e Pa rt n er
Docum ent V ersion 2 .0 – Jun e 15, 2010
Adminis t ra t ion Guide
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 2/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 2
Copyright
© Copyright 2010 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose
without the express permission of SAP AG. The information contained herein may bechanged without prior notice.Some software products marketed by SAP AG and its distributors contain proprietarysoftware components of other software vendors.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of MicrosoftCorporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x,System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM,z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM,Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower,PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2
Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner,WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBMCorporation.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registeredtrademarks of Adobe Systems Incorporated in the United States and/or other countries.
Oracle is a registered trademark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin aretrademarks or registered trademarks of Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, WorldWide Web Consortium, Massachusetts Institute of Technology.
Java is a registered trademark of Sun Microsystems, Inc.
JavaScript is a registered trademark of Sun Microsystems, Inc., used under license fortechnology invented and implemented by Netscape.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, Clear Enterprise, SAPBusinessObjects Explorer and other SAP products and services mentioned herein as well as
their respective logos are trademarks or registered trademarks of SAP AG in Germany andother countries.
Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, CrystalDecisions, Web Intelligence, Xcelsius, and other Business Objects products and servicesmentioned herein as well as their respective logos are trademarks or registered trademarks ofSAP France in the United States and in other countries.
All other product and service names mentioned are the trademarks of their respectivecompanies. Data contained in this document serves informational purposes only. Nationalproduct specifications may vary.
These materials are subject to change without notice. These materials are provided by SAPAG and its affiliated companies ("SAP Group") for informational purposes only, withoutrepresentation or warranty of any kind, and SAP Group shall not be liable for errors or
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 3/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 3
omissions with respect to the materials. The only warranties for SAP Group products andservices are those that are set forth in the express warranty statements accompanying suchproducts and services, if any. Nothing herein should be construed as constituting anadditional warranty
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 4/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 4
Icons in Body Text
Icon Meaning
Caution
Example
Note
Recommendation
Syntax
Additional icons are used in SAP Library documentation to help you identify different types of
information at a glance. For more information, see Help on Help General Information Classes and Information Classes for Business Information Warehouse on the first page of anyversion of SAP Library .
Typographic Conventions
Type Style Description
Example text Words or characters quoted from the screen. These include fieldnames, screen titles, pushbuttons labels, menu names, menu paths,and menu options.
Cross-references to other documentation.
Example text Emphasized words or phrases in body text, graphic titles, and tabletitles.
EXAMPLE TEXT Technical names of system objects. These include report names,program names, transaction codes, table names, and key concepts of aprogramming language when they are surrounded by body text, forexample, SELECT and INCLUDE.
Example text Output on the screen. This includes file and directory names and theirpaths, messages, names of variables and parameters, source text, andnames of installation, upgrade and database tools.
Example text Exact user entry. These are words or characters that you enter in thesystem exactly as they appear in the documentation.
<Example text> Variable user entry. Angle brackets indicate that you replace thesewords and characters with appropriate entries to make entries in thesystem.
EXAMPLE TEXT Keys on the keyboard, for example, F2 or ENTER.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 5/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 5
SAP BusinessObjects Accelerator Index Designer ................................................................. 6
Landscape and Deployment...............................................................................................7
Features and Functions ................................................................................................... 12
Installing the Index Designer ............................................................................................ 13
Starting the Index Designer .............................................................................................. 14
Creating BWA Indexes .....................................................................................................14
Connecting Data Services and BW Accelerator ................................................................ 15
Editing and Modifying BWA indexes ................................................................................. 16
Data Modeling Workflow ..................................................................................................16
Data Modeling Tutorial ..................................................................................................... 20
Preparing Data in the SAP BusinessObjects Data Services Designer ........................... 22
Creating and Modeling Accelerator Indexes .................................................................. 25
Executing Data Services Jobs ...................................................................................... 32
Exploring Data in SAP BusinessObjects Explorer ......................................................... 34
Advanced Modeling ......................................................................................................... 37
Configuring the Representation of Dimensions ............................................................. 37
Configuring Unit Conversion .........................................................................................39
Configuring Hierarchies ................................................................................................42
Configuring Autohierarchies..........................................................................................46
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 6/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 6
SAP BusinessObjects Accelerator Index Designer
Purpose
SAP BusinessObjects Accelerator index designer (index designer) uses SAPBusinessObjects Data Services (Data Services) to extract data from sources, and thentransform, cleanse, and load it into SAP BusinessObjects Accelerator (Accelerator) indexes.The index designer is an add-on to the Data Services Designer. The index designer enablesmodeling of Accelerator indexes on top of any source data.
A target schema is calculated and stored as an SAP NetWeaver BWA datastore in the SAPBusinessObjects Data Services repository. The index designer generates Data Services jobs,which are needed to create, load, and delete the Accelerator index. The Data Services jobsare manually executed before the Accelerator indexes can be used.
The index designer creates a Data Services project containing several types of jobs:
Data Services Jobs Created by Index Designer
Job Name Action
Create Creates or updates indexes in SAP NetWeaver BWA.
Load Loads the data from the source system into the SAP NetWeaverBWA/Accelerator indexes
Delete Deletes the schema (Accelerator indexes) and all related data from SAPNetWeaver BWA.
Rollback Rolls back an outstanding transaction after a load job has been
interrupted during execution.
For more information about the SAP BusinessObjects Data Services Designer ,
see SAP Help Portal http://help.sap.com/ SAP BusinessObjects All Products Data Services SAP BusinessObjects XI 3.2 Service Pack 1
Data Services Designer Guide
Data loaded into SAP NetWeaver BWA via Data Services can be deleted fromthe SAP NetWeaver BW system. In the SAP NetWeaver BW systems with SAPNetWeaver BWA, there is a Delete all data from BWA functionality. This not onlydeletes data loaded from SAP NetWeaver BW, but also data loaded via Data
Services.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 7/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 7
Landscape and Deployment
SAP BusinessObjects Explorer, Accelerated Version
SAP BusinessObjects Explorer, accelerated version brings together the search andnavigation capabilities of SAP BusinessObjects Explorer with SAP BusinessObjectsAccelerator to provide an efficient way for you to navigate your business data and gain a clearview across your organization.
The SAP BusinessObjects Explorer, accelerated version solution consists of the followingcomponents and subcomponents:
SAP BusinessObjects Explorer (blade)
SAP BusinessObjects Explorer
SAP BusinessObjects Enterprise
SAP BusinessObjects Client Tools
SAP BusinessObjects SAP Integration for SAP Solutions
SAP BusinessObjects Accelerator (blade)
SAP BusinessObjects Data Services
SAP BusinessObjects Accelerator index designer
SAP NetWeaver BW Accelerator
[Optional] SAP NetWeaver 7.0 Enhancement Package 1 SPS (Support PackageStack) 5 (including SAP NetWeaver Business Warehouse)
For more information, see the Knowledge Center athttps://service.sap.com/bosap-explorer Master Guide SAP BusinessObjects Explorer, Accelerated Version .
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 8/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 8
Landscape
The following diagram depicts SAP BusinessObjects Accelerator index designer as part of theoverall landscape for SAP BusinessObjects Explorer, accelerated version:
BW
Acce le ra to r
BW
Acce le ra to r
Explo rer , BOE,In tegr. for SAP Solut ions
Explorer, BOE,In tegr. for SAP Solut ions
Business
Warehouse
BusinessWarehouse
Data
Services
Data
Services
SAP BusinessObjectsExplorer (blade)
SAP BusinessObjectsAccelerator (blade)
Acce le ra to r
Index Designer
Acce le ra to r
Index Designer
Deployment Diagram with Data Flows
The index designer runs on Microsoft Windows and is installed together with SAPBusinessObjects Data Services Designer. The front-end part of Data Services runs underMicrosoft Windows and the server part runs on Linux.
For more information about installing the index designer as part of DataServices, see the SAP BusinessObjects Explorer, Accelerated Version MasterGuide on SAP Service Marketplace at https://service.sap.com/bosap-explorer .
The diagram below describes the data flows for SAP BusinessObjects Explorer, acceleratedversion, including SAP NetWeaver BW deployment.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 9/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 9
1. CONTROL – Data Flow for Controlling the Data
The Data Services user accesses the Data Services clients (including the index designer),which is installed and running on a Microsoft Windows host inside the blade landscape, via
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 10/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 10
the Remote Desktop Protocol (RDP). The control data flow goes through the firewall. Thisguarantees that the blade landscape cannot be accessed without authorization. Using theclient tools on a Microsoft Windows instance via Remote Desktop Protocol (RDP) andTerminal Service Client is the most secure method and therefore strongly recommended bySAP.
Currently only one user at a time is allowed to access the client tools on eachMicrosoft Windows instance for technical reasons. To bypass this restriction,you can enable parallel usage of the client tools for several users by runningseveral virtual Microsoft Windows instances on VMware. Another solution couldbe to install the client tools outside of the blade landscape and network, forexample, locally on a Microsoft Windows machine. In that case, the customerhas to open the firewall for the IP of the external client machine and has toensure the security of this client machine.
2. LOAD – Data Flow for Loading the DataThe source data is extracted and loaded from the source database and loaded through the
firewall via the Data Services server into SAP NetWeaver BW Accelerator for processing. Thenecessary modeling and transformation processes are done using the Data ServicesDesigner and the index designer.
3. EXPLORE – Data Flow for Exploring the DataThe processed data is then transferred back via the SAP BusinessObjects Explorer and SAPBusinessObjects Enterprise server through the firewall so that the end users can explore itusing the SAP BusinessObjects Explorer UI. The workload of multiple users is distributed toseveral Web-tier servers using a load balancer.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 11/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 11
Workflow between Data Services Designer and IndexDesigner
The following diagram illustrates the workflow between the client and server components of
SAP BusinessObjects Data Services and SAP NetWeaver BW Accelerator:
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 12/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 12
Features and Functions
FeaturesThe index designer user interface comprises the following screen areas:
Project Area Menu Area Source Schema Area
Target Schema Area
Dynamic Help AreaResult AreaProperties Area
Screen Areas and Functions
The user interface for the index designer comprises the following screen areas and functions:
Screen Areas
Project
The Project area contains an overview of objects that are related to your project, such
as source tables, target tables, source joins, target joins, measures, and dimensions.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 13/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 13
Menu
Project
New
Load Save
Save As
Advanced
Exit
Action
Generate Target
Update Target Repository
Reconcile Source Datastore
View
Options
Help
Source Schema
Properties
Result
Dynamic Help
Choose F1 to display dynamic help texts. Dynamic help is typically available for entryfields.
Installing the Index Designer
Use
The index designer runs on Microsoft Windows only and must be installed on the same hoston which the Data Services Windows client has been installed.
Prerequisites
You download the index designer software (file IndexDesigner.msi) from SAP ServiceMarketplace https://service.sap.com/swdc as part of SAP BusinessObjects Explorer,accelerated version.
For more information about installing the index designer as part of SAPBusinessObjects Data Services, see the SAP BusinessObjects Explorer,accelerated version Master Guide on SAP Service Marketplace athttps://service.sap.com/bosap-explorer.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 14/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 14
Procedure
The installation for the index designer is shipped as a Microsoft Windows Installer *.msi file....
1. Start the Index Designer installation by double-clicking the IndexDesigner.msi fileon the Microsoft Windows machine on which SAP BusinessObjects Data Services
Designer is installed.2. Follow the instructions on the installation screens.
The installation also makes changes to the Microsoft Windows registry so that SAPBusinessObjects Data Services knows about the index designer. As a consequence ofthese Microsoft Windows system registry entries, the index designer can be starteddirectly from the Data Designer UI. There is no program icon for starting the indexdesigner.
Starting the Index Designer
Procedure
You start the index designer as follows:...
1. Start SAP BusinessObjects Data Services Designer:
Choose Start Programs SAP BusinessObjects XI 3.2 SAP BusinessObjects Data Services Data Services Designer .
For more information about SAP BusinessObjects Data Services Designer, seeSAP BusinessObjects Data Services Designer Guide on SAP Help Portal.
2. From SAP BusinessObjects Data Services Designer, launch the index designer in one
of the following ways: Creating BWA indexes [Page 14]
Right-click the datastore that you want to use as the source and selectCreate Accelerator Index.
Select columns within a datastore, then right-click your selection andselect Create Accelerator index . Only the selected columns are used asthe source for the index.
Edit and modify BWA indexes [Page 16]
In the Object Library area of SAP BusinessObjects Data Services Designer,navigate to Edit Accelerator Index. The index designer opens in a new window.
From the Tools menu, choose Accelerator Index Designer.
The index designer opens in a new window. You must load an existing project orcreate a project.
Creating BWA Indexes
Use
When initially starting the SAP BusinessObjects Accelerator index designer from SAPBusinessObjects Data Services Designer (see Starting the Index Designer [Page 14]), the
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 15/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 15
index designer asks for specific parameters that are needed to create a project, to createBWA indexes, and to connect Data Services and SAP NetWeaver BW Accelerator:
Parameters Requested for New Project Screen
Parameters Description
Source:
Data Store: Specify the name of the source data store.
Target:
Project/Datastore/Job/…: Specify the project name
Data Store Connection URL: Specify the URL of the SAP NetWeaver BWA server that theData Services Designer will be connected to.
URL syntax:trex://<BWA_hostname>:3<instance>16/ds
Example: trex://ld4711.wdf.sap.corp:34716/ds
You can test the connection between SAP NetWeaver BWAand SAP BusinessObjects Data Services Designer bychoosing the Test button.
If the connection has been established successfully, a“successfully connected” message appears.
If the connection could not be established, a warningmessage with a short description appears.
Result
SAP BusinessObjects Data Services and SAP NetWeaver BW Accelerator are connected.
Connecting Data Services and BW Accelerator
Use
When initially starting the SAP BusinessObjects Accelerator index designer from SAPBusinessObjects Data Services Designer (see Starting the Index Designer [Page 14]), theindex designer asks for specific parameters that are needed to create a project, to create
BWA indexes and to connect Data Services and SAP NetWeaver BW Accelerator.
The connection between Data Services and SAP NetWeaver BW Accelerator is establishedduring the creation of BWA indexes by specifying the Datastore Connection URL.
For more information, see Creating BWA Indexes [Page 14] Parameters Data Store Connection URL
Result
SAP BusinessObjects Data Services and SAP NetWeaver BW Accelerator are connected.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 16/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 16
Editing and Modifying BWA indexes
UseYou can use SAP BusinessObjects Data Services Designer and the index designer to modify
indexes and update the data in SAP NetWeaver Business Warehouse Accelerator.
To modify existing BWA indexes:...
1. From SAP BusinessObjects Data Services Designer, right-click the BWA data store thatyou want to update and select Edit Accelerator Index .
The index designer appears.
2. Use the index designer to make the desired changes to the indexes and then updatethe data flows and jobs.
3. To update the indexes and data in SAP NetWeaver BWA, do the following from SAPBusinessObjects Data Services Designer:
a. From the Object Library, open the project containing the jobs and data flows
updated by the index designer.
b. Do one of the following:
If your changes did not affect the number of tables or columns in thetarget schema, execute the Create job to physically update the index inSAP NetWeaver BWA. No Delete or Load jobs are necessary. If theCreate job is unsuccessful with error ???, the changes were to
complex and you have to perform the following procedure.
If you changed the number of tables or columns in the target schema,execute the Delete, the Create, and the Load job. The original schemaand data are deleted from SAP NetWeaver BWA. The Load job updatesthe indexes with the data from the source system.
Data Modeling Workflow
Purpose
The index designer allows you to define the table joins, measures, and dimensions based ondetailed knowledge of the table structure of the loaded data. You define indexes by using theindex designer to create the table structure and generate the corresponding Data Services jobs and objects.
For more information about modeling a data example, see the Data ModelingTutorial [Page 19].
Use Cases and Prerequisites
The following prerequisites have to be met in order to successfully model data with SAPBusinessObjects Data Services Designer and the index designer.
Data in source system structured in a star schema
Ensure that your source data is structured in a star schema or simple relationalschema. This means that all measures (key figures) are stored in one table (fact table)whereas the dimensions (characteristics) are stored in separate tables. The fact table
and the corresponding dimension tables are referenced by keys. In addition the starschema needs to have referential integrity, that is, the relationship between primary keyand foreign key needs to be consistent.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 17/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 17
Data in source system NOT structured in a star schema
If the source data is not structured as a star schema (for example, if the data is fromdifferent source systems with different tables), you have to use SAP BusinessObjectsData Services Designer first to transform the data and load it into a star schema.
For more information, see SAP Note 1398651 Loading data via Data Serviceand Index Designer
Preparing Data in SAP BusinessObjects Data ServicesDesigner...
...
1. If necessary, define a new datastore for the source database:
a. From the Datastores tab of the object library, right-click in the blank area andchoose New .
b. Complete the required information in the Create New Datastore dialog and
choose OK . The datastore name labels the connection to the database you willuse as a source.
2. Import the metadata for the source tables:
a. From the Datastores tab of the object library, right-click your datastore andchoose Open . The items available to import through the datastore appear in theworkspace.
b. Select the items for which you want to import metadata.
c. Right-click and choose Import .
3. Provide the transformations necessary to ensure consistent data.
Typically, transformations are necessary to make sure that the business logic of the
back-end applications is taken into account. This step is highly dependent on the back-end application.
4. [Optional] Load the data in an intermediate database.
If transformations are necessary, the transformed data is typically stored in anintermediate database.
Result: In SAP BusinessObjects Data Services Designer, the data is available in a DataServices datastore.
Creating and Modeling Accelerator Indexes...
1. From SAP BusinessObjects Data Services Designer, you launch the index designer inone of the following ways:
Right-click the datastore that you want to use as the source and choose Create Accelerator Index .
Select tables within a datastore, then right-click your selection and chooseCreate Accelerator Index . Only the selected tables are used as the source forthe index.
2. The index designer opens and asks for the project name and the BWA to be used.
Specify the URL of the BWA server that the SAP BusinessObjects Data Services
Designer is to be connected to.
URL syntax: trex://<BWA_hostname>:3<instance>16/ds
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 18/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 18
Example: trex://ld4711.wdf.sap.corp:34716/ds
Check all other entries, for example the namespace and cube entry.
3. Start the modeling process based on detailed knowledge of the table structure.
From the index designer, you define joins, measures, and dimensions in order togenerate the target schema. Once you are satisfied with the target schema, generatethe BWA datastore as well as the Data Services project containing the data flows and jobs necessary to create the indexes and load the data into SAP NetWeaver BWA.
a. Define joins.
b. Define measures (key figures).
c. Define dimensions.
After modeling, the Accelerator index with its joins, measures, and dimensions is inplace:
Joins connect tables using keys of the cardinalities 1:1, 1:n, n:1, n:m.
Measures represent key figures or facts of interest.
Dimensions represent the facets for subsequently analyzing the data in SAPBusiness Objects Explorer.
4. Initially create and validate the target schema by navigating to the index designer
menu Action Generate Target (F6)
Generate Target creates the BWA index and corresponding metadata, but withoutcreating BWA indexes physically.
5. Validate the target schema after changes have been done.
If you have SAP NetWeaverBWA installed and accessible, you can use it for fullvalidation. Without an installed SAP NetWeaver BWA, the target schema is only
partially validated. The index designer target area is grey if the validation wasunsuccessful. Double-click the error line to jump to the invalid item.
Result: After creating and modeling Accelerator indexes, you can execute the Data Services jobs for creating and loading the corresponding BWA objects.
Execute Data Services Jobs...
1. Generate the Data Services jobs by navigating to the index designer menu Action Update Target in Repository (F8).
Update Target in Repository generates the corresponding objects in Data Servicesincluding the jobs for creating, deleting, and loading the SAP NetWeaver BWA indexes.
The jobs generated by the index designer do not need any manual configuration.2. From the SAP BusinessObjects Data Services Designer, create the indexes and load
the data into SAP NetWeaver BWA as follows:
From the Object Library , open the project containing the jobs and data flowscreated by the index designer.
Execute the Create job to physically create the indexes in BWA.
Execute the Load job to load the indexes with the data from the source system.
Result: After execution of the Data Services jobs, the data is ready to be explored using SAPBusinessObjects Explorer.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 19/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 19
Exploring Data in SAP BusinessObjects Explorer
You configure SAP BusinessObjects Explorer to visualize and to explore the correspondingSAP NetWeaver BWA objects. You manage the information spaces from which SAPBusinessObjects Explorer reads SAP NetWeaver BWA data.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 20/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 20
Data Modeling Tutorial
Use
Use this modeling tutorial to familiarize yourself with the modeling and extraction tools and tounderstand the basic workflow for extracting and loading any source data by means of SAPBusinessObjects Data Services Designer and the index designer. This modeling example isbased on the efashion database as shipped with the SAP BusinessObjects Enterpriseinstallation.
Note that the modeling example provided here shows only basic data structures.In a customer landscape, you can find more complex data and data structures.
The figure below describes the dataflow and workflow between the SAP BusinessObjectsData Services server and client components, the index designer and SAP NetWeaver BWAccelerator:
During this modeling tutorial you do the following:
Preparing Data in the SAP BusinessObjects Data Services Designer [Page 21]
Creating and Modeling Accelerator Indexes [Page 25]
Identify the source database structure, for example, the fact table and the
corresponding keys
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 21/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 21
Create an Accelerator index
Define and create joins
Define and create dimensions
Define and create measures Generate the SAP NetWeaver BWA target structure
Update target in repository
Executing Data Services Jobs [Page 32]
Create jobs
Load jobs
Exploring Data in SAP BusinessObjects Explorer [Page 34]
PrerequisitesYou must have access to the efashion database example as shipped with the SAPBusinessObjects Enterprise installation.
For more information about the efashion database example, see the guide Getting Startedwith BusinessObjects.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 22/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 22
Preparing Data in the SAP BusinessObjects DataServices Designer
UseBefore you can create and model Accelerator indexes, you prepare the data you want tooperate on in SAP BusinessObjects Data Services Designer and make the data available inthat way for modeling in the index designer.
Procedure...
1. Start the SAP BusinessObjects Data Services Designer:
Navigate to Start Programs SAP BusinessObjects XI 3.2 SAP BusinessObjects DataServices Data Services Designer
The SAP BusinessObjects Data Service Designer starts.
2. Create a datastore based on the efashion example:...
a. Choose the Datastore tab in the Local Object Library.
b. Right click and choose New .
Local Object Library
Tab Datastore
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 23/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 23
The Create New Datastore dialog box appears:
3. In the Create New Datastore dialog, enter the user name and password for the userthat has access rights to the efashion data provided.
You must have already configured the connection to the efashion datastore usingODBC Administration.
4. In the Workspace area, open the tables of the efashion datastore example:
Workspace area
ExternalMetadata
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 24/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 24
5. In the Workspace area, select the tables that you want to import into your datastore andchoose Import in the context menu. For this modeling example, we are using thefollowing tables:ARTICLE_LOOKUP (dbo.Article.lookup)
CALENDER_YEAR (dbo.Calender_year_lookup
OUTLET_LOOKUP (dbo.Outlet_Lookup)
SHOP_FACTS (dbo.Shop_facts)
After the import, the tables are available under the Datastore tab in the Local Object Library :
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 25/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 25
Result
The data is available for use in the index designer.
Creating and Modeling Accelerator Indexes
Use
You use the data prepared for the SAP BusinessObjects Data Services Designer and use theindex designer to create and model Accelerator indexes based on that data.
Procedure...
1. Start the Accelerator Index Designer by right-clicking the efashion datastore in theLocal Object Library and selecting Create Accelerator Index .
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 26/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 26
2. The index designer starts with a New Project screen. Enter a name in theProject/Datastore/Job field:
eFashion_BWA
In the Source Schema area of the index designer, the tables are shown as Source Tables :
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 27/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 27
Source Tables
When you click the source tables in the Source Schema area, the details of the tableproperties are shown in the Properties Area . In the Project area, you can see anoverview of the available source tables as well:
Project Area Source Schema Area
Source Tables
Properties Area
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 28/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 28
The source tables of the efashion example comprise the following table fields and data types:
Table article_lookup
Table Field Target Data
Typearticle_id 123 int
article lable abc string
category abc string
familiy_code abc string
family_name abc string
sale_price 1.2 decFloat
Explanation: int: integer; decFloat: decimal floating
For more information about target data types, select this column and choose F1 to displaydynamic help.
Table calender_year_lookup
Table Field Data Type
fiscal_period abc string
holiday_flag abc string
month_name abc string
mth 123 int
qtr abc string
week_id 123 int
week_in_year 123 int
year_week abc string
yr abc string
Table shop_facts
Table Field Data Type
amount_sold 1.2 decFloat
article_id 123 intcolor_code 123 int
margin 123 int
quantity_sold 1.2 decFloat
shop_facts_id 123 int
shop_id 123 int
week_id 123 int
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 29/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 29
Table outlet_lookup
Table Field Data Type
address_1 abc string
city abc string
date_open abc string
floor_space 123 int
long_opening_hrs_flag abc string
manager abc string
owned_outright_flag abc string
shop_id 123int
shop_name abc string
state abc string
zip_code 123 int
3. Arrange the tables in such a way that the shop_facts table is in the middle and all othertables are grouped around it.
4. Define primary keys:
One table field of each table needs to be defined as the primary key to uniquely identifyit.
If the database schema contains primary keys, they are normally extracted and pre-defined. In some cases (for example, if you are using an ODBC connection) the keyinformation is ‘lost’ and you have to define it again.
You define the primary keys in the Properties area of the index designer:
When you have defined the primary keys, each primary key field is signified by a smallkey icon in front of the data type:
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 30/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 30
5. Define the following table fields as key fields:
Table Table Field Data Type Icon
article_lookup article_id int
calender_year_lookup week_id int
shop_facts shop_facts_id int
outlet_lookup shop_id int
6. Create joins:
To relate the different tables to each other, you create joins between the tables.
a. You create joins by choosing the table and the table field you want to create a join for and then open the context menu (right-click):
A dialog appears displaying the name of the table field you have chosen.
b. When you choose OK , the index designer selects the field as a starting point forthe join relationship. Navigate to the related join field of the other tables andclick it using drag and drop. This establishes the relationship.
c. Create joins between the following tables and table fields:
Table 1 Table 2 Table Field
shop_facts article_lookup article_id
shop_facts calender_year_lookup week_id
shop_facts outlet_lookup shop_id
In the Project area, you can see an overview of the created joins.
7. Create dimensions.
a. You create dimensions by choosing the table and the table field you want tocreate dimensions for and then open the context menu (right-click):
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 31/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 31
A dialog appears displaying the name of the table field you have chosen.
You can differentiate between a Name and Display Name for the newdimension. You can also choose between the dimension types basic,
hierarchy, and autoHierarchy.
b. Create dimensions for the following tables and table fields
Table Table Field Data Type Icon
article_lookup article_label abc string
category abc string
family_name abc string
calender_year_lookup month_name abc string
qtr (quarter) abc string
yr (year) abc string
outlet_lookup shop_name abc string
In the Project area, you can see an overview of the defined dimensions.
8. Create measures.
a. You create measures by choosing the table and the table field you want tocreate measures for and then open the context menu (right-click):
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 32/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 32
A dialog appears displaying the name of the table field you have chosen:
You can differentiate between a Name and Display Name for the new measure.You can also choose between the measure types basic and calculated.
b. Create measures for the following table fields of the central fact tableshop_facts:
Table Field Data Type Icon
amount_sold 1.2 decFloat
margin 123 int
quantity_sold 123 int
In the Project area, you can see an overview of the defined measures.
Result
You have created and modeled Accelerator indexes. You can now execute the Data Services jobs for creating (deleting) and loading the corresponding BWA objects.
Executing Data Services JobsExecute the jobs for SAP BusinessObjects Data Services Designer by navigating to the indexdesigner menu and generating a target schema of the source schema you have modelled sofar:...
1. Choose Menu Action Generate Target (F6):
Source Schema
Target Schema
Menu Generate Target (F6)
Result AreaProperties Area
Project Area
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 33/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 33
In the Result area, you will see if the target schema has been createdsuccessfully. Error messages appear if the modeling of the source schemacontained inconsistencies (for example Dimension not connected with Fact Table ).
In the Properties area, you can edit the table properties to correct the
inconsistencies.
In the Project area, you can see an overview of the defined source and targettable measures.
2. Update the target schema in the repository:
a. Choose Menu Action Update Target in Repository (F8).
The Update Target in Repository function generates the corresponding objectsin the Data Services, such as jobs for creating, deleting, and loading Acceleratorindexes.
In the output area of the Update Data Services Repository dialog, all DataServices objects should be generated (target datastore and create, load, delete,
and roll-back jobs):
b. Choose OK .
3. Switch to SAP BusinessObjects Data Services Designer, navigate to the Local Object Library area and open your projects on the Projects tab.
4. Open your project in the context menu (right-click) or double-click it.
The Data Services jobs appear in the Project Area .
5. Execute the Data Services Create and Load jobs:
a. Choose Execute from the context menu (right-click) for the Create job.
b. Choose Execute from the context menu (right-click) for the Load job.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 34/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 34
Local Object Library Projects tab
1. double-click to open
2. execute jobs
Project Area
6. Confirm all dialogs that appear and check whether or not the jobs have been executedwithout errors.
ResultYou have successfully executed the Data Services jobs. The data is ready now to be exploredvia SAP BusinessObjects Explorer.
Exploring Data in SAP BusinessObjects Explorer
Use
You can explore the prepared data in SAP BusinessObjects Explorer.
Procedure...
1. Enter the URL of SAP BusinessObjects Explorer.
2. Log on with administrative user permissions.
3. Navigate to Manage Spaces .
4. Open the Business Warehouse Accelerator tree in the Sources area.
5. Choose your Accelerator index and choose Information Spaces: New to create aninformation space for the selected index.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 35/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 35
The Create Information Space on: <Accelerator_index_name> dialog box appears.
6. On the Properties tab, enter a name for the information space you want create.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 36/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 36
7. On the Objects tab, choose the measures and dimensions (facets).
You can choose Shift/Ctrl to select multiple objects.
8. Choose OK .
9. In the Manage Spaces area, index the information space you have created.
During the indexing only the metadata of the information space is indexed for later usein the SAP BusinessObjects Explorer search. The indexing process for the Accleratorindexes on SAP NetWeaver BWA side is done during the execution of the DataServices Load job.
10. Navigate to the Home tab.
11. Choose Refresh list .
12. Choose the information space you have created.
Typically, it is one of the last entries in the list of available information spaces.
13. Explore your information space.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 37/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 37
Advanced Modeling
Configuring the Representation of Dimensions
Use
If a table contains a key field with a corresponding text field, you can configure dimensions inthe index designer in such a way that the text field is displayed whereas the key field is usedto sort the entries.
For example, if a table contains a month and a month_text field, it might be preferable to listthe month text but sort them according to the month number:
Procedure...
1. Define a dimension.
Define a dimension by selecting a column in a joined table by choosing New Dimension … from the context menu. Enter a meaningful display name.
Now, choose the column that contains the text data as the source column. Check theKey Presentation and select the column of the key field.
In this example, the key field is the month number and the text representation is thecolumn month_name.
Typically, you do not want to show the key (in this example, the number of the month)but instead a more meaningful text.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 38/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 38
2. Configure the information space.
In Manage Spaces , create an information space for the specific Accelerator index andselect the property. Make sure that you select the hierarchy checkbox.
3. Display the dimension in SAP BusinessObjects Explorer.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 39/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 39
Configuring Unit Conversion
Use
The unit conversion functionality of index designer cannot be compared with the exhaustive
conversion functions of SAP NetWeaver BW (see Quantity Conversion).
Currently, it offers simple conversion because this is useful for currency conversion withouttime dependency.
To convert currency measures to several currencies, one approach could be to define oneconversion and then to define several additional calculated measures that multiply theconverted measure by a corresponding factor.
Another approach could be to define several conversion tables and to create multiple joins.Based on the example described below, this would mean using several tables, for example00_currency_to_eur , 00_currency_to_usd , 00_currency_to_sfr, all with the same
layout currency_id/conversion. Then several joins are defined between
sales_orders_fact/currency_id 00_currency_to_eur/currency_id ,
sales_orders_fact/currency_id 00_currency_to_usd and
sales_orders_fact/currency_id 00_currency_to_sfr. Now, several measures
can be defined that use the different unit conversions.
Procedure...
1. Create a conversion table.
The unit conversion table typically has to be created beforehand if it is not alreadyprovided by the back-end application. The table structure in this example just containstwo columns, one for the unit ID and one for the conversion factor.
In this example, a currency conversion is explained. As mentioned above, the currentfunction might not be sufficient because currency conversions typically depend on timeand different conversion factors.
The conversion table is only one-way, that means that there is only one target unit. Inthis example, all currencies are converted to EUR.
The table layout could look as follows:
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 40/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 40
The content for the table could look as follows:
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 41/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 41
2. Import it into your data store.
Select the data store, double-click and choose the new table – here00_CURRENCY_TO_EUR. Select the table in the right content area, right-click andimport it.
3. Add it to your Accelerator Index .
Edit the accelerator index project in the index designer. Choose Actions Reconcile Source DataStore and import the new table.
4. Join the conversion table to your fact table.
Create a join between the conversion table and your fact table using a unique ID.
5. Define the unit conversion for all currency measures.
Select the measure to be converted and select the Unit Conversion flag. Choose theunit conversion table and select the column that contains the conversion factor. TheDestination Unit entry is used to describe the conversion, you enter the destination unithere.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 42/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 42
Configuring Hierarchies
Use
Hierarchies can be used to structure the data in a specific way, for example based on timecriteria such as year, quarter, or month.
Hierarchies are displayed in SAP BusinessObjects Explorer in a specific way that allows theuser to explore the data hierarchically.
To configure hierarchies, you need to work through several steps:
Use a unique ID for the base dimension.
Add further source dimensions to be used as the hierarchical nodes. Arrange thehierarchy from coarse to fine, for example Year Quarter Month .
All source dimensions need to be in the same table as the base dimension.
Procedure...
1. Define a base dimension.
The base dimension needs to contain strictly unique elements. Therefore you typicallymust choose a key column. The base dimension needs to be visible, otherwise thecorresponding hierarchy is not displayed in SAP BusinessObjects Explorer.
The base dimension is of type hierarchy .
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 43/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 43
2. Define further dimensions.
Select the base dimension and choose Append Dimension from the context menu.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 44/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 44
In the Source Dimension dropdown field, choose the column to be used for the specificdimension. Configure the dimensions from coarse to fine.
Enter a meaningful Display Name .
3. Configure the information space.
In Manage Spaces , create an information space for the specific Accelerator index andselect the property. Make sure that you select the hierarchy checkbox.
4. Display the hierarchy in SAP BusinessObjects Explorer.
In SAP BusinessObjects Explorer, select the Hierarchy icon to change the facet view.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 45/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 45
Choose the configured hierarchy.
In the facet, all elements of the hierarchy are now shown, sorted by the right-handcolumn. To navigate through the hierarchy, select Explore more …. Select an entry andcheck the graphic.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 46/48
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 47/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
Page 47
Procedure...
1. Define the base dimension.
The base dimension represents an identifier of the table and is therefore typically thekey column of the table.
2. Define the source dimension.
The autohierarchy is calculated, therefore the source dimension needs to be a positiveinteger value. In the example here, the ZIP code is defined as data type Int.
3. Define the granularities.
As described above for hierarchies, the autohierarchies are defined from the lower tothe finer granularity. To determine the granularity, which is an integer value as well, findout which is the largest number of your source dimension, for example 923400. Togroup the values, you could, for example, take 100000, which would result in a
maximum of 10 groups at the first level.Of course, you can define any other grouping by choosing suitable numbers for thegranularity. For example, 200000 would group all the numbers in just 5 groups.
8/3/2019 Administrating SAP BObj Accelerator Index Designer
http://slidepdf.com/reader/full/administrating-sap-bobj-accelerator-index-designer 48/48
SAP BusinessObjects Accelerator Index Designer 17.06.2010
4. Use the hierarchy in SAP BusinessObjects Explorer.
The configuration of the autohierarchy is identical to the hierarchy that is describedabove. There are no differences.
The result of the autohierarchy is shown in the screenshot below.
The sorting of the groups is based on the selected measures from left (biggest) to right(smallest).