Q
Problem solve Get help with specific problems with your technologies, process and projects.

How can I send an e-mail to users when a job fails?

I have to use SM36 for job scheduling. In case a job fails, I need to send an e-mail to a user or set of users. How can this be done? I know there is a BO BPJOB, but how are the events in this object being triggered once the job in SM36 fails? I know I can trigger workflow, but is there any other way to achieve the above functionality?

I have to use SM36 for job scheduling. In case a job fails, I need to send an e-mail to a user or set of users. How can this be done? I know there is a BO BPJOB, but how are the events in this object being triggered once the job in SM36 fails? I know I can trigger workflow, but is there any other way to achieve the above functionality?
The business object BPJOB is used in the Schedule Manager functionality, which is primarily used by the CO module. It is used as part of transaction SCMA, which allows a user to create and monitor a series of schedules used in complex processing (i.e. end of year processing). While I am in no way an expert in CO or Schedule Manager, I would suggest that this is not the functionality you are looking for.

I discussed your issue with a colleague of mine who simply suggested that you create your own periodic batch jobs...

which reads the results of the batch and then raises a workflow event if an error is found. Some business objects that may interest you are BPJOB (which you are already familiar with) as well as REPORT. I would use these objects in the workflow container when routing a work item to the users.

This was last published in November 2004

Dig Deeper on SAP workflow development

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close