Automation Engine Script Guide > AE JCL for Applications > SAP > R3_SCHEDULE_JOB_CANCEL

R3_SCHEDULE_JOB_CANCEL

Resets an already released SAP job to the status "Scheduled".

Transaction: SM37

Interface: AE

Syntax

R3_SCHEDULE_JOB_CANCEL

Syntax

Description/Format

NAME=

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

Individual SAP jobs can be clearly identified using them in combination with JOBCOUNT (SAP job number).

JOBCOUNT=

Number of the SAP job.
Format: script literal

In connection with the NAME (SAP job name), you can clearly identify individual SAP jobs.

Description

This script element can be used to reset the release of an SAP job. The status of the SAP job changes from "Released" to "Scheduled".

You can retrieve SAP jobs with the status "Released" by using the script element R3_GET_JOBS. The result is written to the activation report and can be analyzed and processed in the Post Process tab.

Example

The following example resets the SAP job "MYJOB" and the number "13541601".The status changes from "Released" to "Scheduled".

R3_SCHEDULE_JOB_CANCEL NAME="MYJOB",JOBCOUNT=13541601

 

See also: