R3_MODIFY_JOB

Modifies an ABAP step

Transaction: SM36
Interface: Standard

Syntax

R3_MODIFY_JOB

Syntax

Description/Format

NAME=

Name of the SAP job
Format: script literal or AE name

In connection with its job number, an individual SAP job can be clearly identified.

JOBCOUNT=

Number of the SAP job
Format: script literal

In connection with the name, an individual SAP job can be clearly identified.

STEP=

Number of the ABAP Step to be modified
Format: Number without quotations

RE[PORT]=

Name of the report
Format: script literal or AE name

Parameter

 

VAR[IANT]=

Name of the variant
Format: script literal or AE name

ARCHIVE_O[BJECT]=

Archive Parameter: Object
Format: script literal or AE name

ARCHIVE_S[APOBJECT]=

Archive parameter: SAP object
Format: script literal or AE name

ARCHIVE_I[NFO]=

Archive Parameter: Info
Format: script literal or AE name

DEST[INATION]=

Printer
Format: script literal or AE name

IMM[EDIATELY]=

Print immediately
Format: script literal or AE name

Allowed values: "YES" and "NO" (default value)

REL[EASE]=

Delete after printing
Format: script literal or AE name

Allowed values: "YES" and "NO" (default value)

COPIES=

Number of copies
Format: Number without quotations

Default value: "0"

ARCHIVE_M[ODE]=

Archive mode
Format: script literal or AE name

Allowed values: "1" (default value), "2" or "3"

"1" - Print only
"2" - Archive only
"3" - Print and Archive

AUTHORITY=

Authority
Format: script literal or AE name

SAP_COVER[_PAGE]=

SAP title page
Format: script literal or AE name

Allowed values: "" (default value), "X" and "D"

"" - No title page
"X" - Print title page
"D" - Title page depends on the printer's settings

COVER[PAGE]=

Cover Page
Format: script literal or AE name

Allowed Values: "YES" and "NO" (default value)

"YES" - Print selections title page
"NO" - Do not print selections title page

EXPIR[ATION]=

Expiration
Format: Number without quotations

Default value: "0"

RECEIVER=

Receiver
Format: script literal or AE name

LINE_COUNT=

Line counter
Format: Number without quotations

Default value: "0"

LINE_SIZE=

Line width
Format: Number without quotations

Default value: "0"

This script element can be used to modify ABAP steps. When the SAP job has been selected, you can reset the name of the report, variant and various archiving and print parameters of the ABAP step.

The parameters correspond to the fields of the SAP Dictionary Structure PRI_PARAMS and ARC_PARAMS. Please use the dictionary or the BAPI Browser to get detailed information about the individual fields.

Example

In the example show below, the SAP job with name "MYJOB" and the number "13541601" is modified. As Step "2", "RSM04000" is specified as the executing ABAP program.

R3_MODIFY_JOB NAME="MYJOB",JOBCOUNT=13541601,STEP=2,REPORT=RSM04000

See also:

seealso

About SAP JCL