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

R3_GET_INTERCEPTION

Reads the filter table of intercepted jobs and stores them in the activation report or a file.

Transaction: -

Interface: Standard (XBP 2.0)

Syntax

R3_GET_INTERC[EPTION]

Syntax

Description/Format

FILE=

Name of the file in which intercepted jobs should be saved.
Value Format:
script literal

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

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

This script element reads the contents of the SAP system table in which the conditions for batch jobs have been defined. The SAP client specified in the Login object referred to by the AE job is used here.

The table's contents are written to the activation report or a specified file which is structured. The first column (4 characters) contains the SAP client, the second column (33 characters) the job name and the third column the user nameName of the Automation Engine user. (12 characters).

By default, created files are stored on the computer on which the agent has been installed  (such as R3_GET_JOB_SPOOL; FILE=).

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

Example

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

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

  

See also: