R3_GET_VARIANT_CONTENTS
Use the R3_GET_VARIANT_CONTENTS script element to show the content of a variant.
Transaction: SA38
Interface: AE and Standard
Syntax
R3_GET_VARIANT_C[ONTENTS]
REPORT=...
,VARIANT=...
[,SELNAME=...]
[,KIND=...]
[,LOW=...]
[,HIGH=...]
[,SIGN=...]
[,OPTION=...]
[,ERROR=...]
Parameters
-
R3_GET_VARIANT_C[ONTENTS]
Shows the content of a variant - REP[ORT]=
Name of the report
Format: script literal or AE name - VAR[IANT]=
Name of the variant
Format: script literal or AE name - SELN[AME]=
(Optional) Name of the parameter
Format: script literal or AE name - KIND=
(Optional) Type of selection
Format: script literal or AE name
Allowed values:
- S
Selection criterion - P
Parameter
- S
- LOW=
(Optional) Parameter value
Format: script literal or AE name - HIGH=
(Optional) Parameter value
Format: script literal or AE name - SIGN=
(Optional) Identifier
Format: script literal or AE name
Allowed values:- I (default)
Include - E
Exclude
- I (default)
- OPTION=
(Optional) Option that is used for the selection
Format: script literal or AE name
Allowed values:- EQ (default)
Equal - NE
Not equal - GT
Greater than - GE
Equal or greater than - LT
Less than - LE
Equal or less than - CP
Pattern comparison, wild card characters are allowed - NP
Exclude patterns - BT
Within interval. You must also define the HIGH parameter - NB
Outside interval. You must also define the HIGH parameter
- EQ (default)
- ERROR=
(Optional) Handling if the variant or its content are not available
Format: script literal or AE name
Allowed values:- ABEND (default)
Script execution does not continue, the AE job ends abnormally - IGNORE
Script execution continues, the AE job ends normally
- ABEND (default)
Examples
The entire content of the variant 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 SELNAME column that contain 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 that contain 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:
seealso