Skip to Content
Jul 09, 2015 at 07:30 AM

Vocabulary Annotations


hi folks,

we have a service and a Service with reference

in the with reference we use annotations

the annotation model gets called in the service-call


annotationURI : "/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Annotations(TechnicalName='%2fTYED%2fSD_ORDER_ENTRY_ANNO__M',Version='0001')/$value"

this works

but we made some annotation to a field where we want to use in e.g. smartfilterbar (comparable to the explored demo) where we want the backend searchhelp get called.

annotation service looks like that - and we have in entityset Order a Field Matnr and importet searchhelp Mat0m , so on this field the searchhelp should appear and do the work - can anyone explain me how to do this or what is missing, do we have to adapt somethin in the generated vocabulary classes (what to redefine??)

the documentation is very poor for these things ๐Ÿ˜” , i have seen in explored demo that this must be somehow possible, but as there is no explanation how to define in gateway segw ???? Kind regards oliver

-<Annotations Target="/TYED/SD_ORDER_ENTRY_SRV.Order/Matnr">-

<Annotation Term="">-

<Record Type="">

<PropertyValue String="Mat0m" Property="CollectionPath"/>

<PropertyValue String="" Property="CollectionRoot"/>

<PropertyValue Property="SearchSupported" Bool="true"/>

-<PropertyValue Property="Parameters">-


<Record Type="">

<PropertyValue String="Matnr" Property="ValueListProperty"/>

<PropertyValue Property="LocalDataProperty" PropertyPath="Matnr"/>


<Record Type="">

<PropertyValue String="Maktg" Property="ValueListProperty"/>