A response instance includes information that the request returns.
Most OData requests return a corresponding response body after the request is successful (an exception can be a successful DELETE
request with HTTP return code 204
with no content).
The Client Proxy response instance contains information returned by the request. You can use it to read all relevant response information (for example. the entity business data).
The responses aren't OData protocol-specific (Version 2 or Version 4).
A response instance is always created by the corresponding request instance when a request is created.
These response types are available:
/IWBEP/IF_CP_RESPONSE_ACTION
:ACTION
request response./IWBEP/IF_CP_RESPONSE_CREATE
:CREATE
request response./IWBEP/IF_CP_RESPONSE_DELETE
:DELETE
entity request response./IWBEP/IF_CP_RESPONSE_FUNCTION
:FUNCTION
request response./IWBEP/IF_CP_RESPONSE_READ
:READ
entity request response./IWBEP/IF_CP_RESPONSE_READ_01
:READ
entity (with zero-to-one navigation) request response./IWBEP/IF_CP_RESPONSE_READ_LST
:READ
entity list request response./IWBEP/IF_CP_RESPONSE_UPDATE
:UPDATE
entity request response./IWBEP/IF_CP_RESPONSE_UPDATE_L
:UPDATE
entity list request response.
Response instances return the response business data of a successful OData request execution. The options a response instance offers depend on the different response types.
For examples of how to create and work with responses, see the OData Requests.