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: 
AndreNunes
Explorer

Recently I was involved in a SAP SCM 7.0 upgrade using Software Update Manager (SUM) 1.0 SP16 (PL6). This SUM version lacks the functionality of alerting whenever the upgrade stops waiting for input. Instead of standing for hours staring to the tool, I developed a Windows script (Microsoft (R) Windows Script Host) that monitors the existence of the SUM\abap\tmp\upalert.log file.

The script is available at https://github.com/andrecastronunes/SAP-checkSUM


Usage:

C:\cscript checkSUM.vbs -file|-f <path\upalert.log> [-smtp <SMTP server>  -to|-t <semicolon separated e-mail addresses> -from <e-mail address>] [-verbose|-v]

C:\cscript checkSUM.vbs [-help|-?]

The file parameter is the upalert.log that is created whenever SUM stops waiting for input. For example, X:\usr\sap\SUM\abap\tmp\upalert.log

A log called X:\usr\sap\SUM\abap\tmp\upalert.log.TXT is created with all the stops and starts.

Example:

SUM stopped;18-05-2016 10:45:10

SUM running;18-05-2016 10:45:46

SUM stopped;18-05-2016 10:47:27

SUM running;18-05-2016 10:54:39

SUM stopped;18-05-2016 14:51:49

This script should run at certain intervals in background.

To avoid a command prompt window from showing up, the attached script runHidden.vbs can be used.

2 Comments
Labels in this area