Overview
When users want to search for data in the SAP Fiori launchpad, the SAP Fiori search accesses the SAP HANA enterprise search, SAP Enterprise search helps you find apps and central business objects from the search bar. This is a search solution providing unified, comprehensive, and secure real-time access to enterprise data and information from within and outside of a company. The search returns both structured data (business objects) and unstructured data (HTML files, presentations, documents) from SAP systems and other search providers and allows direct access to the associated applications and actions.

Every application that uses SAP AS ABAP as its underlying technology platform can use Enterprise Search as the technology for basic searches. Enterprise Search allows you to search all structured data in an application in a unified way. Enterprise Search contains tools for creating and changing search models.
SAP HANA is the database used for Enterprise Search. Enterprise Search enables direct search access to your business data stored in the tables in SAP HANA.
Activation of the Enterprise Search – Fundamentals
The Enterprise Search is activated for each client individually. Mainly it should be executed on clients with SAP Fiori usage and extended need for search capabilities.

The necessary steps to enable the SAP Fiori search in the SAP Fiori launchpad are part of the task list for activating SAP Enterprise Search. The task list, SAP_ESH_INITIAL_SETUP_WRK_CLIENT, provides the automatic initial setup of Enterprise Search in the work client.
Note
The user who executes the enterprise search setup tasks owns the administrator role SAP_ESH_LOCAL_ADMIN or a role which has at least all authority objects of the role SAP_ESH_LOCAL_ADMIN.
The search for business objects is enabled through corresponding search models.
Since the search connectors are searching with a specific scope only relevant models are beneficial for the user. Based on the used applications the relevant search connectors can be found in different places:
- SAP Fiori Apps Reference Library
- SAP Notes
- SAP Standard Business Roles
- ESH Modeler
A collection made from all of these different sources should be used to get all the relevant search models.
As an example the selection of search models using the SAP Fiori Apps Reference Library is shown on the figure below. Based on the used applications the relevant search connectors can be found in the SAP Fiori Apps Reference Library. Therefore select all relevant apps for the role you want to limit the cope of the search and aggregate them.

Restriction of the Enterprise Search

Enabling access to all search connectors might have a bad influence on the performance of the system. Not every user needs access to all search connectors. Restricting the Enterprise Search restricts access to the necessary search connectors.
This can be achieved by restricting the authorizations for the authorization objects S_ESH_CONN and SDDLVIEW.
As an example we look at the enterprise search models used in the SAP Fiori app Material Documents Overview
Each classical search model has a corresponding CDS based search model. The following table provides an overview of the search models:
Example for Search Model
Model Name | Classical Model | CDS Based Model |
---|---|---|
Material Document | MATERIAL_DOCUMENT_H | ESH_S_MATDOC |
Physical Inventory | MATERIAL_INVENTORY_H | ESH_S_PHYSINVTRY |
The required authorizations for the search models are part of the authorization defaults:
R3TR IWSV MMIM_MATDOC_OV_SRV 0001
When creating roles, depending on what search model will be used, the following authorizations shall be taken over into the role:
Authorizations for Search Model
Search Model | Authorization Object | Field Name and Value |
---|---|---|
MATERIAL_DOCUMENT_H | S_ESH_CONN | TEMPL_NAME = MATERIAL_DOCUMENT_H |
MATERIAL_INVENTORY_H | S_ESH_CONN | TEMPL_NAME = MATERIAL_INVENTORY_H |
ESH_S_MATDOC | SDDLVIEW | DDLSCRNAME = ESH_S_MATDOC |
ESH_S_PHYSINVTRY | SDDLVIEW | DDLSCRNAME = PHYSINVTRY |


Another Example for enterprise search models in Bank Relationship Management is shown in SAP Note 2847374 - Enterprise Search Models in Bank Relationship Management: Availability of CDS based search models in SAP S/4HANA 1909.

To ensure a proper restriction of the Enterprise Search please make sure:
- All manifestations of the S_ESH_CONN and SDDLVIEW authorization objects are restricted
- The user has no SAP_ALL authorization profile
- The authorizations in standard SAP Business Roles are set accordingly