Technical Articles
How to update SAPUI5 component in XSA and how to uninstall SAPUI5 component if needed?
In this blog, I will walk you through the steps on how to upgrade SAPUI5 component in XSA.
To perform the update, there are few things we need to do:
- Make sure your VM or system is backed up in case a recovery is required
- Find out the version of the SAPUI5 version installed in the system
- Download SAPUI5 version that you need to upgrade to
- Finally performing the upgrade
- Last point is how to uninstall the existing version of SAPUI5 if needed
Locating the version of SAPUI5
- On your Linux terminal, execute this command:
su - <SID>admin
- Execute xs login ( Assuming HANA DB is running)
- Enter your Admin ID, ( i.e: XSA_ADMIN)
- Enter your password
- Select “SAP” space if asked
- Issue:
xs mtas
Downloading SAPUI5
To download the latest supported SAPUI5 version for XSA, do the following:
- Access this SAP Note: https://launchpad.support.sap.com/#/notes/2727663
- Scroll down until you see the zip file
- Click on the download button to download the SAPUI5 version
Performing the upgrade:
- Login to XSA if not already logged in. Please refer to the previous section on how to login to XSA
- Issue this command:
xs install <PATH-FILENAME-TO-ZIP-FILE>
- <PATH-FILENAME-TO-ZIP-FILE>: This is the location of the latest version of SAPUI5 that is supported in XSA which got downloaded from the previous section
- Once the installation is successful, issue this command again xs mtas and confirm the updated version of SAPUI5:
Uninstall the existing version of SAPUI5 if needed
Note: When uninstalling SAPUI5, be aware that your application will no longer work. This section here is just to show you how you can uninstall the component if it is needed.
To uninstall SAPUI5 component, do the following:
- Login to XSA. For more information, refer to the previous section that shows how to connect
- Issue this command:
xs mtas
- Find the service name of the SAPUI5. In our example in step 2, the SAPUI5 name is “XSAC_UI5_FESV5”
- Issue this command:
xs uninstall <SERVICENAME> --delete-services
- That should remove it
Resources
For more information about how to work with XSA component, please refer to the following documentation: https://help.sap.com/viewer/6b94445c94ae495c83a19646e7c3fd56/2.0.04/en-US/a9c21ff1c919441d9fdd6e7d90f63159.html
Support
- Any issues related to SAPUI5 itself should be handled by the SAPUI5 team. Root component
CA-UI5* - Any issue related to the update of the SAPUI5 within XSA, should be logged under
BC-XS-RT
Very useful article. I would like to add: You can only upgrade your XSA if there is a note released which provides the according mta-archive to update or create the UI5 service. At the time of writing these are:
Therefore: You can upgrade to 1.71 for the moment. That can change once a new note is released. Also, note 1.71 establishes a new service com.sap.ui5.dist.sapui5-dist-xsa.XSAC_UI5_FESV6.
Keep in mind to update the service bindings from v5 to v6 in your mta.yaml to the new service plan.
Thank you for the update!!!
Hello Gunter Albrecht,
Are there any new notes already available for installing newer SAPUI5 versions on the XSA? If not, is there a roadmap on this?
Thank you
Hi Kevin Balboni
I'm not aware of that. Maybe you could open a message to SAP referring to above note and ask for it? If you have a finding it would be nice if you share it in this thread for others.
Kind regards!
Hello Gunter Albrecht,
I found this interesting chat.
A new request inside Customer Influence has been opened.
Hoping to have interesting news soon!
Good one, I hope it will be picked up. I believe you can also vote for this request! I can't vote as I'm biased
Very detailed blog....thanks for the information