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 step

  • NAME=
    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 name

  • JOBCOUNT=
    Number of the SAP job
    Use it together with the NAME (SAP job name) parameter to clearly identify a unique SAP job.
    Format: script literal

  • STEP=
    Number of the ABAP step that should be modified
    Format: number without quotations

  • RE[PORT]=
    Name of the report
    Format: script literal or AE name

  • VAR[IANT]=
    (Optional) Name of the variant
    Format: script literal or AE name

Archive parameters

  • ARCHIVE_O[BJECT]=
    (Optional) Object
    Format: script literal or AE name

  • ARCHIVE_S[APOBJECT]=
    (Optional) SAP object
    Format: script literal or AE name

  • ARCHIVE_I[NFO]=
    (Optional) Information
    Format: script literal or AE name

Print Parameters

  • DEST[INATION]=
    (Optional) Print parameter: printer
    Format: script literal or AE name

  • IMM[EDIATELY]=
    (Optional) Print immediately
    Format: script literal or AE name
    Allowed values: NO (default) and YES

  • REL[EASE]=
    (Optional) Delete after printing
    Format: script literal or AE name
    Allowed values: NO (default) and YES

  • COPIES=
    (Optional) Number of copies that should be made
    Format: number without quotations
    Default value: 0

  • ARCHIVE_M[ODE]=
    (Optional) Archive mode
    Format: script literal or AE name
    Allowed values:

    • 1 (default)
      Print only
    • 2
      Archive only
    • 3
      Print and archive
  • AUTHORITY=
    (Optional) Authorization
    Format: script literal or AE name

  • SAP_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
  • 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
  • EXPIR[ATION]=
    (Optional) Expiration
    Format: number without quotations
    Default value: 0

  • RECEIVER=
    (Optional) Recipient
    Format: script literal or AE name

  • LINE_COUNT=
    (Optional) Line counter
    Format: number without quotations
    Default value: 0

  • LINE_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: