
@UI: {
headerInfo: {
typeName: 'Report Title',
typeNamePlural: 'Report Title',
title: {
value: 'Report Title'
},
description: { value: 'Report Title' }
}
}
@UI.presentationVariant: [{
qualifier: 'KPIPOQualifier',
text: 'KPI: KPIPOQualifier',
visualizations: [{
type: #AS_DATAPOINT,
qualifier: 'KPIPOQualifier'
}]
},
{
qualifier: 'KPILineQualifier',
text: 'KPI: KPILineQualifier',
visualizations: [{
type: #AS_DATAPOINT,
qualifier: 'KPILineQualifier'
}]
}
@UI.selectionVariant: [{
qualifier: 'KPIPOQualifier',
text: 'Default'
},
{
qualifier: 'KPILineQualifier',
text: 'Default'
},
]
@UI: {
dataPoint: {
title: 'PO',
valueFormat.numberOfFractionalDigits: 0,
minimumValue: 0,
maximumValue: 100,
criticalityCalculation: {
improvementDirection: #MAXIMIZE,
deviationRangeLowValue: 70,
toleranceRangeLowValue: 84
}
}
}
@AnalyticsDetails.query.axis: #COLUMNS
@AnalyticsDetails.query.decimals: 0
@EndUserText.label: 'KPIPOQualifier'
@AnalyticsDetails.query.formula: 'NDIV0( NODIM( $projection.KPI) / NODIM( $projection.Total))*HundredPercent '
1 as KPIPOQualifier,
@UI: {
dataPoint: {
title: 'LI',
valueFormat.numberOfFractionalDigits: 0,
minimumValue: 0,
maximumValue: 100,
criticalityCalculation: {
improvementDirection: #MAXIMIZE,
deviationRangeLowValue: 70,
toleranceRangeLowValue: 84
}
}
}
@AnalyticsDetails.query.axis: #COLUMNS
@AnalyticsDetails.query.decimals: 0
@EndUserText.label: 'KPILineQualifier'
@AnalyticsDetails.query.formula: 'NDIV0( NODIM( $projection.KPILi) / NODIM( $projection.TotalLine))*HundredPercent'
1 as KPILineQualifier
@UI.presentationVariant: [{ {
qualifier: 'FilterMiss',
text: 'Filter: Miss',
visualizations: [{
type: #AS_CHART,
qualifier: 'ChartMiss'
}]
},
{
qualifier: 'FilterTime',
text: 'Filter: Time',
visualizations: [{
type: #AS_CHART,
qualifier: 'ChartTime'
}]
}, {
qualifier: 'FilterContract',
text: 'Filter: Contract',
visualizations: [{
type: #AS_CHART,
qualifier: 'ChartContract'
}]
},
@UI.chart: [{
qualifier: 'ChartMiss',
chartType: #BAR,
dimensions: [ 'OnTimePO' ],
measures: [ 'CountPO' ],
dimensionAttributes: [{
dimension: 'OnTimePO',
role: #CATEGORY
}],
measureAttributes: [{
measure: 'CountPO',
role: #AXIS_1
}]
},
{
qualifier: 'ChartTime',
chartType: #BAR,
dimensions: [ 'FullIndicator' ],
measures: [ 'CountPO' ],
dimensionAttributes: [{
dimension: 'FullIndicator',
role: #CATEGORY
}],
measureAttributes: [{
measure: 'CountPO',
role: #AXIS_1
}]
},
{
qualifier: 'ChartContract',
chartType: #BAR,
dimensions: [ 'Status' ],
measures: [ 'CountPO' ],
dimensionAttributes: [{
dimension: 'Status',
role: #CATEGORY
}],
measureAttributes: [{
measure: 'CountPO',
role: #AXIS_1
}]
},
{
qualifier: 'Default',
presentationVariantQualifier: 'Default',
selectionVariantQualifier: 'Default'
}
{
qualifier: 'Default', //Qualifier for ALP content chart section (chart above)
visualizations: [{
type: #AS_CHART,
qualifier: 'ChartDefault'
}]
}
]
qualifier: 'ChartDefault',
chartType:#COLUMN,
dimensions: [ 'YearMonth' ],
measures: [ 'PO','Line','MissPer'],
dimensionAttributes: [{
dimension: 'YearMonth',
role: #CATEGORY
}],
measureAttributes: [{
measure: 'MissPer',
role: #AXIS_2
},
{
measure: 'Line',
role: #AXIS_1
},
{
measure: 'PO',
role: #AXIS_1
}
]
}
]
@UI.lineItem.position: 10
Purchase Order ID
"keyPerformanceIndicators": {
"POQualifier": {
"model": "kpiModel",
"entitySet": "CDS View NAME", // Name of CDS view
"qualifier": "POQualifier"
},
"LineQualifier": {
"model": "kpiModel",
"entitySet": "CDS View NAME", // Name of CDS view
"qualifier": "LineQualifier"
}
<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/Common.xml">
<edmx:Include Namespace="com.sap.vocabularies.Common.v1" Alias="Common" />
</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="https://sap.github.io/odata-vocabularies/vocabularies/Communication.xml">
<edmx:Include Namespace="com.sap.vocabularies.Communication.v1" Alias="Communication" />
</edmx:Reference>
<edmx:Reference Uri="/sap/opu/odata/sap/CDS View Name/$metadata">
<edmx:Include Namespace=" CDS View Name " Alias="SAP" />
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="com.xx.ri11.xxxx">
<Annotations Target="SAP. CDS View NameType">
<Annotation Term="UI.SelectionFields">
<Collection>
<!-- remove/comment CreationDate or DateRangeCustomFilter.fragment.xml won't work!
<PropertyPath>CreationDate</PropertyPath> -->
<PropertyPath>Supplier</PropertyPath>
<PropertyPath>OnTimePO</PropertyPath>
<PropertyPath>FullIndicator</PropertyPath>
<PropertyPath>Status</PropertyPath>
<PropertyPath>MatGroup</PropertyPath>
</Collection>
</Annotation>
<Annotation Term="UI.KPI" Qualifier="POQualifier">
<Record>
<PropertyValue Property="DataPoint" Path="@UI.DataPoint#KPIPOQualifier" />
<PropertyValue Property="SelectionVariant" Path="@UI.SelectionVariant#KPIPOQualifier" />
<PropertyValue Property="ID" String="POQualifier" />
<PropertyValue Property="Detail">
<Record Type="UI.KPIDetailType">
<PropertyValue Property="SemanticObject" String="test" />
<PropertyValue Property="Action" String="test" />
<PropertyValue Property="DefaultPresentationVariant" Path="@UI.PresentationVariant#KPIPOQualifier" />
</Record>
</PropertyValue>
</Record>
</Annotation>
<Annotation Term="UI.KPI" Qualifier="LineQualifier">
<Record>
<PropertyValue Property="DataPoint" Path="@UI.DataPoint#KPILineQualifier" />
<PropertyValue Property="SelectionVariant" Path="@UI.SelectionVariant#KPILineQualifier" />
<PropertyValue Property="ID" String="LineQualifier" />
<PropertyValue Property="Detail">
<Record Type="UI.KPIDetailType">
<PropertyValue Property="DefaultPresentationVariant" Path="@UI.PresentationVariant#KPILineQualifier" />
</Record>
</PropertyValue>
</Record>
</Annotation>
</Annotations>
<Annotations Target="SAP. CDS View Name Type/Status">
<!-- Annotation WITHOUT QUALIFIER for Compact Filter, supplied by Backend(CDS) already-->
<!-- Annotation WITH QUALIFIER for Visual Filter -->
<Annotation Term="Common.ValueList" Qualifier="ChartMiss">
<Record Type="Common.ValueListType">
<PropertyValue Property="CollectionPath" String=" CDS View Name " />
<PropertyValue Property="PresentationVariantQualifier" String="FilterContract" />
<PropertyValue Property="Parameters">
<Collection>
<Record Type="Common.ValueListParameterInOut">
<PropertyValue Property="LocalDataProperty" PropertyPath="Status" />
<PropertyValue Property="ValueListProperty" String="Status" />
</Record>
</Collection>
</PropertyValue>
</Record>
</Annotation>
</Annotations>
<Annotations Target="SAP. CDS View Name Type/OnTimePO">
<!-- Annotation WITHOUT QUALIFIER for Compact Filter, , supplied by Backend(CDS) already -->
<!-- Annotation WITH QUALIFIER for Visual Filter -->
<Annotation Term="Common.ValueList" Qualifier="ChartMiss">
<Record Type="Common.ValueListType">
<PropertyValue Property="CollectionPath" String=" CDS View Name " />
<PropertyValue Property="PresentationVariantQualifier" String="FilterMiss" />
<PropertyValue Property="Parameters">
<Collection>
<Record Type="Common.ValueListParameterInOut">
<PropertyValue Property="LocalDataProperty" PropertyPath="OnTimePO" />
<PropertyValue Property="ValueListProperty" String="CountPO" />
</Record>
</Collection>
</PropertyValue>
</Record>
</Annotation>
</Annotations>
<Annotations Target="SAP. CDS View Name Type/FullIndicator">
<Annotation Term="Common.ValueList" Qualifier="ChartTime">
<Record Type="Common.ValueListType">
<PropertyValue Property="CollectionPath" String=" CDS View Name " />
<PropertyValue Property="PresentationVariantQualifier" String="FilterTime" />
<PropertyValue Property="Parameters">
<Collection>
<Record Type="Common.ValueListParameterInOut">
<PropertyValue Property="LocalDataProperty" PropertyPath="FullIndicator" />
<PropertyValue Property="ValueListProperty" String="CountPO" />
</Record>
</Collection>
</PropertyValue>
</Record>
</Annotation>
</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 |
---|---|
6 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
2 | |
1 |