Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
patelyogesh
Active Contributor

Setting up SMS/Email Alerts in SUM Tool in MS WINDOW


 

Steps below is Showing you how to configure SMS and Email ALERT in SUM tool.

Once it is configured, SUM will send a email/SMS to the configured email ID and SMS when the SUM tool is waiting for user input.

 

Pre-requisites:


 

 


Steps:


 


1. Create VB script (Alert.vbs) and place it in a location that can be accessed by SUM


Set objMail = CreateObject("CDO.Message")

Set objConf = CreateObject("CDO.Configuration")

Set objFlds = objConf.Fields

objFlds.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPort

objFlds.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "Your SMTP Server" 'your smtp server domain or IP address goes here

objFlds.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 'default port for email

'uncomment next three lines if you need to use SMTP Authorization

'objFlds.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "your-username"

'objFlds.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "your-password"

'objFlds.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'cdoBasic

objFlds.Update

objMail.Configuration = objConf

objMail.From = "email From "

objMail.To = "exampleemail@servername.com, examplephone@servername.com"

objMail.Subject = "SUM is Waiting for User Input"

objMail.TextBody = "Please Check SUM"

objMail.Send

Set objFlds = Nothing

Set objConf = Nothing

Set objMail = Nothing

 

Note: Save this file with file extension .VBS

 

2. Create the BAT (SendAlert.bat) file and place it in a location that can be accessed by SUM


X:\usr\sap\SID\SUM\SUMalertscript\Alert.vbs

 

3. Test the script


- verify the script can run without errors


- ensure you receive the email/SMS when you execute the script




4. Configuration in SUM tool (screen shot attached)


4.1. Launch SUM tool


4.2. select SUM tool ==> Select Alert ==> Alert Info



4.3. For "Program" select the script that you created SendAlert.bat


4.4. Leave "Alert File" default value or You can create file as you want with text in it


4.5. Set "Alert Delay" (default 500s)


4.6. Test the alert mechanism works by clicking the "Test" button


     - clicking the test button will call the script you prepared in step 1


     - so this should trigger an email alert


4.7. Ensure the "Set Active" check-box is checked


4.8. Press OK





Ref: Setting up Email Alerts in SUM Tool




More information on new SUM tool 1.0 SP16



Since new SUM tool (SP 16) allow multiple logins in to interact with tool for : Update of SAP Systems Using Software Update Manager (ABAP+Java Systems) and Update of SAP Systems Using Software Update Manager (ABAP Systems).

 

If you go to guide :

Update of SAP Systems Using Software Update

 

Software Update Manager 1.0 SP16

Technology: Java

Platform: Windows

Database: MS SQL Server

 

Page number : 98

Section : 7.4.6 Using the Alert Function

PS: Alerting is available as :Update of SAP Systems Using Software Update Manager (Java Systems)


For new version of SUP please look document below

https://blogs.sap.com/2017/03/01/software-update-manager-1.0-sp19-mailnotifier-for-abap/comment-page...
12 Comments
Labels in this area