Skip to Content
Technical Articles
Author's profile photo Leslie Castle

SAP Fiori for SAP S/4HANA – Enterprise Search Optimization

SAP Fiori for SAP S/4HANA – Enterprise Search Optimization

As a UX specialist in the S/4HANA Regional Implementation Group team I’m privileged to work with many of our SAP S/4HANA customers.  Many of these SAP S/4HANA customers are looking to drive the business benefits of SAP S/4HANA by implementing SAP Fiori at scale.

In this blog post you will learn how to further optimize SAP HANA Enterprise Search so that users have fast and efficient access to their search results – the result being happy users!

Some customers have called Enterprise Search the “killer app” of the SAP Fiori launchpad that convinces business users of the value of moving to SAP Fiori Launchpad. Spending some time to optimize Enterprise Search to meet and exceed user expectations is worthwhile.

As you may know the SAP HANA Enterprise Search functionality provides unified, comprehensive, and secure real-time access to enterprise data across business objects. Enterprise Search includes the following capabilities:

  1. Provides unified, comprehensive, and secure real-time access to enterprise data across business objects and apps:

(a) You can enter your search requests (such as a full or partial reference ID)

(b) You receive the search results through a single browser-based user interface

(c) From the search results you can launch to any related application – such as SAP Fiori apps or classic UI – giving you direct access to associated applications and actions, and saves the you from having to return to the launchpad home page to use the result in an app.

       2.Search results return both structured and unstructured data

(a) Structured data – Business objects; e.g. Purchase Orders, Suppliers, Sales Orders

(b) Unstructured data – Google like search: all the data that the user is authorized to see

You can see these capabilities from the following example:

  • To initiate SAP HANA Enterprise search, you proceed as follows:
    1. Select Business Object (e.g. Sales Orders)
    2. If necessary, enter a search term
    3. Click on the search icon

SAP%20HANA%20Enterprise%20Search%20-%20example

SAP HANA Enterprise Search – example

  • The search results and links are provided that you can then launch:

SAP%20HANA%20Enterprise%20Search%20-%20example%20results

SAP HANA Enterprise Search – example results

 

See also the excellent Youtube video Find things quickly and easily using search in the SAP Fiori Launchpad

SAP HANA Enterprise search currently allows you to search for the following:

  1. Search Fiori Apps and Business Objects (All)
  2. Search Apps only (Apps)
  3. Search within a specific Business Object (e.g. Activity Types)

You can see these options in the example below.

SAP%20HANA%20Enterprise%20Search%20-%20search%20options

SAP HANA Enterprise Search – search options

As of S/4HANA  1909, SAP_UI 7.54 (FES6.0) & SAPUI5 1.71.12 there are 3 new configuration options available that allow you further optimization possibilities – depending on your use cases and technical requirements. The 3 configuration options are:

  • defaultSearchScopeApps=true
  • searchScopeWithoutAll=true
  • searchBusinessObjects=false

Read on so you can understand these configuration options and their use cases.

At the time of writing the latest SAP HANA Enterprise Search configuration documentation can be found here: Enterprise Search  NOTE : If you start at https://help.sap.com/s4hana_op > select your SAP S/4HANA version, and then search for the SAP HANA Enterprise Search guide & you will get the correct guide for your version. Further information on the configurations described in this blog post can be found in the SAP NOTES below:

Configuration Steps for Enterprise Search Optimisation

You will need access to the following for these new configurations:

  • Maintenance View /UI2/FLPSETPDV – FLP Setting Definition
  • Transaction            /UI2/FLP_CUS_CONF – FLP Customer Settings

Pre-requisite:

You use maintenance view /UI2/FLPSETPDV (FLP Setting Definition) to ensure the following parameters exist in your system (as of SAP S/4HANA 1909 FPS02 system they are included as standard) – if not you need to configure  them:

  • defaultSearchScopeApps
  • searchScopeWithoutAll
  • searchBusinessObjects

The following configurations should be used:

  1. First Entry:

PROPERTY_ID: “DEFAULT_SEARCH_SCOPE_APPS”

(FLP Category: “FLP UI Client Settings”)

Property Path: “renderers/fiori2/componentData/config/esearch/defaultSearchScopeApps”

Data type: “Boolean (true/false)”

Description: “Set default search scope as Apps”

  1. Second Entry:

PROPERTY_ID: “SEARCH_BUSINESS_OBJECTS”

(FLP Category: “FLP UI Client Settings”)

Property Path: “renderers/fiori2/componentData/config/esearch/searchBusinessObjects”

Data type: “Boolean (true/false)”

Description: “Enable search business objects”

  1. Third Entry:

PROPERTY_ID: ” SEARCH_SCOPE_WITHOUT_ALL”

(FLP Category: “FLP UI Client Settings”)

Property Path: “renderers/fiori2/componentData/config/esearch/searchScopeWithoutAll”

Data type: “Boolean (true/false)”

Description: “Set search scope without all”

A sample configuration screen for ‘defaultSearchScopeApps’ is shown below:

SAP%20HANA%20Enterprise%20Search%20-%20example%20configuration

SAP HANA Enterprise Search Optimization – Configuration Options

1. By Default, SAP HANA Enterprise Search in the launchpad appears with the search                  for All, Apps and Business Objects that the user is authorized for.

Why? This is best practise  – Enterprise Search is the “killer app” of the SAP Fiori launchpad.

