2025 Feb 24 11:24 AM - edited 2025 Feb 24 11:55 AM
Hi FioriElements - experts,
I'm a Fiori Elements newbe and work on my first App. The App displays all kind of information from SAP BP, SAP-FSCD (insurance) and DWH.
Data are coming from CDS-Views. The annotations are done in both, CDS and XML, depending on where it was easier to achieve…
Most things are fairly easy/straight forward and work fine.
However, i'm struggeling with a couple of issue. I found information in the community, but they did not work… 😞 So i decided to bring them up here, hoping to find some advice.
Thanks in advance for any response!
Best regards from Germany
Matthias
Here is the list of all issues. So please check my other posts as well 🙂
ListReport - relatet:
1. Value-Help that does not load the data immediately
ObjectPage - relatet:
2. Dynamic SemanticObject (for SemanticNavigation)
3. Display Labels for a ColumnMicroChart
4. Grouping of table-entries
5. Two tables per section with CollectionFacet-annotation
6. ToolTip for a FieldGroup - Table-Column
---------------------------------
3. Labels for a ColumnMicroChart
I included a ColumnMicroChart as HeaderFacet.
There seems to be no way to display the labels of the x-Axis.
I want to achieve something like this:
I tried both, CDS- and XML-annotations:
"@UI.chart: [{ qualifier:'balanceChart',
title:'Offene Posten',
description:'Saldo pro Belegart',
chartType:#COLUMN,
measures:['balance'],
measureAttributes:[{ measure:'balance',
role:#AXIS_1,
asDataPoint:true }],
dimensions:['blart'],
dimensionAttributes:[{ dimension:'blart',
role:#CATEGORY }]
}]
DataPoints:
"@EndUserText :{ quickInfo:'Belegart', label:'BA' }
"@UI.dataPoint:{ title:'BA', qualifier:'blart',
description:'Belegart' }
"@UI.lineItem:[{ position:10 }]
key blart,
"@EndUserText :{ quickInfo:'Offener Betrag nach Belegart',
label:'Saldo' }
"@UI.dataPoint:{ title:'Saldo', qualifier:'balance',
description:'Offener Betrag nach
Belegart', criticality:'balance_crit' }
"@Semantics.amount.currencyCode:'Currency'
"@UI.lineItem:[{ position:20 }]
balance,
"@EndUserText :{ quickInfo:'Währung', label:'EUR' }
"@Semantics.currencyCode:true
"@UI.lineItem:[{ position:30 }]
currency,
"@UI.lineItem:[{ position:40 }]
case when balance < 0 then 3
when balance > 0 then 1
else 0
end as balance_crit
<Annotations Target="...bp360_serv.bp_voType/balance">
<Annotation Term="UI.DataPoint" Qualifier='balance_datapoint'>
<Record Type="com.sap.vocabularies.UI.v1.DataPointType">
<PropertyValue Property="Value" Path="balance"/>
<PropertyValue Property="ValueFormat">
<Record Type="com.sap.vocabularies.UI.v1.NumberFormat">
<PropertyValue Property="NumberOfFractionalDigits" Int="2"/>
</Record>
</PropertyValue>
</Record>
</Annotation>
</Annotations>
Either the value nor the Category is displayed. There ist supposed to be a property "showDataLabel". But this is not available...
In ControlTree-Diagnostics, I can activate: allowColumnLabels = True. Then, the value is displayed.
The label-Property is empty, but i can manually enter it:
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.