It is very easy to obtain the patch level of some core R/3 executables such as: disp+work, tp and r3trans.
Many people would like to know how to do this. Here, I will show you how to do it for R/3 systems running on Windows and SQL Server environments.
1. Go to the command prompt.
2. Change to the “run” directory of your SAP instance (cd \usr\sap\<SID>\sys\exe\run).
3. Run the following three commands:
dsp+work -V | find “patch number”
tp -V | find “patch number”
r3trans -V | find “patch number”
If you want to see all the release information, then do not filter for the patch number.
Now that you know how to do this, you can get creative and write a little script that reads the names of all your SAP servers from a text file and then it runs the three commands listed above. This way, you can get the patch level of all your systems by just running a script. This becomes in handy when you’re consulting or putting reports together.
See Also:
List of Frequently used procedures