Show TOC

 Save Variants

Procedure

  1. Start the report for which you want to define a variant.

  2. On the selection screen, enter the selection values you require.

  3. When you define a variant, you can also use the functions on the selection screen, such as Further selections and Org. structure . However, it is not possible to use the Search helps and Org. structure functions at the same time.

  4. Choose .

  5. This takes you to the ABAP: Save as Variant screen. This screen enables you to enter a variant name, which must be as unique as possible, and to determine the variant attributes. You can maintain the following fields:

    Variant name and description

    These fields enable you to enter a technical name and description for the variant.

    Only for background processing

    If you select this indicator, the report variant can only be executed in the background, and the result can only be printed later.

    Protect variant

    If you select this indicator, other users are prevented from changing the variant.

    Only display in catalog

    If you select this indicator, the variant name is included in the variant catalog/directory, but is not included in general input help.

    Field attributes

    This section of the screen enables you to determine attributes for each field on the selection screen. For example, you can select the Protect field indicator to ensure that a field cannot be overwritten. A selection field with the Hide field attribute is not displayed on the selection screen. Fields with the Selection variable indicator are provided with values by a table variable or function module.

  6. Make the entries that you require.

  7. Choose .

Result

The report variant is saved, and can be accessed and executed again later.