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
Modern Picking Practices with SAP EWM
In today's fast-paced world, warehouse management is evolving rapidly. One of the key areas experiencing significant change is the picking process....
What is IT Asset Management (ITAM)?
Suppose you have two houses that have 1+1 rooms and 5+3 rooms. Which house is more difficult to manage? The small house can be managed more...
What You Need to Know About Developing Fiori Applications
What is SAP Fiori? SAP Fiori is a user experience solution from SAP that provides a modern, simple user experience for enterprise applications. It is...
What are EWM Mobgui and Screen Personas in SAP?
SAP offers various tools to help businesses with digital transformation and operational efficiency. In this article, we will explore two important...
SAP EWM in the Food and Beverage Industry
Warehouse Management in the Food and Beverage IndustryWarehouse management is critical for companies operating in the Food and Beverage sector....
Importance of Supply Chain Management
In today's world, where competition between organizations is increasing, the way to leave other businesses behind is to increase the satisfaction of...
What is SAP Cloud Integration?
Today, technological developments enable cloud computing to become widespread. The use of cloud-based services is used quite naturally in parallel...
What is B2B Integration?
In today's technology age, competition in the business sector has gained momentum. We see that companies that successfully adapt to digital...
Physical Inventory Process Using RF Device
In the SAP Extended Warehouse Management (EWM) System, it is possible to count available stock and keep the records on the system by using 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.