Versions Compared

Key

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

The ERP Report Test Case is a collection of Report Test Variants. After you click on Variants button, a screen for Report Variants selection is displayed.

...


Here you can create a new or add an existing Report Variants into an ERP Report Test Case. All these functions are accessible from the

toolbar menu.

Anchor
Create New Report Variant
Create New Report Variant
Create New Report Variant 

Screen A screen for creating new Report Variant is displayed by clicking on the Create New Report Variant button (Ctrl + F3).

...

  1. RFC Destination – RFC destination that will be used for Report Variant execution.
  2. Variant Description – The description of the new Report Variant.
  3. Report (required) – Technical name of the report to be used for image creation.
  4. Report Variant (ABAP Variant) – Variant of specified report to be used when the report is executed. These variants can be manage in transaction SE38.
  5. After Image Variant ID – ID of the Report Test Variant that is used for the after image creation. This allows you to compare the output of different Reports/Report Variants or outputs from different systems.

Report Test Variant is created after you click on the Continue button (Enter). 

Note

Validate creates before and after images from the report execution spool. Only reports that create such spools when executed in background job should be used.

...

The Add Existing Report Variant button displays all of the existing Report variants in the system and you can select one or more variants to be added into the current Test Case.

...

The Add Report Variants of Run button displays all of the ERP Reports that have been run in the system and you can select one of these variants to be added into the current test case.

...

You can create copies of Report variants by selecting multiple variants in the selection table and then clicking on  Copy Report Variants toolbar button. For each selected variant, a new variant is created with exactly the same settings as the source variant. 



Copy Variants

Generate Report Variants 

...

  1. Description suffix – Is what will be added to the description of generated variants, if they do not have description specified in Reports Selection. Description of the variants are generated in the form 'Gen. Variant for $REPORT_NAME'. If the description suffix is a specified string, then '- $SUFFIX' is added to the description.
  2. Reports Selection – In this table, you can specify the pairs of report names with report variant names for the Before and After Image together with their RFC Destinations. For each pair a new Report Variant is generated. It is possible to use patterns with asterisk sign (*) in report name and report variant name and . You can also define more Report Variants at once. Patterns can be used only in before image report names and report variants names, after image will be created with the same names.

Report Test Variants are created after you click on the Continue button (Enter). 

...

  1. Before Image RFC destination – RFC destination that will be used for Report Variant Before Image execution. Leave the field empty for execution on current system.
  2. After Image RFC destination – RFC destination that will be used for Report Variant After Image execution. Leave the field empty for execution on current system.
  3. Report Variant name prefix – prefix with asterisk sign (*) or exact report variant name to be used when the report is executed. Test variants will be created for every match of Report Variants name prefix with all available Report variants of reports selected in Reports selection.
  4. Reports selection – list of currently supported standard reports in various SAP modules. Select checkbox to choose reports for generation of test variants.

After you click on the Continue button (Enter), Report Selection is sent to the screen for generation of Report Variants, where you can check your Reports selection again. Test Variants are created after you click on the Continue button in the Report Generation screen. 

...

Select multiple variants and create after image variants for them. To access this functionality, right click on the selected variants and choose 'Create After Images as copies'. A dialog is then displayed where you can define the RFC destination that will be applied to all of the generated after image variants. All other settings are also copied from the source variants.



Create After Image Variants as copies

...

Delete Report Variants

Deleting the existing Report Variants can be done easily by selecting the desired rows and clicking on the delete button in ALV toolbar.

Note

Any Report Variants that are still in use in the Backend Testing will be locked; therefore . Therefore, it is first necessary to delete these Report Variants from the given runs (or specific runs) before proceeding in deleting them permanently from the Report Variant Editor (i.e. system).

...


After selecting the desired Report Variants and clicking on the  Transport Report Variants button, choose your transport request. You can select the request and confirm the transport for the selected Report Variants. 
It is important to note that the Report Variants only carry information about Validate related items, and not the transformation structures themselves so they . They should be therefore imported only to the system where Validate is installed and the same reports/variants with same structure exist.

...

You can delete all unused Report variants by clicking on  Cleanup Report Variants button. 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 all unused variants. A variant is unused if it is not assigned to any Test Case or Test Run. 

...