cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Scaling is not working in SAP OVP Table card

muhsin_panakkal
Participant
0 Kudos
97

Hi Experts,

I have developed an SAP OVP application using annotations, and I’m currently facing an issue with the sap.ovp.cards.table template. Specifically, the scaling of numeric values is not working as expected. Despite applying the relevant annotations, the card displays the full amount instead of the scaled value.
Below is the annotation I’ve used. Could anyone guide me on how to resolve this issue or suggest what might be missing?

Thank you in advance for your support!

Abdul

<Annotation Term="UI.DataPoint" Qualifier="Balance">
<Record Type="UI.DataPointType">
<PropertyValue Property="Value" Path="BalanceAmount"/>
<PropertyValue Property="Title" String=""/>
<PropertyValue Property="ValueFormat">
<Record Type="UI.NumberFormat">
<PropertyValue Property="ScaleFactor" Decimal="1000"/>
<PropertyValue Property="NumberOfFractionalDigits" Int="2"/>
</Record>
</PropertyValue>
</Record>
</Annotation>
<Annotation Term="UI.LineItem" Qualifier="TestQualifier">
<Collection>
<Record Type="UI.DataField">
<PropertyValue Property="Label" String="Customer Group"/>
<PropertyValue Property="Value" Path="CustomerCategoryText"/>
</Record>
<Record Type="UI.DataFieldForAnnotation">
<PropertyValue Property="Target" AnnotationPath="@UI.DataPoint#Balance"/>
</Record>
</Collection>
</Annotation> ​

 

Accepted Solutions (0)

Answers (0)