@Search-annotations require 'searchable' for the view

Message type: E = Error

Message class: ESH_ENG_CDSVAL_SRCH - ES-CDS/ABAP: Validation of domain @Search

Message number: 015

Message text: @Search-annotations require 'searchable' for the view



What causes this issue?

There is some annotation of domain @Search, but the view itself does not
carry the annotation @Search.searchable.


System Response

The system ignores all element-level annotations of @Search; they are
not even validated.


How to fix this error?

If you want the view to be searchable, add annotation @Search.searchable
for the view.
If you do not want the view to be searchable, remove all annotations of
domain @Search or annotate the view explicitly with @Search.searchable:
false.


Procedure for System Administrators

The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


Error message extract from SAP system. Copyright SAP SE.