Professional Documents
Culture Documents
...
1. You are in the Modeling function area of the Administrator Workbench.In the navigation window,
choose InfoProvider.
2. In the InfoProvider tree, navigate to the InfoCube whose queries you want to optimize.
3. In the context menu for the InfoCube, choose Maintain Aggregate.This will bring you to the
Maintain Aggregates screen.
If an aggregate was already created for the selected InfoCube, you can also go to the maintenance
screen by double-clicking on .
If you create the first aggregate for an InfoCube, you will first go to the Proposals for Aggregates
dialog box. You can define whether the system should propose aggregates or whether you want to
create them manually.
For more information, see Creating the First Aggregate for an InfoCube.
4. The left side of the screen shows the dimensions, characteristics and navigation attributes of the
selected InfoCube in a tree structure as Selection Options for Aggregates.
Define the granularity you need for the data in the aggregate. Add all the characteristics derived from
these characteristics.
For example if you define an aggregate for the month, you should also include the quarter and year in
the aggregate.
This enhancement does not increase the data set, but permits
• those who need the annual values can also use queries of this aggregate.
You can only include a characteristic and one of its attributes in an aggregate in expert mode (Extras
→ Switch expert mode on/off). Such an aggregate has the same granularity and size as an aggregate
that was only built with the characteristic, but is affected by the hierarchy/attribute change run.
Compared with the aggregate for the characteristic in which the attribute information is defined by a
join with the master data table, the aggregate for the characteristic and the attribute only saves the
database join.
We therefore recommend that you either build an aggregate using with the characteristic or you build
a much smaller aggregate using the attribute.
• Transfer the selected object(s) to the Aggregates column on the right side of the screen
using Drag&Drop.
6. Enter:
Short Description
Long Description
To change the text at a later time, select Change Description Text from the context menu of the
aggregate.
The system displays the aggregate at the upper right of the screen. The log is displayed in the lower
part of the screen.
8. If an aggregate contains a time-dependent component, you must assign a key date to the
aggregate.
When you fill the aggregate, the key date behaves like the key date of a query: The time-dependent
attributes and hierarchies are evaluated on this key date. For this reason aggregates with a time-
dependent component can only be used in a query if the key date of the query is the same as the key
date of the aggregate.
In the Select Variable or Fixed Date dialog box select the following as key date:
• a variable that is also used in queries for the key date and can be automatically calculated
in the SAP Exit or Customer Exit processing types (see Using Variables),
Aggregates with a variable key date must be updated regularly. This process must be included in a
Process Chain (Further BW processes -> Adjust Time-Dependent Aggregates).
To enter a calendar day, select object CALENDAR in the Select Variable or Fixed Date dialog box
(<Calendar>). Choose Transfer selection. This takes you to the Calendar dialog box. You can copy
this date to the aggregate definition by double-clicking.
The system displays the technical name of the variable you chose or of the fixed calendar date in the
aggregate tree under Properties for node Variables for Key Date.
Once the aggregate has been activated and filled, the system copies the key date computed from the
variable when the aggregate should be filled into the line Key Date.
9. You can change the structure of the aggregate by adding further components or deleting existing
ones. You can also change the key date.
ii. Transfer them to the aggregate to be changed at the right of the screen with Drag&Drop.
iii. As needed, change the Aggregation Level with the associated entry in the context menu:
Hierarchy Level
Fixed Value
Aggregates containing fewer than 14 components are stored on the database in optimized form (see
Efficiently Loading Data into Aggregates).
Note that the characteristics that are defined in the InfoCube are also included in the aggregate and
thus increase the number of components even though they are not visible on the surface.
i. In the aggregate tree navigate to the characteristic(s) or navigation attributes you want to
delete.
ii. Select these components.
− Copy the components to the left part of the screen with Drag&Drop.
To delete a dimension from an aggregate, you have to delete all the characteristics and navigation
attributes of this dimension.
i. In the aggregate tree under Properties, select node Variable for Key Date and
choose Change from the context menu. You get to dialog box Select Variable or Fixed
Date.
The key date computed from a changed variable is only copied to line Key Date when the Adjust
Time-Dependent Aggregates process has been executed.
10. To check the aggregate definition for inconsistencies choose Check Definition.
Result
You can activate the new or changed aggregate and fill it with data. It is then available for
reporting.
See also: