cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic email when an alert occurs

Former Member
0 Kudos

Hello!

We would like to automatically send emails in case of specific aborted jobs.

Therefore we set the parameters for the CCMS_OnAlert_Email method via RZ21 > Method definitions.

(according to SAP note 176492).

We configured SAPConnect and would like to send mail via SMTP (SCOT settings are set properly)

external mail address.

Example 1:

1. SENDER <ADMINUSER> (in client 000)

2. RECIPIENT OPERATOR1 (in client 000)

3. RECIPIENT-TYPEID B

We set therefore for the user OPERATOR1 (client 000) a valid Mail adress.

Unfortunately no mail can be send with with settings.

Can some one describe the mapping of recipient user within method definition (OPERATOR1) and their external mail adress within SU01 in order to get mail in case of alerts?

Thank you!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Note 176492 mentions to enter the Internet(external) mail address for the user in SU01 -> Communciation section.

Set E-Mail as external address.

Regards,

Srikishan

Former Member
0 Kudos

Hello!

Many thanks for your reply.

Our method definition within tcode RZ21 looks as follows:

1. SENDER <ADMINUSER> (in client 000)

2. RECIPIENT OPERATOR1 (in client 000)

3. RECIPIENT-TYPEID B

Within SU01 we set for the user OPERATOR1 a valid Mail address (type: INT).

Unfortunately no mails can be send to the OPERATOR1 mail accountu2026

Is this right configuration?

Former Member
0 Kudos

Hi Tom,

Ideally the SU01 mail settings should be enough.

Maybe you could check if the SCOT settings are fine for mail flow.

Another alternative to isolate the problem:

Set as RECIPIENT <valid e-mail ID> and check if the mail is being sent directly to the ID.

Regards,

Srikishan

JPReyes
Active Contributor
0 Kudos

Can you see the mails reaching SOST?... If the mails are been triggered and they cannot be sent then is most likely an issue with your SCOT config.

Check that your can telnet port 25 on the mail server and that the IP of your SAP system is populated on the SMTP Relay agent.

Regards

Juan

Former Member
0 Kudos

Hello!

I do not have any SCOT problems.

When I directly set the user's mail into method definition (RZ21) then everything is ok.

Unfortunately we have a other user who has a very long mail address and this mail address does not suit into method definition (RZ21), but only into SU01.

Perhaps I should try to experiement to change communication type within SU01 (RML, INT, etc.)???

Thank you!