SAP Fiori LL19 – Steps for updating SAPUI5 libraries
Please feel free to edit this document and add your tips.
SAP Fiori Lessons Learned 19. Steps for updating SAPUI5 libraries
Background:
Updating SAPUI5 libraries was nightmare for system admins because it has to be applied incrementally from lower version .
Now, you can upload just the latest version by executing ABAP upload program.
Step 1: Check current SAPUI5 library version
http ://<server>:<port>/sap/public/bc/ui5_ui5/index.html
If the version is 1.26.1, it means old.
Step 2: Download the SAPUI5 zip file from SAP Service Marketplace
Search SAPUI5 CLIENT RUNTIME.
Please download the 2 zip files. The latest one for 1.24.* and the latest one for 1.26.*
Step 3: Change the system profile parameter rdisp/max_wprun_time
Uploading the 80-100M zip file size takes long time. You need to change the profile parameter.
Transaction: RZ11
The default value is 600. Change it to 12000.
Step 4: Apply /UI5/UI5_UPLOAD_PATCH_TO_MIME program
Setup the ABAP program by applying notes.
- 2058624 – sapui5 allow to upload patch via report. This should be already available in your system. It was delivered in SP09 and SP10.
- 2103131 – SAPUI5 Fixes for update via SMP
- 2135804 – SAPUI5 patch via SMP – better error handling
- 2118663 – Install a patch for SAPUI5 runtime libraries. This is just instruction document. Please read the steps.
- 2150275 – SAPUI5 install patch brings version error
Step 5: Create a workbench request for transport
Transaction: SE01
Copy the workbench request number to the clipboard. If you forgot the number, you can find it in the transaction SE09.
Step 6. Run the update in test mode
Transaction: SE38
Paste the workbench request from clipboard.
Upload the zip for 1.24.6 with test mode
Upload the zip for 1.26.latest with test mode
Note: It will take 1H-2H depends on your server spec. Leave the window and do other tasks.
Step 7. Run the update without test mode
Paste the workbench request from clipboard.
Upload the zip for 1.24.6 without test mode
Upload the zip for 1.26.latest without test mode
Note: It will take 1H-2H depends on your server spec. Leave the window and do other tasks.
Step 8. Apply the SAPUI5 notes
- 0002117204 SAPUI5 upgrade to version 1.24.6
- 0002128676 SAPUI5 upgrade to version 1.26.8 <- 1.26.* the latest one
Step 9. Check the SAPUI5 library version
http ://<server>:<port>/sap/public/bc/ui5_ui5/index.html
Thank you for the deeper look into upgrading the UI5 runtime. More helpful than that support OSS description.
Our back-end team upgraded the SAP server to SP11 the other day and I tried upgrading the runtime today.
I open the program, enter the location of the ZIP file, but after that I'm getting the following error:
Version in Datei ist inkonsistent 1.26.9 / Version in file is inconsistent 1.26.9
I tried it with the 1.26.6 runtime too, but had the same error.
Any recommentation on how to taggle that error for me?
Please create a new Discussion.
Hello,
i followed the node as pictured in the Attachement. Why do i have a field P_PACK and for what is it for ? I don't see it on your Screen.
Thanks a lot
Hans-Jörg


