Skip to Content
0
Jul 28, 2023 at 10:18 AM

Smart Table with OData Service not working in SAP CAP

68 Views

Hi Experts,

I am trying to replicate the smart tree table from sapui5 sdk, for that making a sap cap project with UI(in /app folder) that contains smart table, but getting error in console.

Converted my odata V4 to V2. and change manifest.json ("uri" : "/v2/me") to this:

manifestjson.png

And getting this Error from smart table:

TypeError: this._oMetaModel.getODataEntitySet is not a function.

error.png

My View:

view.png

My Controller:

controller.png

Can you please guide me to resolve this issue.

Regards,

Sagar Singh

Attachments

error.png (27.9 kB)
view.png (67.4 kB)
manifestjson.png (16.7 kB)
controller.png (37.4 kB)