Show TOC

Function documentationCreating MAI Metrics from CCMS Metrics


Note Note

This section is part of the Extend Monitoring and Alerting Infrastructure with CCMS Metrics process. This process shows how you can extend technical monitoring with additional, previously not monitored CCMS metrics. Perform the previous steps in the process.

End of the note.

You determined the data collector and its input parameters from the attributes of the CCMS metric, in Determine and Test the Collector. This section tells you how to use this information to create the required MAI metrics.


Metrics, whether delivered by SAP or created by the customer, are templates in technical monitoring, which you create and edit in SAP Solution Manager configuration (see Using Templates). This section describes how to create a customer template, and create the new MAI metric in it.

Create Customer Template

Proceed as follows:

  1. Start SAP Solution Manager Configurations (transaction SOLMAN_SETUP).

  2. Go to Technicals Monitoring, the monitoring use case System Monitoring, and step Template Management.

  3. Switch to editing mode.

  4. Expand the type of a managed object and product for which you want to create a custom template, in the Templates navigation bar. This navigation bar contains all templates delivered by SAP.

  5. Select the SAP-delivered template on which to base your template, and choose Create Custom Template. To edit a custom template, select it.

    Note Note

    CCMS metrics usually belong to product group SAP ABAP. Depending on whether the CCMS metric is instance-specific or system-wide, the templates delivered by SAP would be, for example:

    • Start of the navigation path Technical System Next navigation step SAP ABAP 7.00 - 7.03 End of the navigation path

    • Start of the navigation path Technical Instance Next navigation step SAP ABAP 7.00 - 7.03 End of the navigation path

    End of the note.
Create New Metric

You are in Template Management, and have created a customer template. Create a new MAI metric in this template:

  1. Go to edit mode, and then to expert mode.

  2. To create a new metric, choose Start of the navigation path Create Next navigation step Metric End of the navigation path. A customer metric creation wizard starts.

  3. Enter the general attributes of the new metric in the Overview tab:




    Descriptive metric name; the metric is displayed in technical monitoring under this name


    Category to which the metric thematically belongs. Possible categories are Availability, Performance, Configuration, Exception and Self-Monitoring.


    Leave the value Metric unchanged.

    Data Type

    Choose the entry closest to the data type of the CCMS metric. This is usualIy a Whole Number.


    If the CCMS metric has a unit, choose it.


    Do not change this entry.

    Technical Name

    Specify a technical name for the metric. The name must be in customer namespace, so it starts with Z.

    Customer description

    Enter a description of your metric.

  4. Go to the Data Collection tab. Specify the technical connection to the CCMS metric to be integrated into MAI:



    Data Collector Type

    Enter the Type RFC (Pull).

    Data Collector Name

    Enter the value which you determined in Determining the Collector, depending on the CCMS metric.

    Collection interval

    Input Parameter Collector

  5. Go to the Data Usage tab. Specify the applications for which you use the new metric:

    • Leave the Send Values to Event Calculation Engine flag active. This ensures that the metric is available in technical monitoring.

    • If you also want to use the metric for reporting (e.g. for the Metric Monitor), set the Send Values to SAP NetWeaver Business Warehouse flag. In this case, also specify other attributes:

      • Specify naming rules for storage in BW, in the dropdown list BW Mapping Rule. Choose the following rule, depending on theData Collector Name in the previous step:

        Data Collector Name

        BW Mapping Rule

        CCMS MTE

        CCMS MTE + Object Name

        CCMS System wide MTEs

        Standard BI Mapping for CCMS Metrics (ONLY Data Provider: CCMS MTE)

        CCMS Get Current Values

        Default BI Mapping Rule

      • In the dropdown list Granularity, specify how long the metric is to be retained in its various resolutions. Choose Optimized for Metric Monitor.

  6. Go to the Threshold Value tab. Specify the threshold types and values for the new metric. Note:

    • If the new metric delivers a numeric value (this is always the case when the underlying CCMS metric is a performance attribute ), choose a numerical threshold value type and a threshold value. To copy the threshold values directly from CCMS, choose the threshold value type Numeric Threshold (GtoY/YtoR/RtoY/ytoG), and enter the threshold values.

    • CCMS metrics of type status attribute () or log attribute () are usually already rated. If so, choose the threshold type Already Rated.

  7. Go to the Validity tab. You can further restrict the validity of the metric. You would not usually do so.

  8. Go to the second step (Assignments) of the customer metric creation wizard. You can assign an alert to the metric. Skip this step because there is not yet a suitable alert for the new metric. Choose Finish, to complete the creation of the metric.

  9. Save the template when you have created the metric.

You have created a new MAI metric, based on a CCMS metric, in a customer template. You can display this metric in the Metrics tab of the template. You now need a customer alert for the metric.

Test Metric Data Provision

When you have created your MAI metric, you can test the data collection, in particular to check that you have used the correct data collector and input parameters. Proceed as follows (the template in which you created the metric is open for editing in expert mode):

  1. Go to the Metrics tab, and select the metric.

  2. Go to the Metric Type Details in the Data Collection tab.

  3. In the heading of the table Collector Input Parameters, choose Test.

  4. You can test the data collector in the new screen Test Data Collector. Choose the managed object which you want to test, and choose Copy. The RFC destination to this managed object is displayed.

  5. To call the collector with the selected input parameters, choose Execute. The results are output in the group box of the same name.

More Information

The next section (Creating Alert Types for New MAI Metrics) tells you how to create an alert for the newly-created metric.