The InfoCube for which you want to create an aggregate has been saved and is active.
How you manually create or change an aggregate for an InfoCube is described below.
Access from Data Warehousing Workbench
Using Transaction RSDDV
If you are creating the first aggregate for an InfoCube, the Proposals for Aggregates dialog box appears first. You can choose whether the system proposes aggregates or whether you want to create them manually.
For more information, seeCreating the First Aggregate for an InfoCube.
Select one or more objects to be copied to the aggregate.
Define the granularity you require 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 enlarge the dataset, but allows:
You can only include a characteristic and one of its attributes in an aggregate in expert mode (Extras → Switch Expert Mode On/Off). An aggregate of this type has the same granularity and size as an aggregate that has only been built using 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 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 and drop.
Select Create New Aggregate.
The Enter Description for Aggregate dialog box appears.
To change the text at a later time, select Change Description Text in the context menu of the aggregate.
The system displays the aggregate in the top-right area of the screen. The log is displayed in the lower part of the screen.
For more information, seeDisplaying an Aggregate and Its Components.
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 the 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 (seeVariables),
0CWD current workday
0DAT current calendar day
0P_KEYDT key date of due date
0P_KEYD2 key date of posting (from key date of due date)
0P_KEYD3 key date of clearing (from key date of due date)
0P_KEYD4 key date of posting (posting date)
0P_KEYD5 key date of clearing (from key date of posting)
Aggregates with a variable key date must be updated regularly. This process must be included in aProcess Chain (Further BW processes -> Adjust Time-Dependent Aggregates).
a particular calendar day
To enter a calendar day, select object CALENDAR (<Calendar>) in the Select Variable or Fixed Date dialog box. Choose Transfer Selections. The Calendar dialog box appears. You can copy this date to the aggregate definition by double-clicking on it.
In the aggregate tree, under Properties for node Variables for Key Date, the system displays the technical name of the variable you chose or the fixed calendar date.
Once the aggregate has been activated and filled, the system copies the key date computed from the variable for when the aggregate should be filled, into line Key Date.
If aggregates do not contain much data, very small partitions can result. This affects read performance. Aggregates with very little data should not be partitioned. Note that if you change this property to Not Partitioned for an existing aggregate, you have to activate and fill the aggregate again.
Inserting components into the aggregate
Select one or more objects in Selection Options for Aggregates.
Use drag and drop to transfer them to the aggregate that you want to change on the right-hand of the screen.
Where necessary, change theselection type (BW-WHM) by choosing the appropriate entry in the context menu:
Aggregates containing fewer than 14 components are stored on the database in optimized form (seeEfficiently 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 interface.
Deleting components from the aggregate
In the aggregate tree, navigate to the characteristic(s) or navigation attributes that you want to delete.
Select these components.
To delete the components from the aggregate, you can:
In the context menu, choose Remove Components.
Use drag and drop to copy the components to the left part of the screen.
To delete a dimension from an aggregate, you have to delete all the characteristics and navigation attributes of this dimension.
Changing the key date
In the aggregate tree under Properties, select the node Variable for Key Date and choose Change in the context menu. The Select Variable or Fixed Date dialog box appears.
Select and transfer the required variable or calendar day.
The key date computed from a changed variable is only copied to line Key Date if the Adjust Time-Dependent Aggregates process has been executed.
You can activate the new or changed aggregate and fill it with data. It is available for reporting.