Using Matrix Grid Reports

Maintaining the Matrix Grid XML

Objective

After completing this lesson, you will be able to maintain the Matrix Classifier XML and configure matrix filters.

Maintain the Matrix Classifier XML

The Matrix Grid Report XML is found in Provisioning and controls the icons displayed on both Matrix Grid Reports. You can also select the icons used on these reports in the Admin Center as discussed in the Configuring Icons in the Admin Center lesson.

Two important facts to note:

  • Both the Performance & Potential matrix and How Vs. What matrix share the same configuration.
  • You must use the Matrix Grid Report XML as well as Admin Center to configure the icon for Retirement Eligibility.

The matrix classifier XML in Provisioning is used to set up the icons used to represent different data attributes on the matrix grid reports. If an element, like Risk of Loss, is in the data model and already in the matrix classifier XML, then the element and its associated icons can be added to the Matrix Grid Reports via Admin Center.

If an element is not yet available in the Admin Center, then you must add it to the XML. You can edit the XML portion of setting up the matrix grid icons directly in Provisioning. It is not exported and imported. The actual icon configuration is then done via the Admin Center after you've edited the XML (see the Configuring Icons in the Admin Center lesson.)

To edit the Matrix Grid XML, navigate to Edit Matrix Classifier Configuration in Provisioning.

A sample code for the element Risk of Loss is shown below:

Code Snippet
123456789101112131415161718192021222324
</Category> <Category id="riskOfLoss" name="Risk of Loss"> <Level id="riskOfLoss01"> <ExactEvaluator value="7"/> <Icon alt="RoL-Low" title="Low" url="/ui/sm/img/org_icons/sap_ui5_icon_RiskOfLoss01_low.png"> <label lang="de_DE" value="Gering"/> <label lang="en_US" value="Low"/> </Icon> </Level> <Level id="riskOfLoss02"> <ExactEvaluator value="8"/> <Icon alt="RoL-Medium" title="Medium" url="/ui/sm/img/org_icons/sap_ui5_icon_RiskOfLoss01_medium.png"> <label lang="de_DE" value="Mittel"/> <label lang="en_US" value="Medium"/> </Icon> </Level> <Level id="riskOfLoss03"> <ExactEvaluator value="9"/> <Icon alt="RoL-High" title="High" url="/ui/sm/img/org_icons/sap_ui5_icon_RiskOfLoss01_high.png"> <label lang="de_DE" value="Hoch"/> <label lang="en_US" value="High"/> </Icon> </Level> </Category>

The following attribute tags are used in the Matrix Classifier XML:

Attribute TagDescription
CategoryDefines a data field for inclusion in the grid. Uses the data field key as the identifier.
NameDefines how the category is listed in the grid legend and display panel.
LevelDefines the value for the data field. Must be unique within the category. For a non-Boolean, you can choose anything you’d like as long as it’s unique within the category.
ExactEvaluator ValueEither a picklist option ID (for string or picklist fields) or true/false (for Boolean fields).
IconDefines the icon title and URL.
LabelOptional, locale-specific values that supersede the category names and icon titles.

Note

The category male is used if you only need Male and Female as gender values in Talent Search and matrix grid reports. The category gender is used after you upgrade to include three more values – Undeclared, Unknown, and Others through Upgrade Center→Optional Upgrades→Enhancement to Gender Values – Inclusion of Additional Gender Values.

Configure Matrix Report Filter Fields

By default, the Matrix Grid Reports have the fields Department, Division, and Location available as filter options. You can also add other fields as custom filters to allow for more granular filter options in the report. You can enable fields to be used as filter fields for the Matrix Grid Reports via the Data Model XML.

To configure a field for the matrix report filter, do the following steps:

  1. In Provisioning, navigate to Import/Export Data Model.
  2. Select your company name.
  3. Select Import/Export Data Model under Succession Management.
  4. Export the data model and open it in your XML editor.
  5. Set matrix-filter to true for the standard-element definition of relevant fields, for example:
    Code Snippet
    12
    <standard-element id="city" max-length="128" required="true" matrix-filter="true">

    Confirm that the element is registered in <view-template id="sysUserDirectorySetting"> / <edit-template id="sysAllUserDirectorySetting">. For example:

    Code Snippet
    123456
    <view-template id="sysUserDirectorySetting" pdf-printing-enabled="true"> <label>User Directory Setting</label> <edit-template id="sysAllUserDirectorySetting"> <label>User Directory Setting(Entire Ordered List)</label> <standard-element-ref refid="city"/> </edit-template></view-template>
  6. Import the Data Model XML back into Provisioning.

