I wanted to upgrade my SAPUI5 library from 1.28.1 to 1.28.6 to solve a Fiori Performance related issue and ended up figuring out the puzzle of SAPUI5 versions, Patches and SAP_UI component SP Levels. I thought of sharing this learning here.
Version and Patch
First find the SAPUI5 version you currently use. This discussion describes several way to do that. Let us say it is 1.28.6. This is how to decode it.
1 is Major Version
28 is Minor Version and
6 is a Patch
“Major” and “Minor versions” can bring in new features, but “Patch” can bring in only bug fixes.
This is the software component that gets you SAPUI5 library on your Gateway server. Each SP level corresponds to a Version of UI5 library. It does not specify the Patch though. To find out the link between SAP_UI SP level and SAPUI5 version, you need to look at the help document of the SP level.
SAP_UI SP10 corresponds to version 1.26
SAP_UI SP12 corresponds to version 1.28
When you install SP12, you get SAPUI5 1.28.1 . ‘1’ is the default and initial patch you get.
How to get to the latest Patches?
Once you have the right version by applying support packs, you upgrade the Patch by applying SAP Notes. Look at SAP central note 2118663
When you scroll down you see this.
If I need to upgrade to 1.28.8, I need to apply 2176638. If I need 1.28.6, then I need to apply 2169529.
SAP Note 2118663 also describes how to apply these notes.
When you upgrade to latest Patches, SP level of SAP_UI will still be 12, and just by looking at SAP_UI SP level, you cannot find out the Patch level.
Update: The current recommended way of applying a SAPUI5 patch is by running a standard report. For details see SAP Note 2058624.
Copying SAPUI5 Developer Center community.
Hope it was useful. 🙂