Creating a New Custom Aggregation

This section describes the overall process for creating a new custom Aggregation.

Execute the following steps:

  1. Create a business object for the aggregator measuring component. This will flatten the dimensional value(s) into searchable characteristics. Whether this business object is a parent or a child of another aggregator business object depends on when periodic aggregation should occur:
    1. If you want the periodic aggregation to occur when another aggregation occurs, it can be a child business object (meaning that it inherits the lifecycle (and therefore the deferred monitor) of the parent)
    2. If you want to schedule its periodic aggregation independently from other aggregation business objects, this must NOT be a child business object as it will require its own deferred monitor (and deferred monitors can only be defined on parent business objects)
  2. Create UI maps for the aggregator business object as follows:

    1. One to display the aggregator measuring component (Display)
    2. One to allow user to change / add a new one (Maintenance)
    Note: A newer alternative to creating UI Maps would be to use UI Hints directly within the Business Object.
  3. Create an info plug-in for the aggregator business object that concatenates together its dimension types and values.
  4. Create a "Find Constituent Measuring Components" algorithm and plug it on the aggregator business object. This will be passed the aggregator measuring component and the from and to date/times. It will insert the constituent measuring component IDs and the respective from / to date-time of each onto a temporary table.
  5. Create a measuring component type instance and reference the new aggregator measuring component business object (as well as the types of constituent measuring component types that should be aggregated).
  6. Create a query zone for Consumption Statistics search to allow users to find the aggregator measuring component.

Optional steps:

  1. Create a business object for the dimension scanner activity. This should be a child business object of the base package dimension scanner business object.
  2. Create UI maps for the activity business object, as follows:
    1. One to display the dimension scanner activity (Display).
    2. One to allow users to change/add a new one (Maintenance).
    Note: A newer alternative to creating UI Maps would be to use UI Hints directly within the Business Object.
  3. Create an info plug-in that will describe what it scans.
  4. Create an Enter algorithm on the Scan state that finds distinct combinations of the dimensional values and creates new aggregator measuring components when new ones are detected.
Note: You can reuse the base package deferred monitor Aggregation Dimension Scanner Monitor (D1-ADS) batch control .