SAP Batch Job 备注

Relevant t-codes:
SM36: Create job
SM36WIZ: Create job with wizard
SM37: Job Overview: release scheduled job, display Job logs and steps, etc.
SM21: System Log.
ST22: ABAP runtime error, here it is used to find error info of background program
SP02: Display background report output which is outputed by WRITE statement.

Relevant FMs:
1. JOB_OPEN: Define a job
2. JOB_SUBMIT: Append program, external command or external program to the job.
          =>Job Status: "Scheduled".
3. JOB_CLOSE: Release a job. You can let the job run immediately, or run in specific start data & time, or after which event or job.
          =>Job Status: "Released"
4. SHOW_JOBSTATE: Get job status
5. BP_JOBLOG_READ: Read job log into an itab

We can find other useful FMs in Function Group: BTCH

Attachment is a simplified example.

 

Job Status in Batch Job Processing
R - Running
Y - Ready
P - Scheduled
S - Released
A - Canceled
F - Finished
Z - Active

More about Batch Job or Background Processing please refer to: http://help.sap.com/saphelp_nw04/helpdata/en/6f/08703713bf277ee10000009b38f8cf/frameset.htm

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值