Hello Experts,
Is there a way to get data from editable fields in Fiori in one go and pass to Model.Create method instead of read data for each field. Example:
Instead of below method
var OData = { Debitor: this.getView().byId("Debitor").getValue(), REC_ID: this.getView().byId("REC_ID").getValue() }; } this.getView().getModel().create("/Sepa_MandateSet", OData,{}),
Is there a way to pass all fields in one go to OData variable as I have many fields on screen. This seems very time consuming to get values with this.getView().byId("Debitor").getValue() for all fields