BW_GET_CHAINS

This script element reads process chains from a business warehouse system. Available process chains are stored in an activation report or a file.

Transaction: RSA1

Syntax

BW_GET_CHAIN[S]

    [FILE=...]
    [,ID=...]
    [,TEXT=...]

Parameters

  • BW_GET_CHAIN[S]
    Reads process chains from a business warehouse system

  • FILE=
    (Optional) Name of the file in which the available process chain should be saved. The result is not output in the report if you use this parameter.
    Format: script literal
    Default: ""
  • ID=
    (Optional) Technical designation of the process chain. You can use wild card characters.
    Format: script literal
    Default: ""
  • TEXT=
    (Optional) Description of the process chain. You can use wildcard characters.
    Format: script literal
    Default: ""
  • ENCODING=
  • (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.

All available process chains are written to the activation report or a specified file. This file is structured, its first column can include up to 25 characters and contains the technical name, the ID of the process chain. The second column can include up to 60 characters and includes the description. The object version is shown in the third column with one character. The following information is provided with the following object version codes:

  • A
    Active
  • M
    Revised
  • D
    Content
  • N
    New

Example

Available process chains are queried and written to a file.

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