Creating Report Group VariantsYou can define several variants for the same report group. A variant is a group of selection criteria values that have been saved for a report group. Instead of entering the same selection criteria each time you execute a report group, you can create a variant for each set of selection criteria.
You create a variant for a report group specifying that only report data for cost center 100 is selected for the report. You can create a second variant where report data for all the cost centers is selected.
On the
Execute Report Group: Initial Screen
, choose
Execute
(to create a variant for report data selection)
Multiple selection
(to create a variant for a report group that has variable input parameters)
Mass generator
(to create a variant for generating report groups)
The
ABAP: Variants - Initial Screen
appears.
The
Program
field is automatically filled. The report names appear as follows, depending on the function you selected:
J<Report Group><Client>X when you are creating a variant for report data selection.
J<Report Group><Client>T when you are creating a variant for a report group that has variable input parameters (multiple selection).
RGRJBG00 when you are creating a variant for generating report groups.
In the
Variant
field, enter the variant name.
Choose .
The
Maintain Variants: <Program Name> Variant <Variant Name>
screen appears.
Enter the data as required.
For selecting report data , enter the values and sets for selecting report data. Enter extract and output data as required.
For entering variable input parameters for a report group , enter the variable values and/or sets and the output parameters for the variant.
For generating report groups , enter the selection criteria for generating the report groups.
Choose
Continue
.
The
ABAP: Save Variant <Variant Name>
screen appears.
Enter the data as required.
For more information about the fields on this screen and creating a variant, see the SAP Library
Pre-Setting Selections Using Variants
documentation (
).