Symptom
- We are building applications based on Cloud Application Programming (CAP) model by using Business Application Studio
- We have a requirement for smart table with smart filter on CAP based application to show Sales Order details
- We are using freestyle UI5 application with smart table template
- We have OData service with V4 Version which we have generated from CAP model entity
- When we try to use same OData in smart table and smart filter with an example parameters like:
~~~~~Smart Table Parameters~~~~~~
<smartTable:SmartTable id="idSalesOrderTable" entitySet="SalesDetails_view"
..
..details parsed/skipped here
..
beforeRebindTable="onBeforeRebindTable">
~~~~~~Smart Filter Parameter~~~~~~
<smartFilterBar:SmartFilterBar id="smartFilterBar" entitySet="SalesDetails_view" persistencyKey="SmartFilter_Explored">
..
..details parsed/skipped here - When we try accessing UI, we are getting the following error:
~~~~~Error~~~~~~~
Uncaught (in promise) TypeError: this._OMetaModel.getOdataEntitySet is not a function
at M.getFieldsByEntitySetName (MetadataAnalyzer-dbg.js:340)
at T._IntialiseMetadata (TableProvider-dbg.js:89)
Read more...
Environment
SAPUI5 1.83.X+
Product
SAPUI5 1.0
Keywords
"oData V4","SAPUI5 oData V4 support","Does SAPUI5 support oData V4","oData V2","SmartTable oData Version 4","Smart control oData" , KBA , CA-UI5-TBL , SAP UI5 table, smart table, list and tree controls , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview