Question: how to transfer data from one view to another view in sapui5?
Answer: First create a Model in your component js file.
Component.js.
Assign id to your Input field which you want to pass data.
View1.xml.
Set that data to your Model which you have created in Component js file in Submit button Press Event (Here Model is "TempDataModel")