Do you have any question about this error?
Message type: E = Error
Message class: ESH_ENG_CDSVAL_ES - ES-CDS/ABAP: Validation of domain @EnterpriseSearch
Message number: 057
Message text: 'hidden': no ES-Connector will be generated!
@EnterpriseSearch.hidden means that the data source must be hidden from
the generic search UI of Enterprise Search but still be processed by the
API of Enterprise Search.
No Enterprise Search connector is derived for this view, because
connectors are meant for search UI of Enterprise Search. Also, the view
is not added to the Enterprise Search runtime load, which itself has its
purpose in the search UI of Enterprise Search.
For searching this view, the Enterprise Search API (class
CL_ESH_IF_SEARCH_REQUEST) can be used (given the validation succeeded).
The search scope must be set via method ADD_SEARCH_SCOPE_CDS( ).
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.
ESH_ENG_CDSVAL_ES057
- 'hidden': no ES-Connector will be generated! ?The SAP error message ESH_ENG_CDSVAL_ES057 indicates that there is an issue with the generation of an Enterprise Search (ES) connector in the context of Core Data Services (CDS) views. This error typically arises when the system is unable to generate a connector for a specific CDS view due to certain conditions not being met.
Cause:
- Hidden Fields: The error message specifically mentions "hidden," which suggests that there are fields in the CDS view that are marked as hidden. Hidden fields cannot be used in the ES connector generation process.
- Incompatible Data Types: If the CDS view contains fields with data types that are not supported for ES connectors, this can also lead to the error.
- Missing Annotations: The required annotations for the CDS view might be missing. Annotations are essential for defining how the data should be treated in the context of Enterprise Search.
- Technical Issues: There could be underlying technical issues with the CDS view or the system configuration that prevent the connector from being generated.
Solution:
- Review the CDS View: Check the definition of the CDS view for any fields that are marked as hidden. If these fields are not necessary for the ES connector, consider removing or modifying them.
- Check Data Types: Ensure that all fields in the CDS view have compatible data types that can be used in the ES connector.
- Add Required Annotations: Make sure that the necessary annotations for Enterprise Search are included in the CDS view. This may include annotations like
@Search.searchable
or@Search.defaultSearch
.- Test the CDS View: Execute the CDS view in the ABAP environment to ensure it is functioning correctly and returning the expected results.
- Re-generate the ES Connector: After making the necessary changes, attempt to regenerate the ES connector for the CDS view.
Related Information:
If the problem persists after following these steps, consider reaching out to SAP support for further assistance.
Get instant SAP help. Start your 7-day free trial now.
ESH_ENG_CDSVAL_ES056
'configurationSet' &1 does not exist (&2)
What causes this issue? Enterprise Search Configuration Set &V1& which is to be assigned to the element via @EnterpriseSearch.configurationSe...
ESH_ENG_CDSVAL_ES055
@EnterpriseSearch.enabled missing - no ES-Connector!
What causes this issue? This CDS-entity carries annotations of @EnterpriseSearch, but the annotation @EnterpriseSearch.enabled is missing. Such a con...
ESH_ENG_CDSVAL_ES058
'hidden' must be annotated at view level
What causes this issue? @EnterpriseSearch.hidden can be annotated at view level only.System Response The system issues an error message and will not...
ESH_ENG_CDSVAL_ES059
Test search error: &1
What causes this issue? To finally validate whether the view can be processed by the Enterprise Search-API, some test searches are carried out on the...
Click on this link to search all SAP messages.