Defines a selection criterion
Transaction: SA38
Interface: Standard (XBP 3.0)
Syntax
R3_SET_SELECT_OPTION
,SELNAME=...
,KIND=...
,LOW=...
[,HIGH=...]
[,SIGN=...]
[,OPTION=...]
Syntax |
Description/Format |
---|---|
SELNAME= |
Name of the select option or the parameter |
KIND= |
Type of selection Possible values: "S" and "P" "S" - selection criterion |
LOW= |
Parameter value (LOW) |
HIGH= | Parameter value (HIGH) Format: script literal |
SIGN= |
Identifier (IncludeScript, das häufig und in mehreren Objekten verwendet wird. Auch ein eigener Objekttyp in der Automation Engine./Exclude) Allowed values: "I" (default) and "E" "I" = Include |
OPTION= |
Option used for selection "EQ" - equal (default) |
Comments
This script element defines an individual selection criterion. Call it several times in succession to determine several selection criteria. These are collected and assigned to the next R3_ACTIVATE_REPORT or R3_CREATE_VARIANT call.
Note that using several R3_ACTIVATE_REPORT or R3_CREATE_VARIANT calls in the SAP job's script requires that the selection criteria are set individually for each call. They are not stored for subsequent function calls.
Example
The example shown below defines the value "17" for the parameter "MIN_AGE". The selection criterion is then used for the creation of a variant.
R3_SET_SELECT_OPTION SELNAME='MIN_AGE',KIND='P',LOW='17',SIGN='I'
R3_CREATE_VARIANT REP=REPORT01,VAR=NEW,TEXT='New variant'
See also: