Skip to Content
0
Dec 08, 2022 at 10:47 AM

Type error: Cannot read properties of undefined ( reading 'read' )

4238 Views Last edit Dec 08, 2022 at 01:12 PM 3 rev

Hi Team,

I am facing an issue in my custom UI5 application while reading the data from backend for my Read query -

onInit: function () {

this.oModel = this.getOwnerComponent().getModel();

this.oCustTable = this.getView().byId("idCustTable");

this.oModel.read("/ET_Deal_CustListSet", {

success: function (odata) {

var CustJsonData = new JSONModel(odata.results);

this.getView().setModel(CustJsonData, "ET_CustList");

}

});

},

img-20221208-wa0031.jpg

manifest1.jpgmanifest2.jpgmanifest3.jpgmanifest4.jpg

Please advise.

Regards -

Meenakshi

Attachments

manifest1.jpg (73.7 kB)
manifest1.jpg (73.7 kB)
manifest2.jpg (44.3 kB)
manifest3.jpg (67.8 kB)
manifest4.jpg (53.5 kB)