System Alert monitoring using CCMS
=======================================
1. Execute RZ20
2. Expand SAP CCMS Monitor Templates
3. Double Click on Entire System
4. Expand the <SID>
5. Expand "Application Server"
6. Expand "R3 Services
7. Expand Background
8. Select and Check mark "Abortedjobs"
9. Click on Properties from top panel
10. Click on Methods
11. You will System analysis method has some value in it
12. Click on Method Assignment button
13. Click on "Auto Reaction Method button again
14. Click on Change button or pencil button from top
15. Select Method name from Method Allocation tab
Provide a method name like if you want the message to be sent
automatic to your mail id.
I am taking here "CCMS_OnAlert_Email" which send the mail if any
BAckground job fails
16. Save it
17. Leave the data collection method as it is for now
18. come back to RZ20 window now
Specifying mail ids From and To address. Follow the steps below
19. Select the Item Aborted job again
20. Click on Properties
21. You see in auto reaction method "CCMS_onAlert_Email". Double
click this
22. In the next page change button from top left corner
23. Click on "parameter" bttuon
the parameter button can be filled up as below.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Use a valid user name in client 000 in the following examples for
<ADMINUSER>. Do not specify a system ID or
client.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Example 1:
Parameter name Parameter value
1. SENDER <ADMINUSER> (in client 000)
2. RECIPIENT OPERATOR1 (in client 000)
3. RECIPIENT-TYPEID B
4. TIME_ZONE <Time zone> (optional)
Example 2:
Parameter name Parameter value
1. SENDER <ADMINUSER> (in client 000)
2. RECIPIENT ABC:007:OPERATOR1
3. RECIPIENT-TYPEID R
4. TIME_ZONE <Time zone> (optional)
Example 3:
Parameter name Parameter value
1. SENDER <ADMINUSER> (in client 000)
2. RECIPIENT DistributionListIn000
3. RECIPIENT-TYPEID C
4. TIME_ZONE <Time zone> (optional)
Example 4:
Parameter name Parameter value
1. SENDER <ADMINUSER> (in client 000)
2. RECIPIENT DistributionListIn000
3. RECIPIENT-TYPEID P
4. TIME_ZONE <Time zone> (optional)
Dont change the RECIPIENT-TYPEID now because it is taken as per your
system configuration
Example 5:
SENDER RDAS
RECIPIENT
rd...@timberland.com
RECIPIENT-TYPEID P
Now click on Save.
24. In order to recieve mail from and to the internet mail ids , you
SAP mail thru SAPconnect (SCOT) should
work fine or should have configured
25. You can test your mail send/receive using tcode SBWP . Create a
mail and send it to your corporate id or
SAP login id
26. Check if you are receving message or not
27. IF your message stays in Outbox, you have to start the send
process from tcode SCOT
28. SCOT- Utilities ->Start send process
29. If you want to automate your email process i.e if you want this
send process to run frequently then you
have to schedule a background job in the system using following method
29. a. For the SENDER user entered in RZ21, (<ADMINUSER> in the
examples above), in transaction SU01 you must
enter a <sourcesystem(C11):000:<ADMINUSER> RML address under
'Other communication...'.
If you want to send mails to an Internet address, you must
enter an Internet address in SU01.
If you have an userid in 000 client then you can use urs or you
can use some common user id other than
SAP* and DDIC
b. In transaction SM59, you must configure an RFC connection from
the source system (C11) to the target
client/target system of the user who is meant to receive the
mail. Make sure that you are logged on to
the 000 client when you are creating this destination.
With Internet mails, you must define a TCP/IP destination for
the computer, on which the SAP Internet
Mail Gateway is installed.
Default RFC will be there to your target client in the same
system. Else create a RFC for the target
client using the same server information and user in the target
client.
c. C11: In transaction SCOT, you must create RML nodes (mail in
other clients/other R/3 System) or INT
nodes (mail to Internet address).
Make sure that you are logged on to the 000 client when you are
creating nodes in transaction SCOT.
If your INT / SMTP is configured then RML may not be required.
d. Schedule a send process (report RSCONN01) as a periodic
background job in the target client or target
system.
(SCOT -> View -> Jobs).
e. You must create a CPIC user with a S_A.SCON profile in the
target client/target system. This is
required for the SAPConnect communication.
If you have an user with SAP_ALL profile then you will be
all set.
30. Now repeat the step 25 and see if you are able to get the mails
now. In SCOT also check your default
domain is set perfectly.
31. Now you generate some kind of job failure in SM37 by creating some
job which will not be success in SM36
32. Now check whether you recieve the mail or not.
33. Play around with RZ21 , RZ20 , SCOT, SBWP tcodes .
You will be able to figure it out.
For your reference , the following notes are recommended
SAP notes: 176492, 617547, 511697, 502959, 110368