Skip to Content

How to create Vocabulary based annotations in SAP OData for smart table?

Hi Experts,

I'm trying to create Vocabulary based Annotations in SEGW for a Fiori project. For this, I've checked the Sortable & Filterable properties for the Entityset.

I've created a new project for Annotations. Gave the reference model name. Imported the Vocabulary.( I imported only the UI Vocabulary)

Then I created Annotation for the Entityset and got the Line Item attribute of the annotation. Then I gave the Entity Type name (POdetails )of the referenced service in the Expression Value tab.(Here we are trying for same table functionality in the Fiori screen, and the output table needs to have Annotations hence I created only for Line item so correct me if I'm wrong.)

Then I added the Vocabulary annotations.

Then I executed the metadata for the main service. And I got the annotation file name there, but in the properties, SORTABLE & FILTERABLE doesn't appear.

Then I executed the Annotation URI and I got the below error.

I'm not sure what I've missed. Please help.

Thanks in advance,


2.png (35.0 kB)
1.png (19.1 kB)
3.png (26.3 kB)
4.png (41.9 kB)
5.png (40.9 kB)
Add comment
10|10000 characters needed characters exceeded

0 Answers