BW_GET_CHAINS
Use the BW_GET_CHAIN[S] script element to read process chains from a BW system and write the results to the activation report or a file. The output file is structured: the first column holds the technical name (ID) of the process chain (up to 25 characters), the second column holds the description (up to 60 characters), and the third column holds the object version code (one character).
Transaction: RSA1
Syntax
BW_GET_CHAIN[S] [FILE=...][,ID=...][,TEXT=...][,ENCODING=...]
Parameters
| Parameter | Description | Format | Default Value |
|---|---|---|---|
| FILE=
(Optional) |
Full path and name of the file in which to save the available process chains. When this parameter is specified, results are not written to the activation report. | Script literal | "" |
| ID=
(Optional) |
Technical name of the process chain to filter by. Wildcard characters are supported. | Script literal | "" |
| TEXT=
(Optional) |
Description of the process chain to filter by. Wildcard characters are supported. | Script literal | "" |
| ENCODING=
(Optional) |
(Optional) Encoding that should be used for the generated output file (FILE= parameter). Example: UTF-8 Default value: ISO-8859-1 When you specify an encoding format that is not supported or invalid, the job aborts with an error message. The SAP Forms provide an input assistant for this field which lists all the supported encoding formats. |
n.a. | ISO-8859-1 |
Important Considerations
The object version column in the output file uses the following codes:
-
A — Active
-
M — Revised
-
D — Content
-
N — New
Examples
The following example retrieves all process chains whose description starts with "Test" and writes the results to a file.
BW_GET_CHAINS FILE='..\TEMP\CHAINS.TXT',TEXT='Test*'