In this tutorial, we explain the concepts of data binding in OpenUI5.
Data binding is used to bind UI elements to data sources. This keeps the data in sync and allows data editing on the UI.
For data binding, you need a model and a binding instance: The model holds the data and provides methods to set the data or retrieve it from a server. It also provides a method for creating bindings to the data. When you call this method, a binding instance is created, which contains the binding information and provides an event, which is fired whenever the bound data changes. An element can listen to this event and update its visualization according to the new data.
The UI uses data binding to bind controls to the model which holds the application data, so that the controls are updated automatically whenever application data changes. Data binding is also used in reverse, when changes in the control, for example data entered by the user, cause updates in the underlying application data. This is called two-way binding.

π‘ You donβt have to do all tutorial steps sequentially, you can also jump directly to any step you want. Just download the code from the previous step, copy it to your workspace, and ensure that the application runs by calling the
webapp/index.htmlfile.
The tutorial consists of the following steps. To start, just open the first link β youβll be guided from there.
sap/ui/core/Messaging β We enable validation for the entire app so that validation error messages are passed to Messaging and connected to the offending control. (π Live Preview | π₯ Download Solution (TS)π₯ Download Solution (JS))Copyright (c) 2026 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.