Skip to Content
avatar image
Former Member

CDS Annotations: fiori elements

Hi all,

I'm trying to use the fiori elements to create a list report. A known blog about this subject: https://blogs.sap.com/2016/11/16/fiori-elements-how-to-develop-a-list-report-basic-approach/

I get the data from my CDS and I receive it at my fiori app. So the gateway works for my data. However, I don't get my UI.Annotations in my metadata. So I can't load an annotation file.

I'll add some printscreens to show what I have.

Is there something that I'm missing? I just started with CDS, so maybe it is something essential that I have forgotten. I reactivated my CDS view, so I guess he should give my UI.Annotations to the gateway?

Already thank you for your time.

cdsview.png (31.4 kB)
gateway1.png (85.7 kB)
gateway2.png (55.6 kB)
fiori.png (31.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 11, 2017 at 12:35 AM

    We has same issue. tried clearing browser cache, delete the projects which had been using this service.

    then create new project, select service, then we can see 2 files loaded - metadata & annotation files.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 03, 2018 at 07:31 PM

    Hello,

    1. what is your version of Netweaver ?
    2. is your OData service Registered on HUB or are you calling it directly on the backend?

    As an option you can check in /n/IWFND/MAINT_SERVICE try to load Metadata of your service by clicking on Load Metadata button. If gives an error you might need to regenerated your OData service. Try commenting out @Odata.publish.true and activating it and then remove the comment and activate again. If that doesn't help, you can delete your service, but before deleting it you must delete SystemAlias and then SICF Node and only after that delete the selected service.

    Re-register it again and you will be able to see VAN file in WEBIDE

    Br
    Kairat

    Add comment
    10|10000 characters needed characters exceeded