Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 

Purpose of MAI Consumer Variants

Maintaining variants helps in reducing the overhead of maintaining notification, incident, third-party and auto-reactions related data multiple times in multiple places such as templates and alerts.

Example: Template A and Template B uses the same data related to Notifications (email users, advanced settings…); Template C and Template D would like to use the other set of data. If Variants are created, the overhead of maintaining the same data 2 times in Template A and Template B will be reduced. User can select the variant which he/she would like to use in each template and all the required data will be populated automatically.

Note:

This feature is available from Solution Manager 7.1 SP 12 release onward only.


Procedure for Creating Variants

  1. Go to the Solution Manager Configuration (transaction SOLMAN_SETUP) step in the table above, for the level on which you want to make settings.
  2. Select System Monitoring from Technical Monitoring section.
  3. Select the Default Settings (2.3) step.
  4. Select Notifications tab.
  5. You can launch the Consumer Variant Maintenance tool from the following tabs: Incidents, Notifications and Third-party Component
  6. On the Consumer Variant Maintenance tool, under Incidents tab, click Edit.
  7. Select the tab Incidents.
  8. Click Edit and then Create.
  9. A new row is added to the table and is editable. You need to enter the Name and Description of the Variant. In the “Auto-Incident” drop down list, you need to select “Active” or “Inactive” status. 
  10. If you select “Active” status, all the fields related to the Incident are displayed. You then enter the required data.
  11. After entering the data, click Save.
  12. A new variant is created with the provided data. The newly created Variant is available in the Incident Variant list on the “Incidents” tab at the different levels (Global, Template, Alert and Managed Object Specific).
  13. You repeat the steps for Notifications, Third-Party Components and Auto Reactions in the respective tabs.
  14. If you want to delete a variant, select that particular Variant and click Delete. The deleted variant disappears from the Variant list on the respective tab at the different levels (Global, Template, Alert and Managed Object Specific).                              

Procedure for Checking the Variants usage at different levels:

  • SAP/Custom Template
  • Alerts
  • Template level for work modes
  • Alert level for work modes

Variant settings used at SAP/Custom Template level

  1. Navigate to Template Maintenance step.
  2. Select SAP/Custom template.
  3. Repeat the steps 4 to 10 on the Template Maintenance step to maintain the settings at the template level.
  4. At the SAP/Custom template level, select variants whose status is Active on the tabs “NotificationsIncidents” and “Third-Party Components”.
  5. Select Alerts tab and make sure that at least few alerts are using Template Settings. Make note of the alerts which are using Template Settings.
  6. Save the changes.
  7. On the Define Scope, select a MO for which the above SAP/Custom template can be assigned.
  8. Navigate to Setup Monitoring step.
  9. Assign the template and click on Apply and Activate button.
  10. Click on Directory Browser button.
  11. Select the Alerts tab for the MO on Directory Browser. The settings maintained in the variants at the Template level should be available on the Incidents, Notification and Third party Component tabs of the alert.

Run time behavior – If the settings are maintained for the notifications and incidents only at the Template level, then during the run time when an alert is raised, the incident and notification settings will be taken from the Template level.

Variant settings used at Alert level

  1. Navigate to Template Maintenance step.
  2. Select SAP/Custom template.
  3. Select Alerts tab.
  4. Repeat the steps 4 to 10 and performing checks in the Default Settings step.
  5. At the Alert level, select variants whose status is Active on the tabs “NotificationsIncidents” and “Third-Party Components” and “Auto-Reactions” tab. Variants can be maintained for Auto Reactions also.
  6. Save the changes.
  7. On the Define Scope, select a MO for which the above SAP/Custom template can be assigned.
  8. Navigate to Setup Monitoring step.
  9. Assign the template and click on Apply and Activate button.
  10. Click on Directory Browser button.
  11. Select the Alerts tab for the MO on Directory Browser. The settings maintained in the variants at the alert level should be available on the Incidents, Notification, Third party Component and Auto Reactions tabs of the alert.

Run time behavior – If the settings are maintained for the notifications and incidents only at the Alert level, then during the run time when an alert is raised, the incident and notification settings will be taken from the Alert level.


Variant settings used at Template level for Work modes

  1. Navigate to Template Maintenance step.
  2. Select Custom template.
  3. Ensure the user is in Expert Mode. Work Mode specific settings can be maintained when the user is in Expert Mode.
  4. Select Incidents, Notifications, and Third-Party components tabs. 
  5. Variants can be selected at the Work mode Level also. Perform all the relevant checks here as performed for the Incidents/Notifications and Third-party components in the above mentioned steps.
  6. At the template level, select variants whose status is Active on the tabs “NotificationsIncidents” and “Third-Party Components “for a work mode.
  7. Select Alerts tab and make sure that at least few alerts are using Template Settings. Make note of the alerts which are using Template Settings.
  8. Save the changes.
  9. On the Define Scope, select a MO for which the above SAP/Custom template can be assigned.
  10. Navigate to Setup Monitoring step.
  11. Assign the template and click on Apply and Activate button.
  12. Click on Directory Browser button.
  13. Select the Alerts tab for the MO on Directory Browser. The settings maintained in the variants for a work mode at the template level should be available on the Incidents, Notification, and Third party Component of the alert when the corresponding work mode is selected.

Run time behavior – If the settings are maintained for the notifications and incidents at the Template - work mode level, then during the run time when an alert is raised while work mode is in progress, the incident and notification settings will be taken from the Template-work mode level

Variant settings used at Alert level for Work modes

  1. Navigate to Template Maintenance step.
  2. Select Custom template.
  3. Ensure the user is in Expert Mode. Work Mode specific settings can be maintained when the user is in Expert Mode.
  4. Select Alerts tab.
  5. Select Incidents, Notifications, Auto Reactions and Third-Party components tabs.        
  6. Variants can be selected at the Work mode Level also. Perform all the relevant checks here as performed for the Incidents/Notifications, Auto Reactions and Third-party components in the above mentioned steps.
  7. At the alert level, select variants whose status is Active on the tabs “NotificationsIncidents” and “Third-Party Components “for a work mode.
  8. Save the changes made.
  9. On the Define Scope, select a MO for which the above SAP/Custom template can be assigned.
  10. Navigate to Setup Monitoring step.
  11. Assign the template and click on Apply and Activate button.
  12. Click on Directory Browser button.
  13. Select the Alerts tab for the MO on Directory Browser. The settings maintained in the variants for a work mode at the alert level should be available on the Incidents, Notification, and Third party Component of the alert when the corresponding work mode is selected.

Run time behavior – If the settings are maintained for the notifications and incidents at the Alert - work mode level, then during the run time when an alert is raised while work mode is in progress, the incident and notification settings will be taken from the Alert-work mode level.