
SAP Fiori search enables users to search for business objects across the SAP S/4HANA system and to search for apps in the SAP Fiori launchpad. It uses the SAP Enterprise Search on HANA. With SAP HANA as a basis, the search directly accesses transactional database tables.
SAP HANA-enabled search models are available for important business objects. They have a simple, table-based structure, which enables a high performance in the determination of search results.

To enable the SAP Fiori search in the SAP Fiori launchpad, perform the steps described below. The search for business objects is enabled through corresponding search models.
SAP Fiori Search and Object Pages: The object page app does not require search models to work. However, if you want to start the app from search, you must activate the underlying search connectors.
Note
The setup of SAP Fiori search is a prerequisite for the use of object pages.
The execution of task list, SAP_ESH_RESET, is an optional step. Use this task list to reset Enterprise Search-specific data and configuration. After the task is processed, Enterprise Search is in the delivery state.
Exception: Customer-specific models will not be deleted by default. To set the Enterprise Search into the delivery state without customer-specific models, you should deactivate the corresponding default setting in the parameter view of this task.

The task list, SAP_ESH_INITIAL_SETUP_WRK_CLIENT, provides the automatic initial setup of Enterprise Search in the work client. This can take a very long time, so start the task list in the background.
Caution
The task lists for enterprise search may consume an extreme amount of memory and may run several hours depending on the number of search connectors.
Note
Furthermore, see SAP Note 2626107How to execute task list SAP_ESH_INITIAL_SETUP_WRK_CLIENT; this note also lists older SAP_BASIS releases where you have to execute task list SAP_ESH_INITIAL_SETUP_000_CLIENT in client 000 before executing task list SAP_ESH_INITIAL_SETUP_WRK_CLIENT in the work client(s).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.
At the task with description Set TREX Destination or SAP HANA DB Connection, select Use SAP HANA Primary DB Connection: DEFAULT (in case of an SAP S/4HANA system). The SAP_ESH_INITIAL_SETUP_WRK_CLIENT task list is not specific to SAP S/4HANA systems – the options Use TREX and Use SAP HANA Secondary DB Connection (for SAP HANA as a sidecar) apply to SAP Business Suite systems. Fact sheet apps, however, require SAP HANA as database.
At the task with description, Select Models to Create Connectors, enter SAPAPPLH as Software Component (in case of an SAP S/4HANA system).
Note the job log of a job starting with STCTM_.
The execution of task list SAP_ESH_CREATE_INDEX_SC is an optional step. Use this task list to create and index search connectors – the tasks of task list SAP_ESH_CREATE_INDEX_SC are a subset of the tasks of task list SAP_ESH_INITIAL_SETUP_WRK_CLIENT.

After the task list SAP_ESH_INITIAL_SETUP_WRK_CLIENT is completed, execute report ESH_REFRESH_RUNTIME_BUFFER to update the runtime buffer.