Show TOC

 Executing Programs with VariantsLocate this document in the navigation structure

Prerequisites

The program that you want to execute can be any type except S (subroutine pools) and must have one or more selection screens.

You must have defined variants for the program.

Procedure
  1. On the initial screen of the ABAP Editor (transactionSE38), enter the name of the program that you want to run.
  2. Choose Program → Execute → With Variant.

    A dialog box appears in which you can enter a variant.

  3. Select the Variant field and choose the F4 key.

    A list of all variants defined for the program appears.

  4. Select a variant and choose  with the quick info text Continue.
  5. Confirm your selection by choosing  with the quick info text Execute.

    The selection screen of the program appears. Those fields that were filled by the variant already contain values.

  6. Choose  with the quick info text Execute to run the program.