We have an OData service built using service binding according to ABAP RAP. Is it possible to add annotations like sap:nullable, sap:filterable etc. to a property of an entity of this service?
In SEGW-based OData service, we can do this by selecting the checkboxes or by redefining method define of MPC_EXT. What is the recommended way of achieving the same in ABAP RAP OData service?
There is no option to set these annotations directy.
You can only implicitly influence the annotations using appropriate coding in your
a) behavior definition / behavior projection
in BDEF you define whether your BO supports, create, update, delete and in the projection you specify which of these features are published
b) metadata extension file
c) projection view (here you would set something like @consumption.valuehelp