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

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

Subject: possible status of your background job

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

ABAP后台作业(background job)的几种状态_第1张图片

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)的几种状态_第2张图片

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

ABAP后台作业(background job)的几种状态_第3张图片
ABAP后台作业(background job)的几种状态_第4张图片

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

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

你可能感兴趣的:(ABAP后台作业(background job)的几种状态)