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

BW_GET_INFOPACKAGES

Reads InfoPackages from the BW system. The available InfoPackages are saved in the activation report or a file.

Transaction: RSA1

Syntax

BW_GET_INFOPACK[AGES]

Syntax

Description/Format

FILE= 

The name of a file with complete path specification in which the available InfoPackages are stored. 

JOB_STATUS=

The filter for the status of jobs that have been started by InfoPackages.

Allowed values: "S", "R", "F", "A"

"S" = The job is scheduled.
"R" = The job is running.
"F" = The job has ended.
"A" = The job has aborted.

Comments

This script element assumes the InfoPackages have been already selected with BW_SET_INFOPACKAGE_SELECTION. All the available InfoPackages are written to the activation report or to a specified file. The file has a textured architecture. The first column (31 characters) contains the technical name of the InfoPackage, the second column (61 characters) its long text.

All selection tables will be deleted when the script elements have been processed in the script.

Examples

The following example selects all InfoPackages that include the long text "Land*" except for those that include the InfoSource name "0COUNTRY" and writes them to a file.

BW_SET_INFOPACKAGE_SELECTION SELNAME="TEXTLONG",LOW="Land*",OPTION=CP
BW_SET_INFOPACKAGE_SELECTION SELNAME="INFOSOURCE",LOW="0COUNTRY",SIGN=E
BW_GET_INFOPACKAGES FILE="c:\temp\infopackages.txt"