on 03-11-2015 7:12 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So I have to wait till we are on Sp12.
Any other idea, which I might use without the parameters?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.