R3_GET_INTERCEPTION

The R3_GET_INTERCEPTION script element reads the contents of the SAP system table in which the conditions for batch jobs have been defined. The SAP client that is specified in the Login object referred to by the AE job is used. The table contents are written to the activation report or a specified file. The file is structured in that the first column with 4 characters contains the SAP client. The second column comprises 33 characters and includes the job name, and the third column with 12 characters includes the user name. By default, the created files are stored on the computer on which the Agent is installed (such as R3_GET_JOB_SPOOL; FILE=).

Important! Note that this script element is only supported with XBP 2.0.

Transaction: -
Interface: Standard (XBP 2.0)
Note: R3_GET_INTERCEPTION is also supported with the XBP 3.0 interface, but you have to use the ABAP INITXBP2 in SAP to explicitly set the Interception version within XBP 3.0 to 2.0. After that you can use this script element also with XBP 3.0. See also: R3_MODIFY_INTERCEPTION

Syntax

R3_GET_INTERC[EPTION]

    [FILE=...]

Parameters

  • R3_GET_INTERC[EPTION]
    Reads the filter table of intercepted jobs and stores them in the activation report or in a file

  • FILE=
    (Optional) Name of the file in which intercepted jobs should be stored. If you use this parameter, the result is not shown in the activation report.
    Format: script literal

  • 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.

Example

The defined intercepted jobs are queried and written to a file.

R3_GET_INTERCEPTION FILE='C:\TEMP\IC.TXT'

See also:

seealso

About SAP JCL