Editing Aggregates Manually

Prerequisites

The InfoCube for which you want to create an aggregate has been saved and is active.

Procedure

How you manually create or change an aggregate for an InfoCube is described below.

Access from Data Warehousing Workbench

  1. You are in the Data Warehousing Workbench in the Modeling functional area. In the navigation window, choose InfoProvider and in the InfoProvider tree, navigate to the InfoCube whose queries you want to optimize.

  2. In the context menu of the InfoCube , choose Maintain Aggregates . The Maintain Aggregates screen appears . If an aggregate has already been created for the selected InfoCube, you can also get to the maintenance screen by double-clicking on .

Access from Transaction RSDDV

  1. On the Aggregate/BI Accelerator Index: Select InfoCube screen (transaction RSDDV), select the required InfoCube.

  2. Choose Aggregates. The Maintain Aggregates screen appears .

  3. 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 .

    Select one or more objects to be copied to the aggregate.

    • A year aggregate to be built from this aggregate

    • Those who need the annual values to use the queries for this aggregate.

  4. You have different options for creating an aggregate:

    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.

  5. Enter:

    Short description

    Long description

  6. Choose Continue . The Maintain Aggregates screen appears.

    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, see Design and Components of Aggregates .

  7. 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 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 (see Variables ),

    A particular calendar day

    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 .

  8. By default, the system partitions the aggregate fact tables when the related InfoCube is partitioned and the partitioning characteristic is available in the aggregate. Choose Start of the navigation pathProperties Next navigation step Change PartitioningEnd of the navigation path to prevent partitioning for individual aggregates.

  9. You can change the structure of the aggregate by adding additional components or deleting existing ones. You can also change the key date.

    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 the selection type (BW-WHM)by choosing the appropriate entry in the context menu:

    All characteristic values

    Hierarchy level

    Fixed value

    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:

    Choose Remove Components in the context menu.

    Use drag and drop to copy the components to the left part of the screen.

    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.

  10. To check the aggregate definition for inconsistencies, choose Check Definition .

  11. Save the new or changed aggregate.

Result

You can activate the new or changed aggregate and fill it with data. It is available for reporting.