Supported and Unsupported Fields for Matrix Filters

There are three kinds of filters that are supported in matrix grid reports: default filters, custom filters, and other standard fields.

Supported Fields

There are three default filters in the Succession matrix grid reports: department, division, and location. These three filters display all the time.

Custom fields, from custom01 to custom15, are supported. Customizable fields can be associated with a picklist. If a picklist is used as a matrix filter, the picklist labels display in customizable fields. Also, customizable fields remember the picklist labels that you chose last time. These custom fields are put under <view-template id="sysUserDirectorySetting" ... > / <edit-template id="sysAllUserDirectorySetting"...> in the Succession Data Model with <matrix-filter> set to "true".

Many standard fields are also supported. For example, city, title, and state. These standard fields are put under <view-template id="sysUserDirectorySetting" ... > / <edit-template id="sysAllUserDirectorySetting"...> in the Succession Data Model with <matrix-filter> set to "true".

Note

The supported standard field list is not exclusively for Succession. For example, there are also elements for Compensation.

The latest complete list of supported fields is available in the Succession Implementation Guide at Supported and Unsupported Fields for Matrix Filters | SAP Help Portal.

Unsupported Fields

The list of unsupported fields is shorter than the supported fields, and they should NOT have the true attribute for matrix filter in the data model XML.

If a nonsupported field is set as a filter in Matrix Grid XML, it displays "No data" in the v12 Matrix Grid Reports.

The latest complete list of unsupported fields is available in the Succession Implementation Guide at Supported and Unsupported Fields for Matrix Filters | SAP Help Portal.

Add Matrix Filters

Business Example

It has been requested that you add filters to the matrix grid report.

You can configure additional filter fields (including custom fields) for your Matrix Grid. To do so, update the matrix-filter attribute of your standard elements and update the view-template section as follows in your Succession Data Model.

To learn more about adding Matrix Report Filters, watch this video:

Practice configuring additional filter fields:

Steps

  1. Set the matrix-filter to True for the Title standard-element definition.

    1. Log in to Provisioning.

    2. Export your Succession Data Model and save it as a backup.

    3. Create a new version of your Succession Data Model.

    4. Find the 'title' standard element and change the matrix-filter attribute to 'true." The title code should appear as follows:

      Code Snippet
      1
      <standard-element id="title" max-length="255" required="false" matrix-filter="true">

  2. Confirm that the element is in the view-template <id="sysUserDirectorySetting"> / <edit-template id="sysAllUserDirectorySetting">

    1. Do a search (CTRL-F) and search for "sysUserDirectorySetting" to find the section in the XML.

    2. Confirm that the line <standard-element-ref refid="title"/> is listed.

  3. Add an Exempt Status filter to your Performance-Potential Matrix Grid.

    1. Update the label of the custom01 standard element to Exempt Status.

    2. Update the matrix-filter attribute of the custom01 standard elements by setting it to True.

    3. Modify the standard element code to have the new label and attribute setting. Your code should appear as follows:

      Code Snippet
      123
      <standard-element id="custom01" max-length="255" required="false" matrix-filter="true"> <label>Exempt Status</label> </standard-element>

    4. Save and import your data model.

  4. Navigate to the Performance-Potential Matrix Grid to see your new filters.

    1. Log in as smadmin to your instance.

    2. Navigate to Succession and then choose Performance – Potential Matrix Grid.

    3. Validate that you see the new filters in the Filter Options screen.

    This concludes the exercise.

Summary

  • Matrix classifier XML: Configure icons for Performance-Potential and How vs. What matrix reports via Provisioning and Admin Center.
  • Adding attributes: Include elements like Risk of Loss in XML for Admin Center configuration and assign associated icons.
  • Custom filters: Enable fields such as department, city, or custom fields via Data Model XML to refine report filters.
  • Supported fields: Default fields like department and location, plus customizable fields, can be used as matrix filters.
  • Unsupported fields: Avoid using unsupported fields; they display "No data" in matrix grid reports.