SAP%20HANA%20Enterprise%20Search%20-%20default

SAP HANA Enterprise Search – default

 2. You can turn SAP HANA Enterprise Search off altogether. To avoid conflicts you should only set this parameter and not any of the others.

SAP%20HANA%20Enterprise%20Search%20-%20turned%20off

SAP HANA Enterprise Search – turned off

Effect in launchpad – no SAP HANA Enterprise Search feature available.

Why? Some customers do this because your users may have a very simple locked down home page, e.g. for a casual user who may only have a single page of apps.

SAP%20HANA%20Enterprise%20Search%20-%20turned%20off%20-%20example

SAP HANA Enterprise Search – turned off – example

           3. You can set the SAP HANA Enterprise Search scope “Without All” option

SAP%20HANA%20Enterprise%20Search%20-%20Without%20All

SAP HANA Enterprise Search – Without All

Why? Some customers do this because they have very large amounts of data in their SAP S/4HANA 1909 FPS02 systems and they want to  default search scope to apps, they do NOT want users searching across all business objects – e.g. very large data volumes and they are concerned about the impact on their system.

Impact on launchpad – The All option is missing, Search defaults to Apps followed by the Business Objects the user is authorized for.

SAP%20HANA%20Enterprise%20Search%20-%20Without%20All%20-%20example

SAP HANA Enterprise Search – Without All – example

           4. You can set the SAP HANA Enterprise Search scope to default to Apps.

Why? Some customers do this because they want to default search scope to apps as users most common search is for apps and UIs (search by name or TCODE). Note this option is a local search and does not start a search on the SAP S/4HANA 1909 FPS02 system.

SAP%20HANA%20Enterprise%20Search%20-%20Apps

SAP HANA Enterprise Search – Apps

 Impact on launchpad – Search defaults to Apps when you select the Search icon.

SAP%20HANA%20Enterprise%20Search%20-%20Apps%20-%20example

SAP HANA Enterprise Search – Apps – example

            You can still use the drop down to reach All and Business Objects that you are                        authorized to search for.

SAP%20HANA%20Enterprise%20Search%20-%20Apps%20-%20example

SAP HANA Enterprise Search – Apps – example

           5. You can set the SAP HANA Enterprise Search scope to appear without Business                 Objects.

 Why? Some customers do this because they want to default search scope to   apps, they do NOT want users searching across any business objects – e.g. they   may have some very large data volumes (e.g. billions of entries) and they are   concerned about the impact on their system.

SAP%20HANA%20Enterprise%20Search%20-%20without%20Business%20Objects

SAP HANA Enterprise Search – without Business Objects

           Impact on launchpad – only search for Apps is available

SAP%20HANA%20Enterprise%20Search%20-%20without%20Business%20Objects%20-%20example

SAP HANA Enterprise Search – without Business Objects – example

Conclusion:

With the configuration options in this blog post, you will be able to offer your business users a wider range of fast and effect configuration options with SAP HANA Enterprise Search.

Disclaimer: Not all parameters are available for all SAP S/4HANA releases and SAPUI5 versions.

Becoming an SAP Fiori for SAP S/4HANA guru

Tip: The screenshots in this blog post were taken in an SAP S/4HANA 1909 FPS02 system, with the SAP Fiori frontend server is in an embedded mode.

You’ll find much more on our SAP Fiori for SAP S/4HANA wiki

Brought to you by the S/4HANA RIG

Assigned tags

      7 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo shweta nargachhe
      shweta nargachhe

      Thanks Liselise.This blog is very helpful. I would like to know further details how to control access to enterprise search function authorizations at user level.

       

      Any further best practices to optimize performance of search function.

      Regards,

       

      Shweta

      Author's profile photo Leslie Castle
      Leslie Castle
      Blog Post Author

      Hi Shweta

      Please see the blog below by my colleague, this has good content on how to limit access on authorizations for SAP Enterprise Search.

      https://blogs.sap.com/2017/08/22/fiori-for-s4hana-limit-search-object-access-in-fiori-launchpad/

      I'll see if I can find any further info on SAP Enterprise Search Optimizations and post here also.

      Leslie

      Author's profile photo Leslie Castle
      Leslie Castle
      Blog Post Author

      Hi Shweta

      For further performance info - please see https://launchpad.support.sap.com/#/notes/0002571623.

      If you are still concerned with performance, then take an HTTP watch trace & submit that as a SAP Incident along with some idea of the data volumes being searches

      For system copies - you will need to reconfigure SAP Enterprise Search - How to execute SAP_ESH_RESET

      Hope this helps.

      Leslie

      Author's profile photo shweta nargachhe
      shweta nargachhe

      Thank you.This will help.

      Author's profile photo Leslie Castle
      Leslie Castle
      Blog Post Author

      Hi Shweta

      Also, try TCODE - ESH_DASHBOARD. there you can find a performance section that provides some hints on the shared memory consumption which you might need to adjust.

      Hope this helps.

      Leslie

       

      Author's profile photo Daniel Robinson
      Daniel Robinson

      Hi,

      Is Enterprise Search and TREX an option for non HANA SAP?

      Author's profile photo Leslie Castle
      Leslie Castle
      Blog Post Author

      Hi Daniel

      Apologies for the delayed reply. Enterprise Search has been around for a while and can also be used against older systems (ECC, etc.) and on a non-HANA DB, do bear in mind that newer features and innovations may not be available.

      Leslie