Hi Micheal,
I got the same error then I implement these below notes
Thanks,
Vinay
Hi,
thank you for the response. I created another discussion, as recommended -> Error after upload with UI5_UPLOAD_PATCH_TO_MIME - Version in file is inconsistent
And like you mentioned, installing the notes helped to fix the problems.
The SAP update process is pretty opaque and complex.
Kind regards,
Michael
Hi Masayuki
Very good post, it was really helpful.
Maybe it would be good to include other posts related to the subject, like
SAP Fiori - UI Add-on SP12 notes list, SAPUI5 library 1.28.11
so everyone can follow all the steps to upgrade SAPUI5.
Regards
Luis Becker
Hello,
thanks for sharing this.
I just would like to know why have you downloaded and uploaded the latest of both 1.24.* and 1.26.*
shouldn't it be only necessary to have downloaded and installed the 1.26.* version?
which libraries should I update in my case?
thank you.
Regards.
Jorge
Hi Masa,
Happy New Year.
I upgraded to the latest patch of SAP_UI 740 / 14 a couple of days back.
The UI5 library yet shows 1.28.13 as the latest installed version.
I want to install the latest library 1.32.9 available on the marketplace.
Followed this blog to upgrade the UI5 library, but I am getting errors. I am not sure if I am missing anything.
It would be of great help if you can guide me to install the 1.32.9 library.
Appreciate your help.
Regards,
Ram
SAPUI5 library 1.32.* is for SAP_BASIS 750 and SAP_UI 750.
Oh ok. Thanks
How do you identify that a runtime library is for a 750 only or could be applied to an earlier version like 740?
FXL
SAPUI5 library 1.32 is ALWAYS for SAP_UI 7.50.
However, you can apply SAP_UI 7.50 to NW 7.40. It then comes with library 1.3x.
See here for details http://service.sap.com/sap/support/notes/2227501
Masayuki Sekihara, correct me, if I'm wrong
Cheers
Jens
We were not able to apply SAP_UI 750 without switching Basis to 750 and NW to 7.50. Are you sure that is possible?
Should be, at least I interpret the note 2227501 that way.
However, I did not try myself, so YMMV
OK, i understand that, but what is the process to confirm that UI runtime 1.32.* is only available for SAP_UI 750? In a more general approach, what is the process to know for which NW version(s) is a UI runtime version?
Regards
FX
There ought to be a note or a blog entry about that, didn't find one specific note, though.
Here's some ressource, that could help
http://service.sap.com/sap/support/notes/2211016
https://support.sap.com/content/dam/library/ssp/infopages/pam-essentials/TIP/NW70PAMBrow.pdf
https://support.sap.com/content/dam/library/ssp/infopages/pam-essentials/TIP/NW74PAMBrow.pdf
https://support.sap.com/content/dam/library/ssp/infopages/pam-essentials/TIP/NW75PAMBrow.pdf
Cheers
SAPUI5 1.30+ is available in SAP_UI 7.50, this information is available in SAP Note 1933498.
Hi Masa,
If you go up to SAP_UI 750 will it wipe the older version of your UI5? Is there a way to retain it or add it on top of the latest version?
We have a custom UI5 desktop webapp that heavily relies on 1.28 and some of the functions used are deprecated in 1.3x.
Thanks
Hi,
Thank you for this blog. please can you tell which client we should use this report. should we use it in business client or 000?
thanks,
Ranjith
The use of the /UI5/UI5_UPLOAD_PATCH_TO_MIME report requires a Transport request. Even if it's a workbench request (means it's cross client), you should run it in the Business reference client.
Regards
FXL
Hello Masayuki,
The SAPUI5 library updating should be done only in frontend server or both frontend+backend server?
Regards,
Ning
only in frontend server.
Hi Masayuki,
when i try to upgrade the libraries to 1.28.22 version i am getting the below error " An error occured for atleat one file. any clues.
Thanks
Hi Jagadeesh,
What is your SAP_UI and SAP_BASIS version?
Regards,
Javed
Hi
When I try to upload a UI5 library using the method the program above, it works fine in the test mode, but when i run it without the test mode I get this error
00398
Placeholder for batch input error text, this message is not output.
File contains no IDs
Can anyone guide me
Hi
I found a note that solves the above issue. If anybody interested here it is
2359862 - Error "File contains no IDs" when installing a SAPUI5 patch
How can we upgrade the SAPUI5 library in Portal 7.5?
Please post it as a question. https://answers.sap.com/index.html
Hi,
maybe you can add the follow up section if someone is using a custom theme.
In this case, you need to recompile your custom theme concerning the new css file to avoid issues with the new UI5 lib.
In some situations this can be done using /UI5/THEME_TOOL but i was also sometimes forced to this this using /UI5/THEME_DESIGNER and then creating a new transport using the theme tool with the updated custom theme mime artefacts.
Regards Holger
We are moving from 1.28.14 to 1.28.45.As per change
As per change log there are certain libraries changes.
Can we still go ahead with parallel development during upgrade .
What is the guideline?
Hi Masayuki Sekihara,
Is there any way to back out if having any issues?