sap.ui.model.odata.ODataModel is obsolete. You should use sap.ui.model.odata.v2.ODataModel more info here.
this.getModel().create("/EntitySet", entity, { success: function(oData) { //Success handler }, error: function(oError) { //Error handler } });
If you call it in a loop then it will send it all in one batch request and should trigger CHANGESET_BEGIN only once.
Add comment