Skip to Content
0

Local Annotations not applied to FIORI list report

Feb 18 at 07:21 AM

71

avatar image

Hello,

I have created local annotations for my list report to display selection variants. The selection variants work fine when I test from WebIDE. I deploy the app to SAP UI5 ABAP repository and the changes are no more available.

I logged into the gateway system to check if the annotations are present in the BSP application. I see that the annotation file is available in the BSP folders but the changes are not reflected in the app.

Not just the annotations but the UI adaptations made in the project are unavailable as well.

Is there a step that I'm missing ?

Thanks,

Kabir

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Joseph BERTHE Feb 21 at 04:57 AM
0

Hello,

Have you check the UI5 version ! Is the version are equal from your server and your webide? This could be the problems.

And other things, clear all your cache, it is very sensitive ;)

Regards

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Hello Joseph,

Thanks for the response. Cache is clearly not the issue, I have aniticipated issues related to cache and cleared it multiple times. I have even tried to deploy the changes under different projects. I will have to check the versioning differences between WebIDE and server. But, I see I get the compatible message when I deploy the application.

Thank You,

Kabir

0

Is you annotation.xml well uploaded from the network tab in Chrome ?

0

Can you share your annotation file?

0

Hi Joseph,

I have two annotations in the annotations folder, annotations.xml and annotation2.xml. I can see the annotation2.xml file but annotations.xml is not loaded in the network tab in chrome. One more thing is every time I open the annotation.xml my webIDE crashes and I have to reload the WebIDE.

Like I said the versioning seems to be okay,

Here is a copy of my annotation.xml file

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
<edmx:Reference Uri="http://docs.oasis-open.org/odata/odata-data-aggregation-ext/v4.0/cs02/vocabularies/Org.OData.Aggregation.V1.xml">
<edmx:Include Alias="Aggregation" Namespace="Org.OData.Aggregation.V1"/>
</edmx:Reference>
<edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/vocabularies/Org.OData.Capabilities.V1.xml">
<edmx:Include Alias="Capabilities" Namespace="Org.OData.Capabilities.V1"/>
</edmx:Reference>
<edmx:Reference Uri="https://wiki.scn.sap.com/wiki/download/attachments/448470974/Common.xml?api=v2">
<edmx:Include Alias="Common" Namespace="com.sap.vocabularies.Common.v1"/>
</edmx:Reference>
<edmx:Reference Uri="https://wiki.scn.sap.com/wiki/download/attachments/448470971/Communication.xml?api=v2">
<edmx:Include Alias="vCard" Namespace="com.sap.vocabularies.Communication.v1"/>
</edmx:Reference>
<edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/vocabularies/Org.OData.Core.V1.xml">
<edmx:Include Alias="Core" Namespace="Org.OData.Core.V1"/>
</edmx:Reference>
<edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/vocabularies/Org.OData.Measures.V1.xml">
<edmx:Include Alias="CQP" Namespace="Org.OData.Measures.V1"/>
</edmx:Reference>
<edmx:Reference Uri="https://wiki.scn.sap.com/wiki/download/attachments/448470968/UI.xml?api=v2">
<edmx:Include Alias="UI" Namespace="com.sap.vocabularies.UI.v1"/>
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm">
<Annotations Target="ZABC.zabc">
<Annotation Term="UI.SelectionVariant" Qualifier="Unassigned">
<Record Type="UI.SelectionVariantType">
<PropertyValue Property="Parameters"/>
<PropertyValue Property="SelectOptions">
<Collection>
<Record Type="UI.SelectOptionType">
<PropertyValue Property="PropertyName" PropertyPath="account_mgr_name"/>
<PropertyValue Property="Ranges">
<Collection>
<Record Type="UI.SelectionRangeType">
<PropertyValue Property="Sign" EnumMember="UI.SelectionRangeSignType/I"/>
<PropertyValue Property="Option" EnumMember="UI.SelectionRangeOptionType/EQ"/>
<PropertyValue Property="Low" String=" "/>
</Record>
</Collection>
</PropertyValue>
</Record>
</Collection>
</PropertyValue>
<PropertyValue Property="Text" String="Unassigned"/>
</Record>
</Annotation>
<Annotation Term="UI.SelectionVariant" Qualifier="All">
<Record Type="UI.SelectionVariantType">
<PropertyValue Property="Parameters"/>
<PropertyValue Property="SelectOptions">
<Collection>
<Record Type="UI.SelectOptionType">
<PropertyValue Property="PropertyName" PropertyPath="account_mgr"/>
<PropertyValue Property="Ranges">
<Collection>
<Record Type="UI.SelectionRangeType">
<PropertyValue Property="Sign" EnumMember="UI.SelectionRangeSignType/I"/>
<PropertyValue Property="Option" EnumMember="UI.SelectionRangeOptionType/NE"/>
<PropertyValue Property="Low" String="00000000"/>
</Record>
</Collection>
</PropertyValue>
</Record>
</Collection>
</PropertyValue>
<PropertyValue Property="Text" String="All"/>
</Record>
</Annotation>
</Annotations>
</Schema>
</edmx:DataServices>
</edmx:Edmx><br>
capture.jpg (18.0 kB)
0