Defines a selection criterion
Transaction: SA38
Interface: Standard (XBP 3.0)
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) For this parameter, only KIND="S" is allowed. |
SIGN= |
Identifier (Include/Exclude) Allowed values: "I" (default) and "E" "I" = Include For this parameter, only KIND="S" is allowed. |
OPTION= |
Option used for selection "EQ" - equal (default) For this parameter, only KIND="S" is allowed. |
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.
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: