on ‎2023 Apr 25 3:38 PM
Request clarification before answering.
You can hide/remove it via local annotations in annotation.xml file.
<Annotations Target="cds_zsd_schd_line.ZC_SCHD_LINEType/CorrectedQtyInOrderQtyUnit">
<Annotation Term="Measures.Unit" String= " "/>
</Annotations>
by providing Annotation Term "Measures.Unit" String = "" on field itself.
Make sure you provide also the reference namespace in the annotation file:
<edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Measures.V1.xml">
<edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
</edmx:Reference>
Complete annotation.xml file:
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
<edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Measures.V1.xml">
<edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
</edmx:Reference>
<edmx:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/UI.xml">
<edmx:Include Namespace="com.sap.vocabularies.UI.v1" Alias="UI"/>
</edmx:Reference>
<edmx:Reference Uri="/sap/opu/odata/sap/ZUI_SCHD_LINE/$metadata">
<edmx:Include Namespace="cds_zsd_schd_line"/>
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="local">
<Annotations Target="cds_zsd_schd_line.ZC_SCHD_LINEType/CorrectedQtyInOrderQtyUnit">
<Annotation Term="Measures.Unit" String= " "/>
</Annotations>
</Schema>
</edmx:DataServices>
</edmx:Edmx>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.