You are on page 1of 16

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.

com
2011 SAP AG 1
Automatic Mail Distribution for
Failed Process Chain
Applies to:
BW 3.5, BI 7.0 and above version. For more information, visit the EDW homepage.
Summary
Automatic mail distribution for the failed process chain to the concerned users.

Author: Sajid Eqbal Khan
Company: Patni Computers
Created on: 24 February 2011
Author Bio
Sajid Eqbal Khan is working with Patni Computer. He has 4.10 years of full time experience in SAP
BI Intelligence 7.0.

Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 2
Table of Contents
Introduction ......................................................................................................................................................... 3
Create Distribution list - SBWP / SO23: ............................................................................................................. 3
Configure SAP Connect in Transaction SCOT ................................................................................................... 6
Make a Copy of CCMS Auto Reaction Method in RZ21 .................................................................................... 7
Maintain this Method in the Properties of the MTE under BI Monitoring Monitor set in RZ20 ......................... 10
Related Content ................................................................................................................................................ 15
Disclaimer and Liability Notice .......................................................................................................................... 16

Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 3
Introduction
This document describes the step by step approach to configure the mail services to the concerned recipient
if some process chain fails. This is very important in the data load monitoring activity for SAP BI Production
support.
Create Distribution list - SBWP / SO23:
Execute Transaction SBWP/SO23:


Go to environment and select Distribution List:

Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 4
A new window would be displayed. Here you need to click on the create button to create a distribution list:


Give the name of the distribution list as per your choice and the title of it in the attribute tab. Now you have to
create a folder to store the distribution list and then click on the Distribution list content tab.

Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 5
List the concerned users id in the recipient column and choose Internet address in the column Receipt type.


: Tick it if you want to send the mail as To.

: Tick it if you want to send the mail as CC.

: Tick it if you want to send the mail as BCC.


Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 6
Configure SAP Connect in Transaction SCOT

Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 7

Make a Copy of CCMS Auto Reaction Method in RZ21
It is meant for sending out email notifications and maintaining parameters.
Run the transaction RZ21.
Click on the display overview button in the Method block.

Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 8
Now search for the mail services, you can search it by following the below step:

It will display the results: you need to choose the relevant mail service: CCMS_OnAlert_Email.

Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 9
Now select the job and click on the copy button:


Note: Here you are creating a customized mail service by copying the standard mail service. If you are having one
process chain for that you want to intimate user then you make a single copy of it, if you are having more than one
process chain then create same number of copy for the available number of process chain for which you want to
send the mail.

Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 10
Maintain this Method in the Properties of the MTE under BI Monitoring Monitor set in
RZ20
Execute the transaction RZ20:

Expand BI Monitors and double click on BI Monitor.
Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 11
It will list you the process chain names:

Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 12
Select the process chain for which you want to send the mail and click on properties.
Here in our case we have taken One Ztest process chain for example:

Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 13
The below window would be displayed:

Click on the Methods tab:
Provide the copied mail service name in the Auto reaction method filed: ZCCMS_OnAlert_Email and Save
it.
Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 14

This completes the setup for the mail service. From here onwards if the process chain fails then system
automatically sends the message to the concerned users.
Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 15
Related Content
Send Alerts for Process Chains
if process chain has been aborted
Thread: send sms when bi process chain failed
How to send SMS if process chain got failed
For more information, visit the EDW homepage
Automatic Mail Distribution for Failed Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2011 SAP AG 16
Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not
supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,
and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or
code sample, including any liability resulting from incompatibility between the content within this document and the materials and
services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this
document.

You might also like