var oModel = new sap.ui.model.odata.V2.ODataModel (sUrl);oModel.setDefaultBindingMode (sap.ui.model.BindingMode.TwoWay);
var oContext = oModel.createEntry ("/ Products");var oSimpleForm = this.getView (). byId ("NewProductSF");oSimpleForm.setBindingContext (oContext);