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

BW_GET_CHAINS

Reads process chains from the BW system. Available process chains are stored in an activation report or a file.

Transaction: RSA1

SAP BW Version: 3.0B and later with Patch SAPKW30B11

Syntax

BW_GET_CHAIN[S]

Syntax

Description / Format

FILE=

Name of the file in which the available process chain should be saved
Value format: script literal
Default value: ""

The result is not output in the report if this parameter is used.

ID=

Technical designation of the process chain
Value format: script literal
Default value: ""

Wildcard characters can be used for selection.

TEXT=

Description of the process chain

Format of the value: script literal
Default value: ""

Wildcard characters can be used for selection.

ENCODING=

Encoding for the generated output file (Parameter FILE=).

For example: UTF-8

Default value: ISO-8859-1

When you specify an encoding that is not supported or invalid, the job will abort with an error message.

The SAP Forms provide an input assistant for this field which lists all the supported encodings.

Comments

All available process chains are written to the activation report or a specified file. This file is well structured. The first column (25 characters) contains the technical name (ID) of the process chain and the second column (60 characters) its description. The object version is shown in the third column (1 character). Object version codes indicate the following:

Example

Available process chains are queried and written to a file.

BW_GET_CHAINS FILE='..\TEMP\CHAINS.TXT',TEXT='Test*'