
In Below screenshot is the Application structure we can find:
In this Image we can see the OVP application structure
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
<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/ZC_PRTOPO_CDS/$metadata">
<edmx:Include Namespace="ZC_PRTOPO_CDS"/>
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="local">
<Annotations Target="ZC_PRTOPO_CDS.ZC_PRTOPOType">
<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
<!--++++++++++++++++++++++++UI.Identification+++++++++++++++++++++++++++++++++++-->
<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
<Annotation Term="UI.Identification" Qualifier="zpurchasereqtopo">
<Collection>
<Record Type="UI.DataFieldForIntentBasedNavigation">
<PropertyValue Property="SemanticObject" String="zpurchasereqtopo"/>
<PropertyValue Property="Action" String="analyze"/>
<!--<PropertyValue Property="RequiresContext" Bool="true"/>-->
<PropertyValue Property="Inline" Bool="true"/>
</Record>
</Collection>
</Annotation>
<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
<!--++++++++++++++++++++++++UI.SelectionFields+++++++++++++++++++++++++++++++++++-->
<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
<Annotation Term="UI.SelectionFields">
<Collection>
<PropertyPath>SupplierName</PropertyPath>
<PropertyPath>CostCenterName</PropertyPath>
<PropertyPath>WBSDescription</PropertyPath>
<PropertyPath>WBSElement</PropertyPath>
</Collection>
</Annotation>
<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
<!--++++++++++++++++++++++++UI.DATAPOINT+++++++++++++++++++++++++++++++++++++++++-->
<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
<Annotation Term="UI.DataPoint" Qualifier="POQuantitydp">
<Record Type="UI.DataPointType">
<PropertyValue Property="Criticality" EnumMember="UI.CriticalityType/Positive"/>
<PropertyValue Property="Value" Path="POQuantity"/>
<PropertyValue Property="Title" String="Billing Quantity"/>
<PropertyValue Property="ValueFormat">
<Record Type="com.sap.vocabularies.UI.v1.NumberFormat">
<PropertyValue Property="NumberOfFractionalDigits" Int="1"/>
</Record>
</PropertyValue>
</Record>
</Annotation>
<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
<!--++++++++++++++++++++++++UI.Chart+++++++++++++++++++++++++++++++++++++++++-->
<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
<Annotation Term="UI.Chart" Qualifier="purchasereq01">
<Record>
<PropertyValue Property="Title" String="Purcahse Requisition"/>
<PropertyValue Property="MeasureAttributes">
<Collection>
<Record Type="UI.ChartMeasureAttributeType">
<PropertyValue Property="Measure" PropertyPath="Count_PR"/>
<PropertyValue Property="Role" EnumMember="UI.ChartMeasureRoleType/Axis1"/>
</Record>
</Collection>
</PropertyValue>
<PropertyValue Property="DimensionAttributes">
<Collection>
<Record Type="UI.ChartDimensionAttributeType">
<PropertyValue Property="Dimension" PropertyPath="PurchaseReqCreationDate"/>
<PropertyValue Property="Role" EnumMember="UI.ChartDimensionRoleType/Category"/>
</Record>
</Collection>
</PropertyValue>
<PropertyValue Property="ChartType" EnumMember="UI.ChartType/Column"/>
</Record>
</Annotation>
</Annotations>
</Schema>
</edmx:DataServices>
</edmx:Edmx>
This step is most important and main operation for this to work.
we have to maintain cards like this
We created OVP Fiori element application with required DATA source and created annotation file to local UI development and maintained XML UI annotation code in annotation file.
OUTPUT of ZOVP_DEMO Application
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |