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

BW_SET_INFOPACKAGE_SELECTION

Sets selection parameters that should be used for reading the InfoPackages from the BW system.

Transaction: RSA1

Syntax

BW_SET_INFOPACKAGE_SELECTION

Syntax

Description/Format

SELNAME= 

The name of a selection table for the InfoPackages

Allowed values: "TEXTLONG", "INFOSOURCE", "SOURCESYSTEM",  "DATASOURCE"

"TEXTLONG" = The selection for long texts.
"INFOSOURCE" = The selection for InfoSources.
"SOURCESYSTEM" = The selection for source systems.
"DATASOURCE" = The selection for data sources.

LOW= 

The lower limit for the chosen selection table.

HIGH= 

The upper limit for the chosen selection table.

SIGN= 

The indicator for the selection.

Allowed values: "I" (default value), "E"

"I" = Found InfoPackages are included.
"E" = Found InfoPackages are excluded.

OPTION= 

The selection option.

Allowed values: "EQ" (default value), "NE", "GT", "GE", "LT", "LE", "CP", "NP", "BT", "NB"

"EQ" = Equal
"NE" = Unequal
"GT" = Larger
"GE" = Larger or equal
"LT" = Smaller
"LE" = Smaller or equal
"CP"= Model comparison (with wildcards)
"NP" = Exclude model
"BT" = Interval (specify HIGH also)
"NB" =- Exclude Interval (specify HIGH also) 

MODE= 

The processing mode for the selection.

Allowed values: "R" (default value), "A"

"R" - The selection will be replaced in the selection table.
"A" - The selection will be added to the selection table.

Comments

This script element does not call an SAP function. It just prepares for the subsequent reading of the InfoPackages from the BW system. You can select InfoPackages in four different ways, according to long text, InfoSource, source system and data source.

When you start, the selection tables of each AE job for the target system SAP BW are empty. Using this script element several times has the effect that the selection tables are filled with values.

The lower and upper limits refer to the chosen selection table. For example, when you have specified "TXTLONG", these parameters select the long text of the available InfoPackages. For specifying lower and upper limits, you can use the wildcards "*" and "?". "*" stands for any and "?" stand for exactly one character. An upper limit is only usefull when  BT" or "NB" are specified as a selection option.

An upper limit, an indicator for the selection, a selection option and a processing mode are optional parameters for this script element.

The script element SET_INFOPACKAGE_SELECTION has been renamed to BW_SET_INFOPACKAGE_SELECTION in version 3.0 but you can still use its old name.

Examples

The following example selects all InfoPackages that include the long text "Land*", excepted are those that include the the InfoSource name "0COUNTRY".

BW_SET_INFOPACKAGE_SELECTION SELNAME="TEXTLONG",OPTION="CP",LOW="Land*"
BW_SET_INFOPACKAGE_SELECTION SELNAME="INFOSOURCE",LOW="0COUNTRY",SIGN=E