cancel
Showing results for 
Search instead for 
Did you mean: 

Sol Man 7.1 SP 7 how to change email alert subject line

Former Member
0 Kudos

Hello there,

I am using Sol Man 7.1 SP7 and have setup my production landscape for TEchnical/system monitoring
I am recieving email alerts however wanted to know if there was anyway of adjusting the subject field on the alert email.  I need to change the alert email subject title to include for example  then to append to the subject line (depending on the alert) Basis Prioirty 1,2,3 etc

Any help would be much apprciated.

Regards

Ajay

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member206167
Active Participant
0 Kudos

Hi Ajay,

    You have to implement Badi as per guide:

http://wiki.scn.sap.com/wiki/download/attachments/290979852/HOW-TO+GUIDE+OS+Command+Adapter.pdf?orig...

How-to guide: OS Command Adapter

   There you create a Badi that send you a Custom email with this available options:

[MAI:ALERT:MO_NAME] Name of the ManagedObject reporting the Alert Char 128

[MAI:ALERT:MO_TYPE] T_SYSTEM, INSTANCE, HOST, DBMS… Char 10

[MAI:ALERT:ID] Unique ID that identifies the Alert in MAI Char 32

[MAI:ALERT:DATE] UTC Date (YYYYMMDD) Char 8

[MAI:ALERT:TIME] UTC Time (hhmmss) Char 6

[MAI:ALERT:NAME] Human readable short name of the Alert Char 128

[MAI:ALERT:TECHNICAL_NAME] Technical ID of the Alert Char 60

[MAI:ALERT:DESCRIPTION] Alert Description (or Custom Description) Char 128

[MAI:ALERT:CATEGORY] AVAIL, PERFORM, EXCEPTION, CONFIGURE Char 10

[MAI:ALERT:RATING] 0:Unknown, 1:Normal, 2:Warning, 3:Critical Integer 1

[MAI:ALERT:SEVERITY] 0:Low … 5:Medium … 9:Critical Integer 1

[MAI:METRIC:NAME_PATH] Metric Name (or Metric Path for grouped metric) Char 128

[MAI:METRIC:VALUE] Metric Value and Unit (or Metric TextValue) Char 128

[MAI:ALERT:MO_ID] Unique ID that identifies the ManagedObject Char 32

[MAI:ALERT:STATUS] O:Open, I:In process, T:Transferred, C:Confirmed… Char 4

[MAI:ALERT:REASON_FOR_CLOSURE] 1:Re-configuration, 2:Work mode change, 3:Green alert… Integer 1

[MAI:ALERT:PRIORITY] 1:Low, 2:Medium, 3:High, 4:Very high Integer 1

Hope this helps

Kind regards