Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Gateway oData service -

$
0
0

Dear experts

I have a question on the metadata of an oData service. Here is the service I have

 

<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:sap="http://www.sap.com/Protocols/SAPData"><edmx:DataServices xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/
metadata" m:DataServiceVersion="2.0"><Schema xmlns="http://schemas.microsoft.com/ado/2008/09/edm" Namespace="MySalesOrders"><EntityType Name="SalesOrder"><Key> <PropertyRef Name="SalesOrderNumber" /> </Key><Property Name="SalesOrderNumber" Type="Edm.String" sap:label="Sales Order Number" Nullable="false" MaxLength="10" /><Property Name="TotalAmount" Type="Edm.Decimal" sap:label="Total Amount" Precision="16" Scale="3" sap:unit="Currency" MaxLength="10" /><Property Name="Currency" Type="Edm.String" sap:label="Currency" MaxLength="5" sap:semantics="currency-code" /><Property Name="CustomerID" Type="Edm.String" sap:label="Customer ID" MaxLength="10" /><Property Name="CustomerName" Type="Edm.String" sap:label="Customer Name" MaxLength="35" />

as you see, some of the properties have additional information like sap:label, sap:unit and so on. Are  these annotations???

Where can I use these information while building any UI5 app?

 

Thank you

Aakash


Viewing all articles
Browse latest Browse all 2823

Trending Articles