How to tell what SAP Enhancement Pack you are on
If you are wanting to know what SAP enhancement pack you are running on your SAP system it’s quite simple if you know where to look.
Goto Transaction SPAM
In the Directory Frame (bottom left)
Select Imported Support Packages
Click Display
Scroll down to and expand the component “SAP_AP”
SAP_AP 700 -> EHP0
SAP_AP 701 -> EHP1
SAP_AP 702 -> EHP2
SAP_AP 703 -> EHP3
SAP_AP 704 -> EHP4
SAP_AP_705 -> EHP5
Support Package number gives you the support pack you are on for that enhancement. ie EHP 0 Support Pack 22 is:
SAPKNA7022 SAP_AP 700: Support Package 0022 Imported on 01.04.2012 at 11:52:20
Just in case anybody reads this blog, I'm pretty sure this is wrong.
For example in EHP7, SAP_AP is still release 700. Instead you could look at table PRDVERS or look at Component Version SAP_APPL which is 617 in EHP7...
In a way, You are correct, you can look at table PRDVERS to find whether an EHP is installed but component wise, you want to know whether they have any enhancement packs applied, for example our HR components had enhancement packs applied and other system components did not.
SAP_APPL is Logistics and Accounting, not the application level version, If your PRDVERS table corresponds with SAP_APPL it means you have that EHP installed in your system and it is installed for logistics and accounting.
SAP_BASIS and SAP_ABA give your application versions.