4 weeks ago - last edited 3 weeks ago
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>
Request clarification before answering.
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.