(Glue-2108) Variant

Following the standard SAP principles, Glue uses variants to specify data selection and starts the procedure of data extraction.

The variant defines what data is replicated and sets the maximal size of packages. After the execution of the variant, the standard SAP job is created that replicates the specified data into external storage. 

To create a variant:

  1. In the context menu of an existing extractor select Create Variant (Create variant for extractor) or click on Create Variant in the Extractor toolbar.


Create a variant for extractor


Create a variant for an extractor from the toolbar


2. Fill in the following fields:

  • Variant name – technical name of the variant
  • Description
  • Extractor name – technical name of the extractor for which the variant is created. 

Create a variant for the extractor – popup


3. The Variant screen opens with the basic information about the variant.

  • Package - specify the number of records, which are transported to external storage in a single package. If a higher number of records is about to be transported, they are divided into multiple packages.

In the Variant Selection section, you can filter data that should be transferred by filling out the displayed fields.

You can also use advanced data selection, in case the selection logic is complex and standard filter options are not sufficient. This approach enables you to use custom ABAP code for data selection and is in more detail described in the chapter (Glue-2108) Dynamic Selection using BAdi.

Variant details

  • Package size (MB) - You can specify the number of records which will be transported by entering package size in MB. According to the source table, the package size in MegaBytes will be calculated to the number of records after you click Calculate or press Enter. This option is only available in Edit mode.

 

Once the variant is created and activated, you can execute the data extraction. More information can be found in the chapter (Glue-2108) Execute the Data Extraction.