SUBMIT VARIANT - USAP Command

Description

The SUBMIT VARIANT command defines a new variant on an SAP system.

Command Line Syntax

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

-sub {filename/ddname | -abapname abapname -variant variant -target_variantname variantname}

Command Argument

The SUBMIT VARIANT command can be expressed as either:

  • -U Short form
  • -sub Long form

The SUBMIT VARIANT command argument, filename/ddname, specifies the name of the file that contains the variant definition.

Optionally, a pre-existing variant definition on the SAP system can be used as a model for the new variant definition. In this case, command arguments abapname and variant are used to identify the model variant and target_variantname is used to specify a name for the new variant definition.

See Variant Definition File - USAP for additional information on the variant definition file.

Configuration Options

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

Configuration
Option Name

Command Line
Long Form

Description

ABAP_NAME

-abapname

Name of the ABAP program whose variant will be copied.

VARIANT

-variant

Name of the variant to be copied.

TARGET_VARIANTNAME

-target_variantname

Name given to the copied variant.