SAP BOBJ - Objects and class
Web Intelligence users drag objects from the Universe pane across into the Query pane to run queries and create reports with the returned data.
Each object maps to a column or function in a target database, and when used in the Query pane, infers a Select statement. When multiple objects are combined, a Select statement is run on the database including the SQL inferred by each object and applying a default Where clause.
The name of an object should be drawn from the business vocabulary of the targeted user group.
For example, objects used in a universe used by :
- a product manager could be :
- Life Cycle,
- or Release Date.
- a financial analyst could contain objects such as :
- Profit Margin
- or Return on Investment.
Each object is contained in an class
A class is a logical grouping of objects within a universe.
It represents a category of objectsof is the equivalent of a folder in the Windows environment.
The name of a class should indicate the category of the objects that it contains. A class can be divided hierarchically into subclasses.
Business Objects data qualification
Business Objects qualifies data (objects) used in BusinessObjects in three ways :
- or measure.
This qualification shows how data can be used in reports.
Dimension objects provide the basis for analysis in a report. Dimension objects typically retrieve character-type data (customer names, city names, etc.), or dates (years, quarters, invoice dates, etc.)
Measure objects retrieve numeric data that is the result of calculations on data on the database. Measure objects are semantically dynamic: the values they return depend on the objects they are used with. For example, if you include City and Sales Revenue in a table, revenue per city is calculated. If you include Year and Sales Revenue, revenue per year is calculated.
Creation Class and Object
- Insert > Class
- Automatically by dragging a table from the table schema into the Universe pane.
- Right click a class in the Universe pane and select Insert Object from the contextual menu.
- Click a table column in the Structure pane. Drag the column across to the Universe pane and drop it at the
desired position in the class hierarchy
You can view the table in the Structure pane that is used in an object definition from the Universe pane. This can be useful to quickly identify a table used by an object when object names do not easily indicate a specific table.