Create a custom CDS view based on Pirmary Data source I_UNITOFMEASURE and published it as an external API.
Field UnitOfMeasure_E was selected, however this field was missed in the metadata of the OData service.
S/4 HANA Cloud
Reproducing the Issue
- Create a custom CDS View based on I_UNITOFMEASURE
- Make sure field UnitOfMeasure_E is selected
- Publish the custom CDS view as an external API
- Test this API, the field is not showing in metadata
Standard data source I_UNITOFMEASURE has this property of consumption.hidden:true for that specific field.
So all the datasources referenced the same field will have this property.
Modify the Field Properties and make sure the Hidden property is selected to 'False'.
field, property, properties, edit, metadata, showing, hidden, odata service, missed, custom, external , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem