Executing Programs with Variants
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
- On the initial screen of the ABAP Editor (transactionSE38), enter the name of the program that you want to run.
- Choose Program → Execute → With Variant.
A dialog box appears in which you can enter a variant.
- Select the Variant field and choose the F4 key.
A list of all variants defined for the program appears.
- Select a variant and choose
with the quick info text Continue. - 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.
- Choose
with the quick info text Execute to run the program.