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

R3_SET_SELECT_OPTION 

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

KIND=

Type of selection
Format: scriptA particular Automation Engine object type. 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 (Include/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 charactersThese are placeholders for characters when you specify filters. ? stands for exactly one character, * for any number of 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 jobAn Automation Engine object type for a process that runs on a target system.'s script requires that the selection criteria are set individually for each call. They are not stored for subsequent functionPre-defined run book template in the Automation Engine. One single step only, e.g. Start Windows Service, Copy file,… 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:

 


Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support

Copyright © 2016 Automic Software GmbH