且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ABAP后台作业(background job)的几种状态

更新时间:2022-09-06 22:39:43

Sent: Thursday, June 7, 2012 4:52 PM

Subject: possible status of your background job

有同事问自己的job 始终是released没有执行的原因。

ABAP后台作业(background job)的几种状态

Job所有可能的状态:

  • Planned - Steps that make up the job have already been defined, but the start condition has not yet been defined. – 我们是schedule 成start immediately,所以我们的job永远不会出现这种状态
  • Released - The job has been fully defined, including a start condition.
  • Ready - The start condition of a released job has been met. A job scheduler has put the job in line to wait for an available background work process.
  • Active - The job is currently running. Active jobs can no longer be modified or deleted.

所有的background job都是由background processor执行的,如果你在SM50里面看到当前没有free的BGP了,那么你的job只能在queue里排队等待。

ABAP后台作业(background job)的几种状态

RZ11里面能看到系统最大background process number:

ABAP后台作业(background job)的几种状态
ABAP后台作业(background job)的几种状态

  • Finished - All steps that make up this job have completed successfully.
  • Canceled - The job has terminated abnormally.

本文来自云栖社区合作伙伴“汪子熙”,了解相关信息可以关注微信公众号"汪子熙"。