R3_MODIFY_JOB
Use the R3_MODIFY_JOB script element to modify an ABAP step. You can select the SAP job and reset the report name, the variant, and various archiving and print parameters of the ABAP step. The parameters comply with the fields of the SAP Dictionary structures PRI_PARAMS and ARC_PARAMS. For detailed information about individual fields, use the SAP Data Dictionary or the BAPI Browser.
Transaction: SM36
Interface: Standard
Syntax
R3_MODIFY_JOB NAME=...,JOBCOUNT=...,STEP=...,RE[PORT]=...[,VAR[IANT]=...][,ARCHIVE_O[BJECT]=...][,ARCHIVE_S[APOBJECT]=...][,ARCHIVE_I[NFO]=...][,DEST[INATION]=...][,IMM[EDIATELY]=...][,REL[EASE]=...][,COPIES=...][,ARCHIVE_M[ODE]=...][,AUTHORITY=...][,SAP_COVER[_PAGE]=...][,COVER[PAGE]=...][,EXPIR[ATION]=...][,RECEIVER=...][,LINE_COUNT=...][,LINE_SIZE=...]
Parameters
| Parameter | Description | Format |
|---|---|---|
| NAME= | Name of the SAP job. Use together with JOBCOUNT= to clearly identify the SAP job. | Script literal or AE name |
| JOBCOUNT= | Number of the SAP job. Use together with NAME= to clearly identify the SAP job. | Script literal |
| STEP= | Number of the ABAP step to modify. | Number without quotation marks |
| RE[PORT]= | Name of the report. | Script literal or AE name |
| VAR[IANT]=
(Optional) |
Name of the variant. | Script literal or AE name |
Archive Parameters
| Parameter | Description | Format |
|---|---|---|
| ARCHIVE_O[BJECT]=
(Optional) |
Archive object. | Script literal or AE name |
| ARCHIVE_S[APOBJECT]=
(Optional) |
SAP archive object. | Script literal or AE name |
| ARCHIVE_I[NFO]=
(Optional) |
Archive information. | Script literal or AE name |
Print Parameters
| Parameter | Description | Format | Allowed Values | Default Value |
|---|---|---|---|---|
| DEST[INATION]=
(Optional) |
Printer. | Script literal or AE name | n.a. | n.a. |
| IMM[EDIATELY]=
(Optional) |
Print immediately. | Script literal or AE name |
|
NO |
| REL[EASE]=
(Optional) |
Delete after printing. | Script literal or AE name |
|
NO |
| COPIES=
(Optional) |
Number of copies. | Number without quotation marks | n.a. | 0 |
| ARCHIVE_M[ODE]=
(Optional) |
Archive mode. | Script literal or AE name |
|
1 |
| AUTHORITY=
(Optional) |
Authorization. | Script literal or AE name | n.a. | n.a. |
| SAP_COVER[_PAGE]=
(Optional) |
SAP title page. | Script literal or AE name |
|
"" |
| COVER[PAGE]=
(Optional) |
Selected cover page. | Script literal or AE name |
|
NO |
| EXPIR[ATION]=
(Optional) |
Expiration value. | Number without quotation marks | n.a. | 0 |
| RECEIVER=
(Optional) |
Recipient. | Script literal or AE name | n.a. | n.a. |
| LINE_COUNT=
(Optional) |
Line counter. | Number without quotation marks | n.a. | 0 |
| LINE_SIZE=
(Optional) |
Line width. | Number without quotation marks | n.a. | 0 |
Examples
The following example modifies SAP job MYJOB with number 13541601. Step 2 defines RSM04000 as the executing ABAP program.
R3_MODIFY_JOB NAME="MYJOB",JOBCOUNT=13541601,STEP=2,REPORT=RSM04000
See also: