Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 1.61 KB

odata-v4-model-5de13cf.md

File metadata and controls

38 lines (20 loc) · 1.61 KB

OData V4 Model

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

Note:

Instead of smart controls (sap.ui.comp library) or sap.ui.table.AnalyticalTable (or analytical table scenarios) the SAP Fiori elements building blocks (sap.fe.macros) have to be used with the OpenUI5 OData V4 model.

The interface for applications has been changed for an 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

  • Deleting entities

  • Operation (function and action) invocation

  • 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 Demo Kit.

Related Information

Changes Compared to OData V2 Model

sap.ui.model.odata.v4.ODataModel

Sample: Sales Orders