Skip to Content

Changes to CDS views not reflected in Fiori App


I have created the following CDS view and built an ODATA service on top of this. I have created a List Report Application using this ODATA service. Now the problem i encounter is whenever I change the @UI.lineItem position from 30 to 10 in the CDS view the changes are not reflected on my FIORI app. I have regenerated my project. Tried reloading the metadata but none of them seems to make an impact. How can I make sure the changes made in CDS view reflect in my FIORI app ?

Here is the code for my CDS view:

@AbapCatalog.sqlViewName: 'z_list_cds'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Consumption View'
@Search.searchable: true
@UI.headerInfo: { typeName: 'Employee List', typeNamePlural: 'Employee List' }
define view z_c_list_cds
as select from but050 as rel
inner join but000 as am on am.partner = rel.partner2
inner join zbupa_address as am_addr on am.partner = am_addr.BusinessPartner
inner join but000 as cust on cust.partner = rel.partner1
inner join zbupa_address as cust_addr on cust.partner = cust_addr.BusinessPartner
left outer join zamount as amount on amount.bp_number = rel.partner1
    @EndUserText.label: 'Employee Number'
    @UI.lineItem: {position: 30, importance: #HIGH }
    @UI.identification: {position: 10, importance: #HIGH }
    @Search: {defaultSearchElement: true, fuzzinessThreshold: 0.8,ranking: #HIGH }
    key partner2 as employee_num, 
    @EndUserText.label: 'Customer Number'
    @Consumption.semanticObject: 'Customer'
    @UI.lineItem: {position: 30, importance: #HIGH }
    @UI.identification: {position: 40, importance: #HIGH }
    @Search: {defaultSearchElement: true, fuzzinessThreshold: 0.8,ranking: #HIGH }
    key partner1 as customer,
    @EndUserText.label: 'Employee Name'
    @UI.lineItem: {position: 20, importance: #HIGH}
    @UI.identification: {position: 10, importance: #HIGH }
    am_addr._address.FullName emp_full_name,
    @EndUserText.label: 'Customer Name'
    @UI.lineItem: {position: 40, importance: #HIGH }
    @UI.identification: {position: 40, importance: #HIGH }
    cust_addr._address.FullName as customer_name,
    @UI.lineItem: {position: 70, importance: #HIGH } true
    @UI.fieldGroup: {qualifier: 'VALIDITY', groupLabel: 'Validity', position: 20, importance: #HIGH }
    date_to as valid_to, 
    @UI.lineItem: {position: 60, importance: #HIGH }
    @UI.fieldGroup: {qualifier: 'VALIDITY', position: 10, importance: #HIGH }
    date_from as valid_from,
    @EndUserText.label: 'amount'
    @UI.fieldGroup:{qualifier:'amount',position:10, importance: #HIGH }
    @UI.lineItem: {position: 50, importance: #HIGH }
    amount.amount as amount
    // Relationship between Customer and Employee
    rel.reltyp = 'Y00010'

Thank You,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 23, 2018 at 06:54 PM

    Hi Kabir,

    In normal cases, Annotation Change would be auto reflected in your app. You don't have to regenerate the service for annotation change( if no metadata change ).

    In your list report, are the annotation coming from backend used? or did you redefine the annotations again in Annotation Modeler in Web IDE?

    That could be a possibility. If that doesn't work, try clearing browser cache.



    Add comment
    10|10000 characters needed characters exceeded