1.3 Job control function of JP1/AJS3 for EAP
An SAP system usually executes a program in interactive mode (online). However, when a program is to be executed at a specific time (or at periodic intervals) or a large quantity of data is to be printed, the processing is executed as a batch process (background job) by the SAP system.
By using the job control function of JP1/AJS3 for EAP, you can control the background jobs of the SAP system from a non-SAP system.
JP1/AJS3 for EAP uses the XBP interface, which is an external management interface for the SAP system, to control the background jobs of the SAP system. The XBP interface is an open interface provided by SAP for controlling the background jobs of the SAP system from a non-SAP system.
The background jobs of the SAP system that can be controlled by JP1/AJS3 for EAP are those that can be defined and executed using transaction code SM36.
Figure 1-3 shows the status transition of a background job within an SAP system.
|
JP1/AJS3 for EAP allows you to use commands to control the status transition of a background job shown in Figure 1-3 . To change the job status from scheduled to released, for instance, use the jr3bjrel command, which releases an SAP system background job.
Note that a background job consists of one or more job steps. The following two types of job steps can be used in background jobs:
SAP system background job control that can be executed from JP1/AJS3 for EAP is explained below with reference to the transition sequence of the background job status.
For details of the commands used with JP1/AJS3 for EAP, see 4. Commands.
- Organization of this section
-