Professional Documents
Culture Documents
Sap Bo Universe Designer Guide
Sap Bo Universe Designer Guide
BO Designer: Overview
Introduction:
Designer is a BO component that is used to build universes.
A universe is a semantic layer between database and end users.
The role of a universe is to provide an easy to use and
BO Designer: Objective
Objective:
After completing this chapter, you will be able to:
Universe
A universe:
Is a semantic layer between database and end users.
Is a business-oriented mapping of the data structure found in
Role of a Universe
The following diagram shows the role of objects as the mapping layer between a
database schema and the Query panel in BusinessObjects or the Query work
area in WebIntelligence, that users use to create queries to run against database
tables.
Human
Resources
Employee
Salary
Bene.its...
HR
on
Sybase
Financials
on
Oracle
Analyze
Plan
80
20
Creating a Universe
De.ine
the
Parameters
Resolve
the
Loops
Insert
Tables
Create
Classes
and
Objects
Make
the
Joins
Set
up
Hierarchies
10
11
Universe Connection
Definition:
A connection is a link from the universe to the target database
The link is achieved using middleware (for example ODBC)
An existing connection may be used or a new connection
12
Types of Connection
Personal:
Can
only
be
used
on
the
client
Shared: Can be used by more than one user to send queries to the target
Secured: This connection is used when you wish to distribute the completed
13
universe.
Strategies Tab: Internal or personal wizards to
resources.
SQL Tab: Queries and SQL parameters.
Links Tab: Enables dynamic links with other
universes.
14
15
16
Inserting Tables
Use the Table Browser:
Double-click on the background of the
Structure
Click on
Choose Insert -> Tables from the menu
categories:
Universe
Classes
Objects
18
Class
Universe:
A BO universe is a collection of classes that is intended for a
Object
Object:
An object is a named component that maps to data or a
Object Types
Dimension:
Parameters for analysis. Dimensions typically relate to a
21
Edit
Display
Purge
Refresh
Properties
You can specify a text file, a Dbase file or a spreadsheet file to be used for the
23
23
Creating Joins
What do joins achieve in SQL?
The SQL will give a cartesian product which gives an incorrect
result
24
25
26
methods:
Graphically
press Delete
27
28
Theta
Join
Theta
Join
Result
Set:
29
30
31
32
33
34
35
Resort
Customer
The
city,
region
and
country
where
the
customer
lives,
the
sales
for
the
customer
and
the
invoice
information
for
each
sale.
37
38
39
Resolving Loops
Loops can be resolved using:
Alias
Context
Alias:
An alias breaks a loop by using the same table twice in the same
40
41
specific path through tables in a loop. It ensures that joins are not
included from different paths within the same SQL query.
You often use contexts in the schema that contain multiple fact tables
(multiple stars) that share lookup tables.
42
Reservations
and
Reservation_Line
Reservation_Line
Sales
and
Invoice_Line
Sales_Line
43
44
You then create different sets of objects from the tables in the different contexts. Users
can then run either Reservation queries or Sales queries, depending on the objects they
select.
45
Hierarchies
Object hierarchies can be created to perform multidimensional analysis.
Multidimensional analysis is the analysis of dimension objects organized in
meaningful hierarchies.
Multidimensional analysis allows users to observe data from various viewpoints.
This enables them to spot trends or exceptions in the data.
A hierarchy is an ordered series of related dimensions. An example of a
hierarchy is Geography, which may group dimensions such as Country, Region,
and City.
46
Functions
SQL editor is used to define the Select statement or a Where
Conditions
A restriction is a condition in SQL that sets criteria to limit the data returned by
a query.
Two types of restrictions can be defined in a universe:
Restriction
type
Description
Forced
Optional
A condition object is a predefined Where clause that can be inserted into the
Conditions (Contd.)
49
Aggregate Awareness
Aggregate awareness is the ability of a universe to make use
of SQL transactions.
Set up aggregate awareness as follows:
Define the Select statement for an object using the
@AggregateAware function.
Specify which objects are incompatible with the aggregate table
and can not be used in a query that is run against that table.
50
Derived Tables
Derived tables are tables defined in the universe schema.
A derived table is defined by an SQL query at the universe level that can be used as a
51
the result set is returned to a document, which saves time and reduces the need for complex analysis
of large amounts of data at the report level.
Reduced maintenance of database summary tables
Derived tables can, in some cases, replace statistical tables that hold results for complex calculations
that are incorporated into the universe using aggregate awareness. Derived tables can return the same
data and provide real time data analysis.
52
Right-click the mouse over the Designer table schema and select
Derived Table from the menu to view the Derived Tables dialog
box. Or go to Insert->Derived Tables.
53
Type the derived table SQL in the SQL Expression box or use the
objects in the Tables and Columns, Operators and Functions boxes
to build the SQL.
54
55
Linking Universes
Linked universes are universes that share common components such as
becomes the derived universe, and the linked universe becomes the core
universe.
56
exported to the repository at least once. Otherwise, DESIGNER does not allow
the link.
Advantages of linking universes:
Displays the
Universe to Link
dialog box from
which you can link
the kernel universe
to other universes.
Remove a link to a
kernel universe only if
the active universe no
longer contains objects
based on components
or joins from the kernel
universe.
Displays the path of the linked universe.
58
58
Click OK. The link is created. The tables of this core universe
59
Securing Universes
A restriction is a named group of constraints that apply to a universe.
When users connect to a universe, the objects, rows, query types, and connection that
60
at two levels:
CMC Level - From the Central Management Console set
62
63
Managing Universes
Reason for universe maintenance:
New tables added to database
Tables deleted, changed, or renamed in database
Users request new classes or objects
Note:Your primary concern when you introduce a new version of a universe should be what effect it
will have on existing end user reports.
64
No
Impact:
Adding
new
columns
Adding
new
tables
65
Severe
Impact:
Renaming/moving
database
Changing
existing
column
and
table
names
Deleting
tables
and
columns
Structure
Changed
tables
are
highlighted
in
the
Structure
A
message
on
the
screen
indicates
that
tables
have
been
deleted
66
No
Impact:
Rede.ining
Object
SQL
Renaming
an
Object
Copying
to
different
Class
Moving
in
same
Class
or
to
a
different
Class
Adding
new
Objects
67
Impact:
Deleting
an
existing
Object
Deleting
and
then
recreating
an
object
with
exactly
the
same
de.inition
68
Best Practices
1.
Object and class naming should be in business terms so that it makes sense to the
end-user. This also reduces development overhead since reports can use descriptions
out-of-the-universe, instead of editing headers or creating report level variables.
2.
All objects should have help text or usage information corollary from above.
3.
4.
Pre-build condition objects in the universe rather than forcing users to build
conditions for reports.
5.
Build logic into objects translate code, common calculations etc rather than forcing
users to do it in report variables.
69
Avoid using WHERE clauses in the object definitions; use CASE statement instead. In
most cases, using WHERE clause will return incorrect results when similar objects are
included in the result set, due to combined restrictions imposed by the multiple
WHERE clauses.
7.
Use aggregation in all measure objects to push the aggregation to the database
wherever the performance bottleneck is likely to be BO server.
8.
All measure objects should include aggregation functions for projection. When this is
not included, BO will not automatically roll-up the data in the report, which could
result in incorrect data and analysis.
9.
Turn off LOVs for all dimension and detail objects that are redundant or not required.
71
New Features
1.
Database Delegated : A new projection for measure objects which will roll-up data in
BO report. For e.g. average calculation.
2.
Optional Prompts : User can refresh report without entering value in optional
prompt.
3.
72
2.
3.
4.
5.
73
BO Designer: Summary
Designer is a BO component that is used to build universes. A universe is a semantic
74
75
BO Designer: Source
http://help.sap.com/businessobject/product_guides/
Business Objects XI Release 3 Designers Guide
76