cancel
Showing results for 
Search instead for 
Did you mean: 

SAP GUI get client version information

Former Member
0 Kudos

Sorry I am new to SAP but I need to gather information about the installed SAPGui Version and loaded Modules.

I know there is a dialog at saplogon (about-...) where I could export the information to file. That is exactly the result that I need.

Is there any possibility to do this via Command Line (DOS Box) or whatever? Something like saplogon -version >> C:\SAPVerison.txt?

Or are there any registry keys (that I missed yet) where I can find SAPGui version?

Or is there another solution to gather information about version and loaded Modules?

Thanks Frank

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Frank,

Check with this link it will show step by step process.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4117be90-0201-0010-e793-9ca5ce41...

rewards points if it is useful.

Regards,

kishore

Former Member
0 Kudos

Sorry but this document can't help me.

I found this already in some other threads but a normaly client doesn't have something like SAPSetup.exe. So is there a possibility to get same information like in SAPLogon from About/Loaded Modules etc. over command line or other tool?

I know that I could start MSINFO32 and read the loaded modules (need to start SAPLogong as new process). There is a list under "Software/Loaded Modules". That is almost the same but if there is a way to get the information to "dos box" or export to file it would be extremly helpful...

As background, all that need to be done by a Java Application which runs on the client machine. Maybe there is a Java library to get information from client system?

holger_mundhahs
Explorer
0 Kudos

Hi Frank,

please check note 526199 "Determining installed front-end version with command line", there are some VB-Scripts to get the version's.

You can reroute the output to a text file and then parse it with java.

Regards

Holger

Former Member
0 Kudos

Ok thanks for your reply!

For all other SAP noobs but good developers... here what I did (maybe it can help you?)

Search for note 526199 at SAP service website (you need a account to do that) and scroll to bottom. Download the different files. For me the SAPVER.exe worked well, check out your requirements.

I wrote a batch file:


@ECHO OFF

::======================================
:: get SAP GUI release information
::======================================
START /WAIT SAPVER.exe /gui /release 
echo SAP Graphical User Interface Release = %ERRORLEVEL%

START /WAIT SAPVER.exe /gui /patchlevel 
echo SAP Graphical User Interface Patchlevel = %ERRORLEVEL%

START /WAIT SAPVER.exe /gui /compilation
echo SAP Graphical User Interface Compilation = %ERRORLEVEL%


::======================================
:: get SAP BW release information
::======================================
START /WAIT SAPVER.exe /bw /release
echo SAP BW Release = %ERRORLEVEL%

START /WAIT SAPVER.exe /bw /patchlevel 
echo SAP BW Patchlevel = %ERRORLEVEL%

START /WAIT SAPVER.exe /bw /compilation
echo SAP BW Compilation = %ERRORLEVEL%


::======================================
:: get SAP Setup release information
::======================================
START /WAIT SAPVER.exe /setup /release
echo SAP Setup Release = %ERRORLEVEL%

START /WAIT SAPVER.exe /setup /patchlevel 
echo SAP Setup Patchlevel = %ERRORLEVEL%

START /WAIT SAPVER.exe /setup /compilation
echo SAP Setup Compilation = %ERRORLEVEL%

From ie. Applet you need to download stuff from webserver and copy it to local Client (you need certified Applet) and run batch file. Then parse output and you got basic information about Versions.

If you need more detailed stuff like loaded libraries you need to run a saplogon.exe process (you get the dir from registry). Then execute something like "cmd /c start /wait msinfo32.exe /categories ComponentsDisplayInternetExplorer /report C:\details.txt" (search google for detailed command line options of msinfo32) to export details to a file. You need to parse this and then you got all information like SAPLogon GUI can provide.

Greetings

Frank

Answers (0)