cancel
Showing results for 
Search instead for 
Did you mean: 

Technical Monitoring - Suppress Mail-Notification in status CLOSED

Private_Member_19084
Active Contributor
0 Kudos

Hi experts,

I've activated the function, that mails also get send on status-changes to "CLOSED".

I did expect, that a status is only changing back to closed, when it is chagning back to green - was a missunderstanding.

Because, I also get the mail, when a status is changing from yellow->red, because SAP meaning is, that yellow is closed.

Now I would like to suppress the Mail, which is send for yellow.

I found the badi ALERT_REACTION, which I already use to change the subject of an email.

However, I've now idea, how I can avoid the mail-sent therein.

I tried to delete recipientlist, but no effect.
I also tried to add a dummy-mail to reciepient, also without effect, as it is only an ADDITIONAL recipient-list.

So my question is, does anybody know, how I can avoid dynamically that mails get send, based on status+alert rating?

Kind regards

Accepted Solutions (1)

Accepted Solutions (1)

dominik_kastner
Participant
0 Kudos

Hi Christian,

method "GET_NOTIF_CONF_FOR_ALERT" has some parameter, which seems to be suitable for you:

E_SUPRESS_EMAIL

E_SUPRESS_SMS

Example :


IF io_alert_object->IF_ALERT_CONSM_OBJECT~GET_RATING( ) = '2'.

 

E_SUPRESS_EMAIL = 'TRUE'.


ENDIF
.



Private_Member_19084
Active Contributor
0 Kudos

Hello Dominik,

I am on SP8 and only have the following.

Which SP are you talking about?

EP_EMAIL_TEXT_TYPE

ET_SYS_BP_RECIPIENT_LIST

ET_EMAIL_SMS_CONTACTS

E_EMAIL_TEXT

E_SMS_TEXT

E_EMAIL_SUBJECT

ET_ATTACHMENTS

EV_SENDER

dominik_kastner
Participant
0 Kudos

I am on SP12.

IO_ALERT_OBJECT

IV_XML

EP_EMAIL_TEXT_TYPE

ET_SYS_BP_RECIPIENT_LIST

ET_EMAIL_SMS_CONTACTS

E_EMAIL_TEXT

E_SMS_TEXT

E_EMAIL_SUBJECT

ET_ATTACHMENTS

EV_SENDER

E_APPEND_ATTACHMENT

ET_EMAIL_IDS

ET_SMS_NUMBERS

E_OVERWRITE_EMAIL_SMS

E_SUPRESS_EMAIL

E_SUPRESS_SMS

Answers (1)

Answers (1)

Private_Member_19084
Active Contributor
0 Kudos

So I have to wait till we are on Sp12.

Any other idea, which I might use without the parameters?