R3_MODIFY_INTERCEPTION

Use the R3_MODIFY_INTERCEPTION script element to modify 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.

Transaction: -

Interface: Standard (XBP 2.0)

Important Considerations

R3_MODIFY_INTERCEPTION is also supported with the XBP 3.0 interface, but 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_GET_INTERCEPTION.

Syntax

R3_MODIFY_INTERC[EPTION] [NAME=...][,USER=...][,MODE=...]

Parameters

Parameter Description Format Allowed Values Default Value
NAME=

(Optional)

Name of one or more SAP jobs. You can use the asterisk (*) as a wildcard. Script literal n.a. *
USER=

(Optional)

Name of one or more SAP users. You can use the asterisk (*) as a wildcard. Script literal n.a. *
MODE=

(Optional)

Processing mode for the new table entry. Script literal
  • REPLACE — All existing table entries for the SAP client are deleted and replaced by the new entry.

  • APPEND — The new entry is added to the existing table entries for the SAP client.

REPLACE

Examples

The following example first queries all defined intercepted jobs:

R3_GET_INTERCEPTION

The activation report contains the following lines:

20200325/153054.000 - U2004943 ;001;IC*;*
20200325/153054.000 - U2004943 ;001;AE*;AE.WG

All table entries are then replaced by a new entry, and the intercepted jobs are queried again:

R3_MODIFY_INTERCEPTION NAME='AE*',USER='AE.WG'

R3_GET_INTERCEPTION

The activation report now contains only one line:

20200325/153054.000 - U2004943 ;001;AE*;AE.WG

See also: