enum sap.ui.model.odata.MessageScope

Visiblity: public
Available since: N/A
Module: sap/ui/model/odata/MessageScope
Application Component: CA-UI5-COR

Different scopes for retrieving messages from a service consumed via a sap.ui.model.odata.v2.ODataModel.



References:


Properties Overview

Node Description
sap.ui.model.odata.MessageScope.BusinessObject

Retrieve messages for the requested or changed entities and for all their child entities that belong to the same business object. The service needs to set the OData V2 annotation "message-scope-supported" at the EntityContainer to true. If the service does set this OData V2 annotation, the OData model falls back to sap.ui.model.odata.MessageScope.RequestedObjects.

sap.ui.model.odata.MessageScope.RequestedObjects

Retrieve messages only for the requested or changed entities.