on 2023 Aug 07 11:37 AM
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?
Request clarification before answering.
Hello Tudor,
I found this attribute in the cds annotation syntax ABAP CDS - Framework-Specific Annotation Syntax - ABAP Keyword Documentation (sap.com)
But as per my understanding it is only available in S/4 Cloud.
As I have an OnPrem System available i get an error when trying it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
34 | |
21 | |
14 | |
8 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.