Skip to Content

Mail triggering while any background job failed

Hello Experts,

I want to configure the mail in SAP STANDARD SYSTEM in such way if any background program has been failed due to any reasons then system should trigger a mail to respective person. Already i gone through so many blogs regarding this requirement but still i have not found any concrete way out. Even i would like to configure it by standard way without using any Z- Customizing.

So Experts, could you please share your thoughts regarding this.

Thanks & Regards

Varun Kumar

Add a comment
10|10000 characters needed characters exceeded

  • You may configure that with Alert Management for CCMS. I can't tell you more. I guess it has been discussed in other posts in the Web, and in the SAP Library.

  • Hi Varun,

    I am not sure how you can achieve it without custom programming. However, you can create a custom program running at regular interval in background with below logic:

    1. Fetch details of background jobs from SAP tables TBTCP -Background Job Step Overview and TBTCO - Job Status Overview Table.

    alternatively, you can use the following FM to get job details:

    GET_JOB_RUNTIME_INFO - Reading Background Job Runtime Data

    2. In case of batch error or job fail status, write code to send mails to respective users.

    I hope this will help.

Related questions

2 Answers

  • Posted on Jul 30, 2020 at 01:28 PM

    This kind of things should be done with CCMS (it could have been replaced by something else, I play with that in ECC)

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 30, 2020 at 12:25 PM

    Thanks Devarshi for your prompt response.

    Actually i am just searching is any way available in Standard SAP system to achieve above requirement. Initially i thought to achieve it through SM36 but here i could not able to trigger mail if any job is getting failed.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.