天天看點

ABAP背景作業(background job)的幾種狀态Sent: Thursday, June 7, 2012 4:52 PM

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

Subject: possible status of your background job

有同僚問自己的job 始終是released沒有執行的原因。

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裡排隊等待。

RZ11裡面能看到系統最大background process number:

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

本文來自雲栖社群合作夥伴“汪子熙”,了解相關資訊可以關注微信公衆号"汪子熙"。

繼續閱讀