GENERATE VARIANT DEFINITION FILE - USAP Command

Description

The GENERATE VARIANT DEFINITION FILE command generates a USAP variant definition file based on a model SAP variant. The generated definition file is written to standard output.

Note

GENERATE VARIANT DEFINITION FILE requires XBP interface 2.0.

(See the Client Fault Tolerance - Universal Connector for information on XBP interface 2.0.)

Command Line Syntax

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

-generate vardef -variant variantname -abapname abapname 

Command Argument

The GENERATE VARIANT DEFINITION FILE command can be expressed as:

  • -generate (Long form)

The GENERATE VARIANT DEFINITION FILE command argument, vardef, generates a usap variant definition file based on the specified SAP variant. The generated variant definition is printed to standard output.

This command option makes it easy to create complex variant definitions based on pre-existing SAP variants. It also eliminates typing errors that can be introduced by manually coding variant definition files.

Configuration Options

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

Configuration
Option Name

Command Line
Long Form

Description

VARIANT

-variant

Pre-existing SAP variant name to use as the model variant.

ABAP_NAME

-abapname

Name of an ABAP program in an SAP system to which the model variant belongs.