What Is the Order in Which an Application Executes in SAP UI5?


Here is the order in that an SAP UI5 application executes. The list shows in what order the application invokes each code. In bold are the respective application files of the execution steps.

Here is the lifecycle of a controller in SAP UI5.

And here is the lifecycle of a control in SAP UI5.

  • start of the application (index.html)
  • load UI5 resources
  • index’s bootstrap loads component (component.js)
  • component loads descriptor (manifest.json)
  • component creates models defined in the descriptor
  • execute component’s init function
  • component’s init function executes parent UIComponent’s init function
  • parent UIComponent’s init function creates manifest’s router
  • parent UIComponent’s init function creates manifest’s root view (view1.view.*)
  • root view creates root control
  • component’s init function initializes router
  • router create other necessary views
  • each view loads corresponding controller (view1.controller.*)
  • each controller executes init function
  • router places views in root control
  • models are available in the views
  • evaluate view’s bindings
  • retrieve model data
No Comments

Get A COMPLETE SAP Modules Overview infographic (free)

Plus, receive for free SAP tips & insights and all future infographics that are only shared with the private newsletter subscribers. 

Complete SAP modules/components overview infographic.
Latest Poll
Essential Ressources

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.