Skip to Content

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


To report this post you need to login first.

30 Comments

You must be Logged on to comment or reply to a post.

  1. Michael Klopf

    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?

    (0) 
      1. 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

        (0) 
    1. User Uss

      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

      (0) 
  2. Jorge Monteiro

    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

    (0) 
  3. 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

    (0) 
          1. Francois Xavier Levy

            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

            (0) 
            1. Jens Schwendemann
              (0) 
      1. 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

        (0) 
  4. Ranjith Jacob

    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

    (0) 
    1. Francois Xavier Levy

      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

      (0) 
  5. Ning Tong

    Hello Masayuki,

     

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

     

    Regards,

    Ning

    (0) 
  6. 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

    (0) 
    1. 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

       

      (0) 
  7. 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

    (0) 
  8. 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?

    (0) 

Leave a Reply