Definition
If program or system errors occur, a job will terminate abnormally, and the Cancelled column in the Job Scheduling Monitor will be marked.
A job is also shown to have terminated abnormally if it was not started within the specified start time frame. This start time frame generally expires if the system is unavailable for a long time, such as during maintenance. In such cases, jobs that are no longer needed are not executed when the system is restarted.
Error messages issued by the background system and by the scheduled program are recorded in the job log. Other relevant error messages may be found in the system log, because if the background processing system cannot write a job log for any reason, all of its messages will be recorded instead in the system log.
For more information on analyzing terminated jobs, see Troubleshooting the Background Processing System.
You can check three sources for information on the cause of abnormal termination:
- The System Log
Messages on the processing status are written to the system log while a job is being processed.
To display messages issued during background processing, search for messages on the processing status. Also, find the SAP number assigned to the background work process with the Process overview function. This number stays the same as long as the number of processes in a server does not change.
To reduce the possibility of a message being issued more than once, the work process does not write a repeated message to the system log until after a specific delay period. When the problem is solved, the system writes an appropriate message for that in the system log as well.
Assume an error in the database system prevents background processing. During the first hour of the problem situation, a warning message is written in the system log several times at increasing intervals. After this first hour the message is sent hourly. Once the malfunction has been corrected, the system reports that normal operation has been resumed.
- The Job Log
All messages issued by an ABAP program with the MESSAGE statement are recorded in the job log.
- Output of an ABAP Short Dump
If an ABAP program in a job step terminated abnormally, you can access the ABAP short dump from the job log by clicking on the error message.
No comments:
Post a Comment