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: 
Syril
Associate
Associate

A variant is a set of filter configurations that you can setup and use in different configuration scenarios. This enables you to define the settings once and then use it in different configuration scenarios as required. Using variants, you can eliminate the process of manually defining filters in different instances. 

There are two types of variants: 

  • Reusable Filter Variants
  • Configuration Variants

Let's look at each of them in detail.

Reusable Filter Variants

variant definition.png

Reusable Filter Variants contain filter configuration and metric parameters (in the case of alerting and scenario variants). They can be used in configuration variants and scenario filters. Each reusable filter variant includes details such as Component Type, Category, and Filter Type that determine where the variant can be used. 

Reusable filter variants are of two types:

Alerting and Scenario Variants

These variants include filter and metric parameters definition. They can be used to define:

  • Alerting in configuration variants
  • Filters for Components in scenarios
  • Alerts for Components in scenarios

Scenario ConfigurationScenario Configuration

Data collection Variants

These variants contain filter parameters for monitoring purposes. They can be used to define Monitoring in configuration variants.

Configuration Variants

Configuration variant is a collection of monitoring and alerting filters that can be applied to managed components.

Configuring a managed component includes the definition of Monitoring and Alerting filters. Likewise, configuration variants include both the sections. With configuration variants, you can define and apply the filters to multiple managed components. 

Use the following workflow to define configuration variants:

1. Define the details of the configuration variant

Configuration Variant - Details ScreenConfiguration Variant - Details Screen

 In the Details tab of a configuration variants, define the Component Type, Type, and Category. You can also define the network if required. These settings determine where the configuration variant can be used. 

2. Define monitoring and alerting

Configuration Variant - Monitoring and AlertingConfiguration Variant - Monitoring and Alerting

 In the Monitoring and Alerting tab, you can manually configure the filters by choosing Add. However, an easier and faster option is to use Reusable filter variants. You can use data collection variants in Monitoring and Alerting & Scenario variants in Alerting. To use reusable filter variants, choose Assign and select the variant that you want to apply. 

Only reusable filter variants applicable to the corresponding category chosen in the configuration variant are displayed in the Select Variant window.

3. Apply the configuration to managed components

Configuration Variants - Assignment ScreenConfiguration Variants - Assignment Screen

  In the Assignment tab, choose Add and select the managed components to which you want apply the configuration variant. The list of selected managed components are then listed in the table. Choose Activate to apply the variant. The status of application is displayed in the Status column of the table. 

After successful activation of a configuration variant, you can see the defined filters in the technical system or cloud service configuration.

Review the below illustration to get an overview of variants in Integration & Exception Monitoring:

Variants in Integration & Exception MonitoringVariants in Integration & Exception Monitoring

 Additional information:

  • You can modify existing variants and then apply the modifications to the associated components. As in,  modifying a reusable filter variant reflects the changes in all instances where the variant is used. Whereas in a configuration variant, the changes take effect only when the variant is activated again in the Assignments tab.
  • You can use the Auto assign function to apply configuration variants to managed components while configuring them in Simple System Integration app. The managed component inherits the applicable configuration variants, when Configure Automatically is selected during SSI configuration. You can see the applied configuration variants in the log.
  • Variants can be used to configure multiple instances at once. As in, configuration variants can be applied to multiple managed components at once. Likewise, Data collection and Alerting and Scenario variants can be applied to multiple configuration variants and scenario definitions.