2020 Jul 30 12:34 PM
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
2020 Jul 30 1:15 PM
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.
2020 Jul 30 1: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.
2020 Jul 30 2:50 PM
Please use the COMMENT button for comments, questions, adding details, replying to OP comment, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.
2020 Jul 30 2: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)
https://wiki.scn.sap.com/wiki/display/SI/Monitoring+Work+Processes+in+the+CCMS+Infrastructure
2020 Jul 30 6:03 PM
Thanks Frederic for your valuable input with respect to CCMS process. But could you please provide me the complete process steps (Configuration steps) for RZ20 to achieve rhis requirement. Requirement is if background job getting failed then mail should be triggered to respective person in standard sap syatem. (Mail id - facebook.raj22@gmail.com)
Thanks and regards
Varun
2020 Jul 31 6:26 AM
Use your favorite Internet Search tool with keyword like SAP CCMS JOB ....
ex of result:
http://www.saptraininghq.com/how-to-monitor-your-background-jobs-with-ccms-in-sap-systems/
2020 Jul 30 2:51 PM
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.