Hello Nishant Bansal,
1. In component.js, you're creating Odata model v1.
In case of Odata model v1, create method has async param as false, so it will process in sequence.
https://sapui5.hana.ondemand.com/#docs/api/symbols/sap.ui.model.odata.ODataModel.html
2. In manifest.js, you use Odata model v2.
CRUD methods of odata model v2 are async. That's why it will run parallel.
https://sapui5.hana.ondemand.com/#docs/api/symbols/sap.ui.model.odata.v2.ODataModel.html
i have changed the version from 2.0 to 1.0 in manifest file . it still behave the same.
How i can pass the same in ocreate method. How i can change the asynch of odata object. .
Thanks
Nishant
Add comment