Automatic Alert Notification

Use

In the monitoring architecture you can define auto-reaction methods that are automatically
executed when an alert occurs.

From Release 4.6A, you can assign the CCMS_OnAlert_Email method to the MTE classes
that are most critical in your system. You will then be informed by e-mail, fax or pager if an
alert occurs for these MTE classes, even if you are not currently working with the alert
monitor.

CCMS_OnAlert_Email can dial a pager number or send e-mails and faxes to:

· A Business Workplace user in client 000
The e-mail is sent between 0 and 5 minutes after the alert occurs and is
delivered immediately.

· A distribution list or an external e-mail address
The e-mail is sent between 0 and 5 minutes after the alert occurs, but
depending on the settings that are made in SAPconnect, there may be a
delay before delivering mails to external e-mail addresses (that is, e-mail
addresses of users who are not defined in client 000 or in the R/3 System).
As a result you should set the period of the SAPconnect process to less than
one hour.

The message text of the e-mail contains the same information that is displayed in the alert
monitor, that is, what the problem is and where it has occurred, when, and the criticality of the
alert (a red alert indicates a problem or an error, a yellow alert is a warning).

For more information, see Note 0176492 in SAPNet

Prerequisites

To page or send an e-mail or fax to more than one recipient (either an external recipient or
one in client 000), you must first create a distribution list that contains the pager number,
names and/or e-mail addresses of those recipients.

Procedure

1. Call Transaction RZ21.

2. Flag Method definitions and choose Display overview.

3. Select the CCMS_OnAlert_Email method and choose Edit data.

4. Choose Display « Change and choose the Parameters tab.

5. Fill the fields using information from the table below:
The method dispatcher is executed every five minutes for short-running methods in the
CCMS monitoring architecture that are to be executed automatically. The method
dispatcher is processed in client 000 with the system user ID SAPSYS.

Users who are defined in the R/3 System in clients other than 000 cannot be addressed
“directly” in the Business Workplace as senders or recipients and are regarded as
external recipients.

You should therefore define client-specific senders and recipients with address type R
(remote address) as the CCMS_OnAlert_Email parameters.

SENDER SAP user name of the person in whose name the e-mail is sent. If the
user is not defined in client 000, you must also specify the system and
client in which the user exists.
Example: C11:003:PARKERJ

RECIPIENT SAP user name of the e-mail recipient, or distribution list containing the
recipients’ name, external e-mail address, pager or fax number
If you want to send an e-mail automatically to an external e-mail
address, you can enter the address as the Recipient parameter value.
However, if you want to send an e-mail automatically to several external
e-mail addresses, you must create a distribution list in client 000 that
contains these “remote addresses”.

RECIPIENT-TYPE ID Enter the corresponding ID as displayed in the table in Recipient Type

If you want to define different recipients for different alerts, copy the complete method
definition of CCMS_OnAlert_Email in Transaction RZ21 (select the method and choose
Copy). Rename this copy and then assign the new method to an MTE in the monitor tree.

Leave a comment