cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Set Nullable Property on SAP RAP based OData V4

5,097

Hello Community,

I created an OData V4 Service to read data with RAP (CDS Views) based on a SAP Standard Table BNKA.

In the metadata any string are stated as Nullable="false".

For non key fields I would expect that fields can be null.

Can this be influenced via cds?


With Odata V2 the nullable property is optional and thus not mentioned when publishing the same service.

However i did not find the default value for the field if it is not declared.

What is the default value for nullable if not provided in OData V2?

View Entire Topic
0 Kudos

Hello Tudor,

Thank you very much sharing this. I will try this out.