Business Object - Creating A Universe A Step by Step Tutorial
Business Object - Creating A Universe A Step by Step Tutorial
Business Object - Creating A Universe A Step by Step Tutorial
Universe
Universes present the information stored in your company’s databases in a very organized manner. They
allow access to this information,without the user having to be an expert in relational database structure.
Universes are the most popular and versatile methods of retrieving data for a document. The use of
universes is what makes Business Objects truly powerful and easy to use.
A universe contains no data itself. However, it stores the instructions on how to retrieve data from some
data source, such as a database.Universes are simply computer files that are stored in a repository. A
repository is a database that stores, among other things, the universe definitions. When you select a
universe from the list, Business Objects will copy the universe file from the repository to your local hard
drive. Once the universe file is copied onto the hard drive, Business Objects will use this file to create
the SQL instructions to retrieve the information for your reports. The next time the same universe is
used to create a report, Business Objects will check the repository to see if the latest version of the
universe is on your computer. If the latest version is not on your computer Business Objects will copy
the latest version from the repository.
We will now see how to create a universe from the SQL server database - Northwind.
Create universe:
http://www.geocities.com/bo_training/?200828 28/10/2008
Business objects training: A step by step tutorial on Creating a Universe Page 2 of 13
http://www.geocities.com/bo_training/?200828 28/10/2008
Business objects training: A step by step tutorial on Creating a Universe Page 3 of 13
http://www.geocities.com/bo_training/?200828 28/10/2008
Business objects training: A step by step tutorial on Creating a Universe Page 4 of 13
OK Now you have made the definitions. Lets go to the main screen Now.
Right mouse click for the context menu and select tables
http://www.geocities.com/bo_training/?200828 28/10/2008
Business objects training: A step by step tutorial on Creating a Universe Page 5 of 13
Select your tables and create relation ships between them. This is something similar to MS Acess
relationships. Map Primary keys and foreign keys.
http://www.geocities.com/bo_training/?200828 28/10/2008
Business objects training: A step by step tutorial on Creating a Universe Page 6 of 13
Dimensions:
Dimensions usually represent the nouns in our database. For example, dimensions can represent
employee ID’s, car models, company stocks, dates, etc. We usually total on dimensions. For example,
we may want to know the sales volume for a certain date, the number of new employees in a given
month, or the total value of the stocks in a
portfolio.
We are going to make a class for products now. This dimension will take the product name from
products table field productName.
http://www.geocities.com/bo_training/?200828 28/10/2008
Business objects training: A step by step tutorial on Creating a Universe Page 7 of 13
This is where you have to select the field from table or view.
http://www.geocities.com/bo_training/?200828 28/10/2008
Business objects training: A step by step tutorial on Creating a Universe Page 8 of 13
Select Dimension.
http://www.geocities.com/bo_training/?200828 28/10/2008
Business objects training: A step by step tutorial on Creating a Universe Page 9 of 13
http://www.geocities.com/bo_training/?200828 28/10/2008
Business objects training: A step by step tutorial on Creating a Universe Page 10 of 13
Measures
Details or measures are objects that represent attributes of dimension data. Typically,
we will not subtotal or organize data around a detail object. For example, a detail could be the weight of
a product or a person’s first name.
http://www.geocities.com/bo_training/?200828 28/10/2008
Business objects training: A step by step tutorial on Creating a Universe Page 11 of 13
Measure objects generally represent aggregated data. Typical measure objects may sum, count, max,
min or average. For example, a measure object may sum the daily earnings in a given time period or
count the number of employees in a department.
After this just like we had followed for dimensions create an object from
dbo.Order Details".Quantity AS Quantity. Make sure you select ‘Measure’ as shown in below screen
and Aggregate as SUM.
http://www.geocities.com/bo_training/?200828 28/10/2008
Business objects training: A step by step tutorial on Creating a Universe Page 12 of 13
Similarly create another measure for unit price from dbo.Order Details".UnitPrice.
Calculated Measure:
http://www.geocities.com/bo_training/?200828 28/10/2008
Business objects training: A step by step tutorial on Creating a Universe Page 13 of 13
http://www.geocities.com/bo_training/?200828 28/10/2008