on 2023 Jun 20 10:14 PM
Good day
At our client we are using Fiori Elements reading ABAP oData V2 from SEGW, we have a smart filter at the top and a table with columns that has filters, if we use filters on their own they work, but if it is used together, it clears all filters.
<Annotation Term="UI.SelectionFields"> <Collection> <PropertyPath>Rbukrs</PropertyPath> //Company Code <PropertyPath>Ebeln</PropertyPath> //Purchasing Doc </Collection> </Annotation>
<Annotation Term="UI.LineItem"> <Collection> <Record Type="UI.DataField"> <PropertyValue Property="Value" Path="Rbukrs" /> <PropertyValue Property="Label" String="{@i18n>,companyCode}"/> </Record> <Record Type="UI.DataField"> <PropertyValue Property="Value" Path="Ebeln"/> <PropertyValue Property="Label" String="{@i18n>purchDoc}"/> </Record> </Annotation>
Kind Regards
There is an error in the provided code snippet. The <Annotation>
tags are not closed properly. Here's the corrected version of the code:
<Annotation Term="UI.SelectionFields">
<Collection>
<PropertyPath>Rbukrs</PropertyPath> <!-- Company Code -->
<PropertyPath>Ebeln</PropertyPath> <!-- Purchasing Doc -->
</Collection>
</Annotation>
<Annotation Term="UI.LineItem">
<Collection>
<Record Type="UI.DataField">
<PropertyValue Property="Value" Path="Rbukrs" />
<PropertyValue Property="Label" String="{@i18n>companyCode}"/>
</Record>
<Record Type="UI.DataField">
<PropertyValue Property="Value" Path="Ebeln"/>
<PropertyValue Property="Label" String="{@i18n>purchDoc}"/>
</Record>
</Collection>
</Annotation>
In the corrected code, the <Annotation>
tags are closed properly, ensuring the correct XML structure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.