cancel
Showing results for 
Search instead for 
Did you mean: 

Automation of BG jobs verification

Former Member
0 Kudos

Hi All,

Need your suggestion on below requirement.

Monthly need to verify the in house jobs on SAP system(check if all the jobs are Released/Running and if cancelled take corrective action).

Is there any way or any blog on automating this.

From SM37 we can do by selecting only released and cancelled, again here we need to login to individual system.

Just need a report or any configuration steps which can pull out all the SAP* jobs from each system that are released and cancelled.

Daily an Email from system containing the list of only Released and cancelled Jobs.

Please suggest.

Regards,

Ravi

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member213275
Contributor
0 Kudos

Hi Ravi,

You can do it either through custom program or through CCMS.

1) If you want to develop a custom program then you can use table TBTCO field STATUS.

now you can send mails to whomever you want by using function module SO_NEW_DOCUMENT_ATT_SEND_API1.

2) You can also set an alert on particular job by giving mail address in define background job->spool list recipients.

http://wiki.sdn.sap.com/wiki/display/ABAP/Send+Spool+list+of+background+job+to+SAP+inbox

3) You can also get alert on failed background jobs with sapnwrfc and perl

http://wiki.sdn.sap.com/wiki/display/EmTech/How+to+alert+on+canceled+background+jobs+with+sapnwrfc+a...

4) Below link specified how to monitor background jobs.

http://wiki.sdn.sap.com/wiki/display/Basis/How+to+maintain+and+monitor+background+jobs+via+SAP

Srikanth.