R3_GET_INTERCEPTION

Use the R3_GET_INTERCEPTION script element to read the contents of the SAP system table in which the conditions for batch job interception are defined. The SAP client 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.

Transaction: -

Interface: Standard (XBP 2.0)

Important Considerations

  • This script element is only supported with XBP 2.0. To use it with XBP 3.0, you must use the ABAP INITXBP2 in SAP to explicitly set the Interception version within XBP 3.0 to 2.0. For more information, see R3_MODIFY_INTERCEPTION.

  • The output file is structured as follows: the first column (4 characters) contains the SAP client, the second column (33 characters) contains the job name, and the third column (12 characters) contains the user name. By default, generated files are stored on the computer on which the agent is installed.

Syntax

R3_GET_INTERC[EPTION] [FILE=...][,ENCODING=...]

Parameters

Parameter Description Format
FILE=

(Optional)

Name of the file in which to store the intercepted jobs. When specified, the result is not written to the activation report. 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.

Examples

The following example queries the defined intercepted jobs and writes them to a file.

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

See also: