Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is a collection of Table Variants. After you click on the 'Variants' button, a screen for Table Variants selection is displayed.

...

Storage Management Table variant is a special type of Table Variant. It enables to compare table data from various storages through the DVD Storage Management. This functionality is hidden in a standard release. If you want to turn it on, please contact us for support as this belongs to the expert settings.

Add Existing Table Variant Image Modified

The 'Add Existing Table Variant' button displays list of all existing Table variants in the system and you can select one or more variants that are to be added into the current test case.

...

The 'Copy Variants of Test Case' button displays list of all existing Table Test Case in the system and you can select Test Case where variants will be added into the current test case as copies.

Generate RFC Table Variants Image Modified

The screen for generation Table Variants is displayed after clicking on 'Generate RFC Table Variants' button (CTRL+F5). 



Figure 172. Generate RFC Table Variants screen 


In this screen, you can define:

  1. Characteristics Fields – selection of the table fields to be used as characteristics. These fields will be used as the key fields in the comparison of table data.
  2. Key Figure Fields – selection of table fields to be used as key figures. These fields will be used as Data fields in comparison of table data. Only the number like fields can be selected here.
  3. Filter Fields – selection of Characteristics Fields on which you want to define the filters (from Validate version 1.4.2 navigational attributes are also supported).
  4. Set Filters (button) – for defining the filter values to be used during DB table read. Maximum of 100 distinct filtering fields can used. It is possible to swap between the descriptions of table filtering fields and their data element by clicking on  'Display Description/Technical Name' button. Fields for filter values are returned based on selected characteristic field in 'Filter Fields' input field and Tables selection (including patterns).                            
      
  5. Description suffix – Is is what will be added to the description of generated variants. Description of the variants are generated in the form 'Gen. Variant for $TABLE_NAME'. If the description suffix is a specified string, then '- $SUFFIX' is added to the description.
  6. Select Number of Rows – is an option for the column 'ROWCOUNT' to be added into the output of Table.
  7. Tables Selection – In in this table, you can specify the pairs of tables for the Before and After Image together with their RFC Destinations. For each pair a new Table Variant is generated that will contain all the settings specified in the header of the screen. It is possible to use patterns with asterisk sign (*) in the table name and define more table variants at once.

It is possible to execute the generation of RFC Table variants in a background job. The Background background job can be executed after you click on  'Generate Variants in Background' button. 

Note

When the variant generation is executed in the background, you can check the background job state through the SM37 transaction. It is important to note that you should not try to adjust/change the variants in the selection screen while the generating jobs is running. You can exit the selection screen but should not save the variants selection because variants that are generated in the background are automatically saved under the appropriate Test Case / Run. 

...

To edit existing Table variants, you double click on these in the table. Only the Table Variant that is not already used in Test Run can be edited from the Test Case definition screen. If the Table Variant is already used in one Test Run, it can be edited only in 'Select Table Variants' step of Test Run execution. If the Table Variant is already being used in more than one Test Run, its details can be only reviewed but not changed. 
When variant details are displayed, you can check where this variant is used. By pressing the 'Where Used'  button table is displayed that contains all Test Plan/Test Case/Run ID information where this variant is used. 

...


By clicking on  'Copy Settings to After Image' button, you can copy specified settings of this variant into its After image variant - if specified.

...


Here you can define new values for the before, the after image and the RFC destination. Changes to these values are done after clicking on 'Continue' (Enter) button. By marking checking the 'Edit' checkbox only the values, which you want to be changed will be replaced in selected variants. Only variants that are not yet used in test runs can be changed by mass edit.

...



Create After Image Variants as copies

Compare Settings

You can compare the chosen settings for variants and its defined after image variant (if there is one). Select the requested variants and then choosing choose 'Compare Settings' option from the context menu.

...


A dialog with possible settings is displayed select . After you confirm the selection what is to be compared between variants. After you confirm the selection , a check is done and a table with compare status messages is displayed.

Copy Settings

You can copy settings of variant to its defined after image variant. After the selection of variants is done, you can choose 'Copy Settings' in the context menu. Dialog is then displayed where you can define which settings should be copied from the source variant to the after image variant (if there is any). 

...


After you confirm the selection, specified settings are copied and message table is displayed with the information about updated variants.

Copy Variants

You can create copies of Table variants by selecting multiple variants in the selection table and then clicking on  'Copy Table Variants' toolbar button. For each selected variant a new variant is created with exactly the same settings as the source variant. If a copied source variant has a different after image variant specified, also a copy of that will be created. The copied after image variant is then assigned to the copied source variant as its after image variant. 

...

Note

Any Table Variants that are still in use in the Backend Testing will be locked; therefore . Therefore it is necessary to delete the Table Variants from the given runs before they can be deleted from the Table Variant Editor.

...



Selecting Table Variants to be transported


After selecting the desired Table Variants and clicking on the  'Transport Table Variants' button, a screen for choosing the transport request is displayed, once . Once selected press confirm. 
It is important to note that Table Variants only carry the information about Validate related items and not the Table structures. These Variants should only be imported to a system where Validate is installed and the same Database Tables with the same structure exist.

...

You can delete all unused Table variants by clicking on  'Cleanup Table Variants' button. The First screen with preselection pre-selection filters of variants is displayed and you can restrict which variants should be checked for deletion. After you confirm this screen, a check is done to find the unused variants. A variant is classed as unused if it is not assigned to any Test Case or Test Run. If a variant is used in another variant as an after image variant or the variant is used in any Test Case or Test Run, it is evaluated as used and will not presented for deletion. 



Table Variant Cleanup PreselectionPre-selection


All variants evaluated as not used are then displayed in dialog window. When you confirm the selection in this window, variants are deleted from the system.

...