R3_MODIFY_JOB
The R3_MODIFY_JOB script element can be used to modify an ABAP step. You can select the SAP job and then reset the name of its report, the variant and various archiving and print parameters of the ABAP step. The parameters that are used comply with the fields of the SAP Dictionary Structure PRI_PARAMS and ARC_PARAMS. For detailed information about the individual fields, use the dictionary or the BAPI Browser. R3_MODIFY_JOB has no predefined function in the AE command display.
Transaction: SM36
Interface: Standard
Syntax
R3_MODIFY_JOB
NAME=...
,JOBCOUNT=...
,STEP=...
,REPORT=...
[,VAR[IANT]=...]
[,ARCHIVE_O[BJECT]= ...]
[,ARCHIVE_S[APOBJECT]=...]
[,ARCHIVE_I[NFO]=...]
[,DEST[INATION]=...]
[,IMM[EDIATELY]=...]
[,REL[EASE]=...]
[,COPIES=...]
[,ARCIVE_M[ODE]=...]
[,AUTHORITY=...]
[,SAP_COVER[_PAGE]=...]
[,COVER[PAGE]=...]
[,EXPIR[ATION]=...]
[,RECEIVER=...]
[,LINE_COUNT=...]
[,LINE_SIZE=...]
Parameters
R3_MODIFY_JOB
Modifies an ABAP stepNAME=
Name of the SAP job. Use it together with the JOBCOUNT (SAP job number) parameter to clearly identify a unique SAP job.
Format: script literal or AE nameJOBCOUNT=
Number of the SAP job
Use it together with the NAME (SAP job name) parameter to clearly identify a unique SAP job.
Format: script literalSTEP=
Number of the ABAP step that should be modified
Format: number without quotationsRE[PORT]=
Name of the report
Format: script literal or AE nameVAR[IANT]=
(Optional) Name of the variant
Format: script literal or AE name
Archive parameters
ARCHIVE_O[BJECT]=
(Optional) Object
Format: script literal or AE nameARCHIVE_S[APOBJECT]=
(Optional) SAP object
Format: script literal or AE nameARCHIVE_I[NFO]=
(Optional) Information
Format: script literal or AE name
Print Parameters
DEST[INATION]=
(Optional) Print parameter: printer
Format: script literal or AE nameIMM[EDIATELY]=
(Optional) Print immediately
Format: script literal or AE name
Allowed values: NO (default) and YESREL[EASE]=
(Optional) Delete after printing
Format: script literal or AE name
Allowed values: NO (default) and YESCOPIES=
(Optional) Number of copies that should be made
Format: number without quotations
Default value: 0ARCHIVE_M[ODE]=
(Optional) Archive mode
Format: script literal or AE name
Allowed values:- 1 (default)
Print only - 2
Archive only - 3
Print and archive
- 1 (default)
AUTHORITY=
(Optional) Authorization
Format: script literal or AE nameSAP_COVER[_PAGE]=
(Optional) SAP title page
Format: script literal or AE name
Allowed values:- "" (default)
No title page - X
Print title page - D
Title page depends on the settings of the printer
- "" (default)
- COVER[PAGE]=
(Optional) Selected cover page
Format: script literal or AE name
Allowed values:- NO (default)
Do not print selected title page - YES
Print selected title page
- NO (default)
EXPIR[ATION]=
(Optional) Expiration
Format: number without quotations
Default value: 0RECEIVER=
(Optional) Recipient
Format: script literal or AE nameLINE_COUNT=
(Optional) Line counter
Format: number without quotations
Default value: 0LINE_SIZE=
(Optional) Line width
Format: number without quotations
Default value: 0
Example
The following example modifies an SAP job with the name MYJOB and the number 13541601. Step 2 defines RSM04000 as the executing ABAP program.
R3_MODIFY_JOB NAME="MYJOB",JOBCOUNT=13541601,STEP=2,REPORT=RSM04000
See also: