R3_SET_SELECT_OPTION 

Defines a selection criterion

Transaction: SA38

Interface: Standard (XBP 3.0)

Syntax

R3_SET_SELECT_OPTION

Syntax

Description/Format

SELNAME=

Name of the select option or the parameter
Format: script literal

KIND=

Type of selection
Format: script literal

Possible values: "S" and "P"

"S" - selection criterion
"P" - parameter

LOW=

Parameter value (LOW)
Format: script literal

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)
Format: script literal

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

"I" = Include
"E" = Exclude

OPTION=

Option used for selection
Format: script literal or AE name

"EQ" - equal (default)
"NE" - not equal
"GT" - greater than
"GE" - greater than or equal
"LT" - less than
"LE" - less than or equal
"CP" - pattern comparison (with wildcard characters)
"NP" - exclude patterns
"BT" - interval (specify HIGH too)
"NB" - outside interval (specify HIGH too)

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: