I start with the assumption that CCMS is configured for the XI system. If not XI : Configuring CCMS Monitoring for XI- Part I.
Configuring the Monitoring Tree Element with CCMS_OnAlert_Email:
Execute Transaction RZ21
Click on Technical Infrastructure
Activate Central System Dispatching in client 000.
In the Methods group box choose Method Definitions and click on overview.
Choose the method CCMS_OnAlert_Email from the list and make a copy of the method
We can use zCCMS_OnAlert_Email for configuration and let CCMS_OnAlert_Email remains as a template.
To assign this method to the monitoring node , execute transaction RZ20
Go to Methods tab
Click on the Method Assignment pushbutton
In Method Allocation group box choose Method name as zCCMS_OnAlert_Email
Double click on the MTE class and assign zCCMS_OnAlert_Email as Auto-reaction method.
Double click on zCCMS_OnAlert_Email method in order to mention the sender and recipient information.
Sender is a user existing in client 000 with sufficient authorization.
In Release tab execute method as Auto-Reaction Method.
Execute transaction SICF in client 000.
Double click on the SAPConnect and give the log on parameters of the work around client.
Execute transaction SCOT for creating configuring SMTP and creating new job.
Below mentioned two addresses is the recipient list in the address area.
Double click on SMTP to configure the mail server
Set the entries and now SMTP is configured.
Then create job in the screen and schedule it periodically.
Now when an alert occurs , the auto reaction method zCCMS_OnAlert_Email is triggered which generates an alert Email from the senders inbox to the recipient and the Email will be put in a queue and the job which we created picks up all the Emails in the queue and dispatches them via internet in the scheduled interval.