cancel
Showing results for 
Search instead for 
Did you mean: 

SAP SAC Not Showing Description from OData v4 Metadata

umayaraj
Participant
0 Kudos
236

Hi SAP Experts,

I have a custom OData v4 endpoint that includes the sap:label property in its metadata. I am trying to pass descriptions to SAP Analytics Cloud (SAC) while creating a model. However, the descriptions are not being displayed in SAC based on my metadata.

I have tried using the following annotations:

  • Org.OData.Core.V1.Description
  • Org.OData.Core.V1.LongDescription
  • sap:label
  • sap:Heading
  • sap.QuickInfo
  • Core.Description

Despite these efforts, SAC does not seem to recognize the description fields. I am testing this in an SAP Analytics Cloud Trial Environment.

Environment:

  • OData Version: 4.0
  • SAC Environment: Trial

Has anyone successfully resolved this issue or encountered a similar challenge? Any guidance or best practices would be greatly appreciated.

Thanks in advance!


View Entire Topic
chmbilal
Participant
0 Kudos

HI @umayaraj 

there are some limitation in Odata 4. You can you try  /$metadata output to ensure labels are present.

secondly also try to add sap:semantics="text" alongside sap:label .let me know if you need further information

umayaraj
Participant
0 Kudos

hi @chmbilal , thanks for your support .

umayaraj_0-1738218482000.png

 

sample metadata below , and in sac description is not show as expected , any other idea ?

<edmx:Edmx Version="4.0">
<edmx:DataServices>
<Schema Namespace="ME2M_ME23N_SVR">
<EntityType Name="MANAGE">
<Key>
<PropertyRef Name="EBELN"/>
</Key>
<Property Name="EBELN" Type="Edm.String" Nullable="true" MaxLength="150" sap:columnSize="150" sap:label="Purchasing Document" sap:semantics="text" sap:quickinfo="" sap:visible="true" sap:filterable="true" sap:required="false" sap:Position="1" sap:isNeed="true"/>
<Property Name="AEDAT" Type="Edm.Date" Nullable="true" sap:columnSize="110" sap:label="Created On" sap:semantics="text" sap:quickinfo="" sap:visible="true" sap:filterable="true" sap:required="false" sap:Position="2" sap:isNeed="true"/>
<Property Name="BSART" Type="Edm.String" Nullable="true" MaxLength="130" sap:columnSize="130" sap:label="Purchasing Doc.Type" sap:semantics="text" sap:quickinfo="" sap:visible="true" sap:filterable="false" sap:required="false" sap:Position="3" sap:isNeed="true"/>
<Property Name="BSTYP" Type="Edm.String" Nullable="true" MaxLength="130" sap:columnSize="130" sap:label="Purch.Doc.Category" sap:semantics="text" sap:quickinfo="" sap:visible="true" sap:filterable="false" sap:required="false" sap:Position="4" sap:isNeed="true"/>
<Property Name="BUKRS" Type="Edm.String" Nullable="true" MaxLength="120" sap:columnSize="120" sap:label="Company Code" sap:semantics="text" sap:quickinfo="" sap:visible="true" sap:filterable="true" sap:required="false" sap:Position="5" sap:isNeed="true"/>
<Property Name="EKGRP" Type="Edm.String" Nullable="true" MaxLength="120" sap:columnSize="120" sap:label="Purchasing Group" sap:semantics="text" sap:quickinfo="" sap:visible="true" sap:filterable="true" sap:required="false" sap:Position="6" sap:isNeed="true"/>
<Property Name="EKORG" Type="Edm.String" Nullable="true" MaxLength="150" sap:columnSize="150" sap:label="Purch.Organization" sap:semantics="text" sap:quickinfo="" sap:visible="true" sap:filterable="true" sap:required="false" sap:Position="7" sap:isNeed="true"/>
<Property Name="ERNAM" Type="Edm.String" Nullable="true" MaxLength="120" sap:columnSize="120" sap:label="Created By" sap:semantics="text" sap:quickinfo="" sap:visible="true" sap:filterable="false" sap:required="false" sap:Position="8" sap:isNeed="true"/>
<Property Name="FRGZU" Type="Edm.String" Nullable="true" MaxLength="140" sap:columnSize="140" sap:label="Release Status" sap:semantics="text" sap:quickinfo="" sap:visible="true" sap:filterable="false" sap:required="false" sap:Position="9" sap:isNeed="true"/>
<Property Name="INCO1" Type="Edm.String" Nullable="true" MaxLength="90" sap:columnSize="90" sap:label="Incoterms" sap:semantics="text" sap:quickinfo="" sap:visible="true" sap:filterable="false" sap:required="false" sap:Position="10" sap:isNeed="true"/>

 

chmbilal
Participant
0 Kudos

are you using live model? if yes than check if the field coming in import data option. if the issue still presist, suggestion is to create separate filed for description

umayaraj
Participant
0 Kudos
i'm not using live model , and my odata server simlar to northwind .