DISPLAY VARIANTS - USAP Command

Description

The DISPLAY VARIANTS command displays the variants available for the specified ABAP program.

Command Line Syntax

The following figure illustrates the command line syntax of the DISPLAY VARIANTS command, using the command line, long form of its configuration options.

-display variants -abapname abapname -varselopt {A|B}

Command Argument

The DISPLAY VARIANTS command can be expressed as either:

  • -D (Short form)
  • -display (Long form)

The DISPLAY VARIANTS command argument, variants, displays the variants defined for ABAP program abapname.

  • Using -varselopt A will display the variants that are available for batch and dialog mode.
  • Using -varselopt B will display the variants that are available for batch mode only.

Configuration Options

The following table describes all DISPLAY VARIANTS configuration options and provides the command line, long form of each option illustrated in the DISPLAY VARIANTS command line syntax, above.

Configuration
Option Name

Command Line
Long Form

Description

ABAP_NAME

-abapname

Name of an ABAP program in an SAP system.

VARIANT_SELECTION

-varselopt

Specification to display either variants available for batch and dialog mode or variants available only for batch mode.