Professional Documents
Culture Documents
Training
By
BO Competency
BO
BOTechnical
TechnicalTraining
Training 1
DESIGNER MODULE
BO Technical Training
Agenda
•Creation of Universe
•Connecting to Databases
•Creation of classes
•Creation of objects
•Joins
•Data Restriction
BO Technical Training
What is a Universe
BO Technical Training
Business Objects Designer
BO Technical Training
A typical universe layout...
Objects
Classes
BO Technical Training
Class
BO Technical Training
Objects
❒ Types of objects -
❒ Dimension Objects -
❒ Focus of analysis in a query.
❒ Maps to one or more columns in a database that are key to a query.
❒ Measure Objects -
❒ Aggregate functions that map to statistics in a database.
❒ Map to “fact attributes” of a star schema.
❒ Detail Objects
❒ Descriptive data about the dimensions.
❒ Always attached to a dimension.
BO Technical Training
Five stages in universe development process
• User Requirements
– Detailed analysis of the information needs of the users.
• Data Analysis
– Detailed data analysis of the database breaking it down into
functional areas that users can relate to.
• Design
– Information from first 2 phases must be amalgamated to
create the conceptual design of the Universe, its objects
and other components.
BO Technical Training
• Development and distribution
– Create using the Designer module.
– Test using the User module.
– Distribute to the users via the repository.
• Maintenance
– Designer is responsible for updating and maintaining
Universe and keeping it up to date with any changes in the
User Requirements.
BO Technical Training
Creation of the Universe
Insert Tables
Set up Hierarchies
BO Technical Training
Creating a Universe
BO Technical Training
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
BO Technical Training
What Is a Connection?
• Definition:
BO Technical Training
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
BO Technical Training
Creating a New Connection
1. Click on New.
BO Technical Training
Setting up Universe Parameters
BO Technical Training
Setting up Parameters : Summary Tab
• The Summary tab displays general information about the universe
BO Technical Training
Setting up Parameters : Strategies Tab
Provides automated
strategies for:
• Creating objects
• Setting joins
• The Table browser listing
BO Technical Training
Universe Strategies
BO Technical Training
Built-in Strategies
BO Technical Training
Built-in Strategies
BO Technical Training
External Strategies
BO Technical Training
Setting up Parameters : Controls Tab
BO Technical Training
Setting up Parameters : SQL Tab
BO Technical Training
Setting up Parameters : Links Tab
• Enables dynamic
links with other
universes
BO Technical Training
Saving a Universe
BO Technical Training
Adding Tables
Click on
BO Technical Training 28
Customizing Table Insertion
BO Technical Training
Creating classes
Manual Creation
Use “Insert > class” from the menu. An ‘Edit Properties’ box
appears. Enter class description.
OR
BO Technical Training
Automatic creation
– Select a table in the structure pane.
– Drag it to the universe pane.
– A class is created in the universe pane with the same name as the
table name.
– Objects are also created automatically in the class corresponding
to the fields in the table.
BO Technical Training
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.
BO Technical Training
Object Properties
Three property pages
Definition
- Name
- Data type
- Description
- SELECT statement
- WHERE clause
BO Technical Training
• Properties
Qualification
Associated List
of Values
BO Technical Training
Aggregate projection
Applicable only to
measures.
Defines how the
measure will be
aggregated when
projected from a
micro-cube.
BO Technical Training
• Advanced
Security
User rights on
Objects
Date Formats
BO Technical Training
Joins
BO Technical Training
Joins
BO Technical Training
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.
BO Technical Training
Creating and Deleting Joins
Graphically
BO Technical Training 40
HANDS ON WORKSHOP
BO Technical Training
Exercise 1
BO Technical Training
Identify the windows in the interface...
BO Technical Training
Exercise 2
• The universe Vacation should have two Classes Customer & Sales
Details.
• Sales Details must have two objects Invoice Date & Invoice-Id.
BO Technical Training
Observe the Properties for an Object
• Properties Tab
• Advanced Tab
BO Technical Training
Exercise 2A
• Query 1 -
Create a query which gives details about Customer Names and their
Invoice ID
Run the query
• Query 2
Find Out the number of customers for which the invoices have not
been created from Vacation Universe.
BO Technical Training
Exercise 2B
• Add another detail object called Age Range which specifies age
range for the customer.
Hint :- Use Age Range table ;Use Theta join between age ; max ; min
BO Technical Training
Exercise 2C
• In the Vacation Universe create third class called “Sales
Measures”.
• In this class create a measure object called revenue.
• Save the universe and test in user module.
• Notice the variation in “Group By” clause.
BO Technical Training
Exercise 2D
• Create dimension objects City , Region & Country in Class
Customer
• In the user module create a data provider using Customer Name,
Country & Sales Revenue.
• Using Slice and Dice Panel remove Customer name from the
query.
• See the changes in Sales Revenue.
• In Designer Module set Function = None
• Repeat all the above steps
BO Technical Training
Restricting Data
BO Technical Training
Types of Restrictions
• Indirect Restrictions
• Multiple Prompt
BO Technical Training
Hard-coded Restriction
BO Technical Training
How Data is Restricted
WHERE WHERE
... join definitions ... ... join definitions ...
AND Country=‘United Kingdom’
BO Technical Training
Indirect Restriction
BO Technical Training
Condition Objects
• Description
• Where clause
BO Technical Training
Flexible / @Prompt type Restriction
BO Technical Training
@Prompt Command Syntax
BO Technical Training
Multiple Prompt Conditioning
• If the same ‘Message text’ is used in the next prompt, the user is
prompted only once and the same value is substituted for the next prompt
too.
For instance, consider the following where clause -
WHERE column A = @prompt(‘Enter value’,…...)
AND column B = @prompt(‘Enter value’,…..)
This will result in the user being prompted only once and the same value
will be substituted for column B as well.
BO Technical Training
HANDS ON WORKSHOP
BO Technical Training
Exercise 3
BO Technical Training
Exercise 4
BO Technical Training
Exercise 5
BO Technical Training
BO Technical Training