SAP Knowledge Base Article - Preview

3036992 - SmartTable, Smartvariant, Smartfield, Smartchart and other Smart issues with oData V4 version - Uncaught (in promise) TypeError


  • 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

    ~~~~~~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:

    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)



SAPUI5 1.83.X+


SAPUI5 1.0


"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 ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.