Quantcast
Channel: SCN : Document List - SAP NetWeaver Administrator
Viewing all articles
Browse latest Browse all 273

Checking SUM status

$
0
0

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.


Viewing all articles
Browse latest Browse all 273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>