{"ref":"content:how-to-use-reserved-words-as-property-names-in-your-odata-service","page":"/content/how-to-use-reserved-words-as-property-names-in-your-odata-service","json":"/content/how-to-use-reserved-words-as-property-names-in-your-odata-service.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"how-to-use-reserved-words-as-property-names-in-your-odata-service","title":"How to use reserved words as property names in your OData service?","url":"https://community.sap.com/t5/abap-blog-posts/how-to-use-reserved-words-as-property-names-in-your-odata-service/ba-p/14264772","content_type":"blog","published_on":"source:sap-community","explains":[{"ref":"capability:metadata-publishing","applies_to":{"ecosystems":["abap"]}}],"summary":"Setting a CDS view alias to a reserved OData word, such as Number, fails compilation with 'NUMBER is a reserved word'. The fix for a RAP-based OData service is the @odata.property.name annotation: it lets the underlying CDS view keep a compiler-safe name (NumberInStock) while the $metadata EntityType still exposes the field as Number, shown against a products view and its generated EDMX.","short":"Reserved words as OData property names with @odata.property.name","author":"Andre_Fischer","published":"2025-11-10","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"abap-cloud-tag"},{"source":"source:sap-community","channel":"abap-development-tag"},{"source":"source:sap-community","channel":"abap-rap-tag"}],"first_seen":"2026-09-21"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"good","evidence":"published 12 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2025-11-10"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":3800,"unit":"views"},{"value":3,"unit":"comments"},{"value":20,"unit":"likes"}]},"signals":{"views":3800,"likes":20,"comments":3,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[]}}