Skip to Content
avatar image
Former Member

Migrate sap ui5 appsfrom sap.ui.commons to sap.m

Hello experts,

How to migrate sap ui5 apps that are built on libraries like sap.ui.commons,sap.me to sap.m and other libraries that are not deprecated?

Should the apps be rebuild again from scartch?

or

We can edit the existing controls that are used in the app like, matrix layout

and forms that are used from sap.ui.commons library to

layouts and forms in sap.ui.layout library and other controls as well and replace them with sap.m controls.

Thank you :)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Aug 18, 2017 at 02:27 PM

    Aditya,

    very good question.. I do not think there is a 1 to 1 match on your controls. there may be controls, properties and events which are not the same on both libraries (sap.ui.commons and sap.m) it really depends on what your app does/ what is the content of your application.

    if you are going to migrate, consider using the XML views (sap.m controls) as recommended by SAP. there may be a lot of similarities if you correctly used MVC, etc.

    maybe you need to do a comparison of the controlls (sap.ui.commons) and see if you see the equivalent controls on the sap.m library.

    here is some documentation where you can find the responsive controlls. https://sapui5.hana.ondemand.com/explored.html

    good luck!

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 18, 2017 at 04:34 PM

    You will have to manually, map the controls in commons library to the target library(m or me) and then run the application.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 25, 2017 at 01:52 AM

    i wrote a few lines on things to look for, https://blogs.sap.com/2017/08/25/pointers-while-updating-sapui5-version/

    hope this is helpful for you

    Add comment
    10|10000 characters needed characters exceeded