2011 May 05 2:54 PM
Hi Experts,
I have requirement where I need to find out by writing a program, whether XYZ background job is running for more than 600 Secs. If any, I need to kill that background process.
Any idea how to achieve this ?
2011 May 05 3:33 PM
If you are looking for background job, you could analyze table TBTCO for records with status 'R'. then compare STRTDATE and STRTTIME to current date time, then use BP_JOB_ABORT to cancel active job.
(More complex you could select actual background process via system-functions, debug and SM30 on SM50...)
Regards,
Raymond
If you are looking for background job, you could analyze table TBTCO for records with status 'R'. then compare STRTDATE and STRTTIME to current date time, then use BP_JOB_ABORT to cancel active job.
(More complex you could select actual background process via system-functions, debug and SM30 on SM50...)
Regards,
Raymond
2011 May 05 3:19 PM
2011 May 05 3:33 PM
If you are looking for background job, you could analyze table TBTCO for records with status 'R'. then compare STRTDATE and STRTTIME to current date time, then use BP_JOB_ABORT to cancel active job.
(More complex you could select actual background process via system-functions, debug and SM30 on SM50...)
Regards,
Raymond
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |