cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Analytical Card requires KPI data

grandad1
Participant
0 Kudos

Hi,

I raised this before and thought I had the answer, but not yet.

I'm trying to create an Analytical Card in a brand new, very simple OVP app. I am trying to create a Chart without a KPI as it mentions in

https://experience.sap.com/fiori-design-web/analytical-card/

that there are two kinds of Header, Standard and KPI 'depending on the use case. However every time I try to create an Analytical Card, the second screen asks me to enter the mandatory KPI to be used. Is it possible to set this somewhere so I don't have to have a KPI or is this now mandatory, the documentation seems to say otherwise.

Here are my annotations:

<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.Aggregation.V1.xml">
<edmx:Include Alias="Aggregation" Namespace="Org.OData.Aggregation.V1"/>
</edmx:Reference>
<edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Authorization.V1.xml">
<edmx:Include Alias="Auth" Namespace="Org.OData.Authorization.V1"/>
</edmx:Reference>
<edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Capabilities.V1.xml">
<edmx:Include Alias="Capabilities" Namespace="Org.OData.Capabilities.V1"/>
</edmx:Reference>
<edmx:Reference Uri="https://wiki.scn.sap.com/wiki/download/attachments/448470974/Common.xml?api=v2">
<edmx:Include Alias="Common" Namespace="com.sap.vocabularies.Common.v1"/>
</edmx:Reference>
<edmx:Reference Uri="https://wiki.scn.sap.com/wiki/download/attachments/448470971/Communication.xml?api=v2">
<edmx:Include Alias="Communication" Namespace="com.sap.vocabularies.Communication.v1"/>
</edmx:Reference>
<edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.xml">
<edmx:Include Alias="Core" Namespace="Org.OData.Core.V1"/>
</edmx:Reference>
<edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Measures.V1.xml">
<edmx:Include Alias="Measures" Namespace="Org.OData.Measures.V1"/>
</edmx:Reference>
<edmx:Reference Uri="https://wiki.scn.sap.com/wiki/download/attachments/448470968/UI.xml?api=v2">
<edmx:Include Alias="UI" Namespace="com.sap.vocabularies.UI.v1"/>
</edmx:Reference>
<edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Validation.V1.xml">
<edmx:Include Alias="Validation" Namespace="Org.OData.Validation.V1"/>
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm">
<Annotations Target="ZTEST_REF_OVP_CDS.ZTEST_REF_OVPType">
<Annotation Term="UI.LineItem">
<Collection/>
</Annotation>
<Annotation Term="UI.Identification" Qualifier="Chart">
<Collection/>
</Annotation>
<Annotation Term="UI.DataPoint">
<Record Type="UI.DataPointType">
<PropertyValue Property="Title" String="{@i18n>PURCHORD}"/>
<PropertyValue Property="Value" Path="Total_Gross_Amount"/>
</Record>
</Annotation>
<Annotation Term="UI.Chart" Qualifier="Chart">
<Record Type="UI.ChartDefinitionType">
<PropertyValue Property="ChartType" EnumMember="UI.ChartType/Column"/>
<PropertyValue Property="Measures">
<Collection>
<PropertyPath>Total_Gross_Amount</PropertyPath>
</Collection>
</PropertyValue>
<PropertyValue Property="MeasureAttributes">
<Collection>
<Record Type="UI.ChartMeasureAttributeType">
<PropertyValue Property="Measure" PropertyPath="Total_Gross_Amount"/>
<PropertyValue Property="Role" EnumMember="UI.ChartMeasureRoleType/Axis1"/>
<PropertyValue Property="DataPoint" AnnotationPath="@UI.DataPoint#Total_Gross_Amount"/>
</Record>
</Collection>
</PropertyValue>
<PropertyValue Property="Dimensions">
<Collection>
<PropertyPath>ebeln</PropertyPath>
</Collection>
</PropertyValue>
<PropertyValue Property="DimensionAttributes">
<Collection>
<Record Type="UI.ChartDimensionAttributeType">
<PropertyValue Property="Dimension" PropertyPath="ebeln"/>
<PropertyValue Property="Role" EnumMember="UI.ChartDimensionRoleType/Category"/>
</Record>
</Collection>
</PropertyValue>
<PropertyValue Property="Title" String="{@i18n>TEST}"/>
</Record>
</Annotation>
<Annotation Term="UI.HeaderInfo">
<Record Type="UI.HeaderInfoType">
<PropertyValue Property="TypeName" String="{@i18n>PURCHORD}"/>
<PropertyValue Property="TypeNamePlural" String="{@i18n>PURCHORDS}"/>
<PropertyValue Property="Title">
<Record Type="UI.DataField">
<PropertyValue Property="Value" String="{@i18n>PURCHASE_ORDERS}"/>
</Record>
</PropertyValue>
<PropertyValue Property="Description">
<Record Type="UI.DataField">
<PropertyValue Property="Value" String="{@i18n>DESCRIPTION}"/>
</Record>
</PropertyValue>
</Record>
</Annotation>
</Annotations>
</Schema>
</edmx:DataServices>
</edmx:Edmx>

but every time I try to create an analytic Card, the second screen is 'Select KPI Annotation'.

From the docu, it seems as though I don't need a KPI Header. I can manually add to the Manifest, but the Tool doesn't seem to support Standard Header in the Heading area.

Regards

Neil

Accepted Solutions (0)

Answers (0)