Académique Documents
Professionnel Documents
Culture Documents
What is a Universe
A universe is a semantic layer that maps the data
structure found in databases (tables, columns, etc) in
business terms.
A universe can represent any specific business area,
process, or department. For example, a universe can
relate to a department in a company such as
marketing or accounting.
Business Objects Designer
A typical universe layout...
Objects
Classes
or
Click on
Setting up Parameters : Definition Tab
A universe is identified with a user name and a connection
to the database
A detailed description can also be added
What Is a 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 created for a universe.
There are three different types of connections.
Different 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 database from a shared server
Secured
This connection is used when you wish to distribute the
completed universe to the user population via the
repository
Creating a New Connection
1. Click on New.
2. Choose the middleware
17
Customizing Table Insertion
Select Tools, Options then click on the Database tab
From here you can select
and deselect options
related to table insertion
You can set internal
strategies
to:
automatically extract joins
detect cardinalities
create objects when
inserting tables
Creating classes
Manual Creation
Use “Insert > class” from the menu. An ‘Edit Properties’
box appears. Enter class description.
OR
Aliases
Creating objects
Manual Creation
Select the class where object is to be created.
Use “Insert”--> “Object” from the menu. An ‘Edit Properties’
box appears. Enter object details.
Automatic creation
Select a column from a table in the structure pane.
Drag it to the universe pane.
An object is created under the nearest class to the point
where you drop the column.
Default object name is column name with underscores
replaced with spaces.
Object Properties
Object Properties
Three property pages
Definition
Name
Datatype
Description
SELECT
statement
WHERE clause
Object Properties
Properties
• Qualification
• Associated List of
Values
Object Properties
Aggregate
projection
• Applicable only
to measures.
• Defines how the
measure will be
aggregated
when projected
from a micro-
cube.
Object Properties
Advanced
• Security
• User rights on
Objects
• Date Formats
Joins
Joins
WHY USE
They limit the occurrence of a Cartesian product, a
situation in which all possible combinations
between each row of each table are retrieved.
Types of Joins
Equi-Join
Table 1.Column A = Table 2.Column B
Resulting data set limited to values common in Column A
& B.
Outer-Join
Table 1 OUTER JOIN Table 2 on Column A = Column B
Resulting data set limited to ALL the values in Table 1
and ONLY matching values in Table 2 based on Column
A and Column B.
Theta-Join
Table 1.Column A BETWEEN ….. AND ……
Links tables based on a relationship other than equality
between 2 columns.
Creating and Deleting Joins
A join can be entered manually using two methods:
Graphically
30
Integrity Check
Integrity check allows
the checking of
Universe structure,
Loops , Contexts ,
Cardinality and
Parsing Check on
Joins , Conditions and
Objects .
Restricting Data
Types of Restrictions
Hard Coded / Direct Restrictions
Indirect Restrictions
Multiple Prompt
Hard-coded Restriction
Adding a WHERE condition to an object allows you to give
a more precise definition:
How Data is Restricted
The Where clause in an SQL statement restricts the
number of rows returned in the result set:
WHERE WHERE
... join definitions ... ... join definitions ...
AND Country=‘United Kingdom’
Indirect Restriction
Achieved using conditional objects
In the User Module , user has the option to apply the
restriction.
Obviously , more flexible than previous type of
restriction.
Once a conditional objects are included, restriction
becomes hard-coded for the query.
Condition Objects
Select Condition Object View
Description
Where clause
Flexible / @Prompt type
Restriction
Offers maximum flexibility
By default,
Associate a List and
Allow Users to edit
are checked:
It is important to
uncheck this box for
objects that don’t
need a List
Applying a Condition to a List of
Values
Click Edit in the Properties box:
CONTEXTS
Rule which helps BO decide which of the 2 paths to
choose in a loop.
BO prompts the user to indicate the correct
perspective (relevant path) for the query.
When to Alias
A loop with a single N N
lookup table should be
resolved by an alias
1
N 1
A lookup table can be
1
identified by its N
cardinality N
1 1
Sales Sal
Lines
Country Customers
“Detect Contexts”
detects and proposes a
list of contexts to create
No Impact Impact