Skip to Content
Author's profile photo Masayuki Sekihara

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.

/wp-content/uploads/2015/03/sapui5sp11_661935.png


Step 2: Download the SAPUI5 zip file from SAP Service Marketplace


http://support.sap.com/swdc

/wp-content/uploads/2015/03/swdc_661936.png

Search SAPUI5 CLIENT RUNTIME.

/wp-content/uploads/2015/03/swdc1_661952.png

Please download the 2 zip files. The latest one for 1.24.* and the latest one for 1.26.*

/wp-content/uploads/2015/03/swdc2_661953.png


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

/wp-content/uploads/2015/03/rz11_661956.png

The default value is 600. Change it to 12000.

/wp-content/uploads/2015/03/rz11_2_661957.png

/wp-content/uploads/2015/03/rz11_3_661961.png


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

/wp-content/uploads/2015/03/se01_1_661963.png

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.

/wp-content/uploads/2015/03/upload1_661979.png

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


/wp-content/uploads/2015/03/sapui51268_661980.png


Assigned Tags

      31 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      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

       

      2015-03-13 14_59_13-.png

       

      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?

      Author's profile photo Masayuki Sekihara
      Masayuki Sekihara
      Blog Post Author

      Please create a new Discussion.

      Author's profile photo Hans-Joerg Alles
      Hans-Joerg Alles

      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örgNode01.jpgNode02.jpgScreen_Final.jpg

      Author's profile photo Former Member
      Former Member

      Hi Micheal,

       

      I got the same error then I implement these below 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.

       

      Thanks,

      Vinay

      Author's profile photo Former Member
      Former Member

      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

      Author's profile photo Former Member
      Former Member

      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

      Author's profile photo Former Member
      Former Member

      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?

       

      07-08-2015 00-42-23.png

       

      thank you.

      Regards.

      Jorge

      Author's profile photo Ram Bilas Yadav
      Ram Bilas Yadav

      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.

       

      SAPUI5_LatestLibraries_UploadError_160104_.png

       

      Appreciate your help.

       

      Regards,

      Ram

      Author's profile photo Masayuki Sekihara
      Masayuki Sekihara
      Blog Post Author

      SAPUI5 library 1.32.* is for SAP_BASIS 750 and SAP_UI 750.

      Author's profile photo Ram Bilas Yadav
      Ram Bilas Yadav

      Oh ok. Thanks

      Author's profile photo Former Member
      Former Member

      How do you identify that a runtime library is for a 750 only or could be applied to an earlier version like 740?

       

      FXL

      Author's profile photo Jens Schwendemann
      Jens Schwendemann

      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

      Author's profile photo Former Member
      Former Member

      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?

      Author's profile photo Jens Schwendemann
      Jens Schwendemann

      Should be, at least I interpret the note 2227501 that way.

       

      However, I did not try myself, so YMMV

      Author's profile photo Former Member
      Former Member

      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

      Author's profile photo Jens Schwendemann
      Jens Schwendemann
      Author's profile photo Rohit Makkar
      Rohit Makkar

      SAPUI5 1.30+ is available in SAP_UI 7.50, this information is available in SAP Note 1933498.

      Author's profile photo Cliff Candelaria
      Cliff Candelaria

      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

      Author's profile photo Former Member
      Former Member

      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

      Author's profile photo Former Member
      Former Member

      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

      Author's profile photo Ning Tong
      Ning Tong

      Hello Masayuki,

       

      The SAPUI5 library updating should be done only in frontend server or both frontend+backend server?

       

      Regards,

      Ning

      Author's profile photo Masayuki Sekihara
      Masayuki Sekihara
      Blog Post Author

      only in frontend server.

      Author's profile photo Jagadeesh Vinjamuri
      Jagadeesh Vinjamuri

      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


      Author's profile photo Javed Khan
      Javed Khan

      Hi Jagadeesh,

       

      What is your SAP_UI and SAP_BASIS version?

       

      Regards,

      Javed

      Author's profile photo Haider Memon
      Haider Memon

      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

      Author's profile photo Haider Memon
      Haider Memon

      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

       

      Author's profile photo Former Member
      Former Member

      How can we upgrade the SAPUI5 library in Portal 7.5?

      Author's profile photo Masayuki Sekihara
      Masayuki Sekihara
      Blog Post Author

      Please post it as a question. https://answers.sap.com/index.html 

      Author's profile photo Holger Schäfer
      Holger Schäfer

      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

      Author's profile photo Shilpa Ambekar
      Shilpa Ambekar

      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?

      Author's profile photo Prabhat Singh
      Prabhat Singh

      Hi Masayuki Sekihara,

       

      Is there any way to back out if having any issues?