Data binding is the process that establishes a connection between the user interface and the business logic. It acts as a bridge between the binding target and the binding source.
Table of Contents
There are basically three different binding methods in SAPUI5:
The table below shows which models support the binding types mentioned above.
For example, consider the following data.
Now, in the UI code, we have a layout that will display the above data. During data binding, we don't need to specify the full path for child controls as shown below.
Thus, element binding allows relative binding of all children according to a parent.
This is simply binding between the control and the model. It allows for automatic initialization and updating of data.
We use the value property to bind data to the input field, and we can access it by providing the path of the model to be bound.
If we want to display our data in a table or list format, we can use aggregation binding.
In this example, we use the <items> property of the List control to bind data, but the StandardListItem control works as a template.
If we need some calculation or some kind of comparison on our model data, it is useful to use expression binding. For example, we can update the numberState property as follows:
Models and data binding are used in SAPUI5 applications to bind two data or information sources and synchronize data. SAPUI5 applications support different types of models. Since the JSON model provides much better performance compared to XML models, its usage is more preferred.
SAP Consulting Services
SAP Fiori Consultant
Comparison of SAP Integration Suite Service Plans
SAP Integration Suite is an integration platform that offers comprehensive functions for businesses to quickly and securely integrate their existing...
SAP GTS – SAP EWM Integration (Outbound Processing)
After the outbound delivery gets created in SAP ERP and distributed from ERP to SAP EWM side, GTS-related PPF action which is the main communication...
Delayed Delivery Update for EWM Inbound Deliveries
Business Example When the final putaway is done for material for inbound delivery, there can be a need to take the reverse of the goods receipt....
What is SAP Signavio Process Manager?
Signavio Process Manager is an SAP Signavio module that offers intuitive, cloud-based, professional process modeling. SAP Signavio Process Manager...
Main Features and Benefits of SAP TM
In today's globalised and rapidly increasing technology, competing with competitors has become more challenging than ever. In such a business world,...
Slotting Process in SAP EWM
What is SAP EWM? SAP Extended Warehouse Management (SAP EWM) is a warehouse management solution that includes additional functions to the SAP WM...
E-Transformation Regulations in Turkey
With the technological developments in recent years, organizations in the public or private sector carry their financial process controls to the...
What is Cloud Computing?
Technological innovations have revolutionized business life. One of these innovations is the concept of "Cloud Computing". Although it is gaining...
The Way to Customise Your Products with SAP Variant Configuration
Today, customers want to customise products according to their preferences. For example, when purchasing a computer, they may want to choose the...
Your mail has been sent successfully. You will be contacted as soon as possible.
Your message could not be delivered! Please try again later.