Show TOC

OData V4 ModelLocate this document in the navigation structure

The sap.ui.model.odata.v4.ODataModel is the model implementation for consuming an OData V4 service.

Restriction

Due to the limited feature scope of this version of the SAPUI5 OData V4 model, check that all required features are in place before developing applications. Double check the detailed documentation of the features, as certain parts of a feature may be missing although you might expect these parts as given. While we aimed at being compatible with existing controls, some controls might not work due to small incompatibilities compared to sap.ui.model.odata.(v2.)ODataModel, or due to missing features in the model (like tree binding). The interface for applications has been changed to make easier and more efficient use of the model.

For a summary of these changes, see Changes Compared to OData V2 Model.

The OData V4 model supports the following:
  • Read access

  • Updating properties of OData entities (in entity sets and contained entities) via two-way-binding

  • Operation (function and action) execution

  • Grouping data requests in a batch request

  • Server-side sorting and filtering

Note

The OData V4 model documentation contains several code samples. These refer to the Sales Orders sample in the Explored app in the Demo Kit.