Automation Engine Script Guide > AE JCL for Applications > SAP > R3_GET_VARIANT_CONTENTS

R3_GET_VARIANT_CONTENTS

Shows the content of a variant

Transaction: SA38

Interface: AE and Standard (XBP 2.0)

Syntax

R3_GET_VARIANT_C[ONTENTS]

Syntax

Description/Format

REP[ORT]=

Name of the report
Value format: script literal or AE name

VAR[IANT]=

Name of the variant
Value format: script literal or AE name

SELN[AME]=

Name of the parameter
Value format: script literal or AE name

KIND=

Type of selection
Format: script literal or AE name

Possible values: "S" and "P" (default)

"S" - selection criterion
"P" - parameter

LOW=

Parameter value (LOW)
Value format: script literal or AE name

HIGH=

Parameter value (HIGH)
Value format: script literal or AE name

SIGN=

Identifier (Include/Exclude)
Value format: script literal or AE name

Allowed values: "I" (Default) and "E"

"I" - Include
"E" - Exclude

OPTION=

Option how it should be selected
Value format: script literal or AE name

"EQ" - equal (default)
"NE" - not equal
"GT" - greater than
"GE" - equal or greater than
"LT" - less than
"LE" - equal or less than
"CP" - pattern comparison (wild cards are allowed)
"NP" - exclude pattern
"BT" - within interval (specify HIGH too)
"NB" - outside interval (specify HIGH too)

ERROR=

Handling if variant or content are not available
Value format: script literal or AE name

Allowed values: "ABEND" (default) and "IGNORE"

"ABEND" - script execution does not continue, the AE job ends abnormally.
"IGNORE" - script execution continues, the AE job ends normally.

Examples

The variant's entire content is output line by line. The job is not canceled if the variant is not available.

R3_GET_VARIANT_C REP='RSPO0041',VAR='STANDARD',ERROR='IGNORE'

All entries of the tables VARI_VALUES and VALUETAB with the column SELNAME containing the value 'MIN_ALT' are listed. The job is canceled if 'MIN_ALT' or the variant are not available.

R3_GET_VARIANT_C REP='RSPO0041',VAR='STANDARD',SELNAME='MIN_ALT',ERROR='ABEND'

All entries of the tables VARI_VALUES and VALUETAB with columns containing SELNAME=MIN_ALT, KIND=P and LOW=10 are output. The job is canceled if there is no hit.

R3_GET_VARIANT_C REP='RSPO0041',VAR='STANDARD',SELNAME='MIN_ALT',KIND='P',LOW='10',ERROR='ABEND'

  

See also: