Skip to Content

Local Annotations not applied to FIORI list report

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 21 at 04:57 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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)