While upgrading SAP system through EHPi / SUM & SAPup, we always keep our session alive to check where our tool got stuck or where it’s required user input. if you close the session and tool get stuck so your upgrade time will increase & you didn’t meet up with your deadline, we also faced the same issue. Later on we have read the SUM guide that you can set the alerting so you will get an email/sms during stuck or requires user input.
This is something tricky, however i will try to explain this in easy words.
1. Create a notepad file and save this file as .vbs ext.(example: email.vbs) and save the below contents. However you require Email address, SMTP port & SMTP server address.
Set objMessage = CreateObject(“CDO.Message”)
objMessage.Subject = “SUM Upgrade Update”
objMessage.From = “firstname.lastname@example.org”
objMessage.To = “email@example.com”
objMessage.TextBody = “SUM tool requires user inputs”
‘==This section provides the configuration information for the remote SMTP server.
‘==Normally you will only change the server name or IP.
(“http://schemas.microsoft.com/cdo/configuration/sendusing”) = 2
‘Name or IP of Remote SMTP Server
(“http://schemas.microsoft.com/cdo/configuration/smtpserver”) = “Your mail server IP address”
‘Server port (typically 25)
(“http://schemas.microsoft.com/cdo/configuration/smtpserverport”) = 25
‘==End remote SMTP server configuration section==
MAKE SURE THAT SMTP SERVICE IS RUNNING ON YOUR HOST WHERE YOU ARE GIVING THIS SCRIPT.
You can write multiple recipients in “objMessage.To = “firstname.lastname@example.org” this file separating by commas.
NO NEED TO CHANGE THIS LINE
AS TOOL AUTOMATICALLY CREATES A FILE WITH REQUIRED DETAIL & MAIL TO YOU AS ATTACHMENT.
2. Create a notepad file with .bat ext.(email.bat) and call this vbs script(email.vbs) through this file. (as upgrade tool only recognize batch file)
3. Setting in upgrade tool & Test the settings.
4. You will received email like this.
If you find any difficulty while configuring alert setting, you can reach me at adil(at)adilfahim.com.