ABAP後台作業(background job)的幾種狀態
- 2020 年 2 月 19 日
- 筆記
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.

