Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert

You can now find the list of duplicate searches in SAP Note 3122697 - Equivalence between CDS views and classical search models !

Latest Updates:

    • November 2021: We found some more! Check the table below for the list of duplicates in SAP S/4HANA 2021.  For lower releases you will find some but not all of these new CDS View searches - just deactivate any duplicates you see listed in your list of  search objects.


    • Just added: A  useful hint on how to capture the  search object list text from the web browser so you can cut and paste the exact IDs of  the  affected search connectors. With thanks to jbaltazar .  Plus a SAP Note re capabilities of Manage Search Models in SAP S/4HANA 2021 (versus SAP S/4HANA 2020) kindly pointed out by SAP Community member rachid.kaouass1. Also there are some additional app documentation links for the SAP Fiori apps for Enterprise Search. 

The use case:

You activated all search objects in SAP Fiori for SAP S/4HANA, for example using task list SAP_ESH_INITIAL_SETUP_WRK_CLIENT and software component SAPAPPLH.

Hint: SAPAPPLH is the standard software component for all the delivered search models for SAP S/4HANA.

The problem:

When you go to use thee Search in the SAP Fiori launchpad, you notice there are some searches  in the dropdown lists of  Search Objects that are marked as duplicates. This looks ugly, as the duplicates also show the technical search connector ID to distinguish between the duplicates.  And it's very confusing for your business users. How do you stop this?


Duplicate search objects appearing in the search objects dropdown of SAP Fiori launchpad search feature

The solution:

Don’t worry it’s easy to fix!

In this blog post you will learn:

    • Why you might see duplicate search objects
    • How to remove (deactivate) unwanted search objects
    • List of Known Duplicate Search Objects
    • Why Enterprise Search is moving to CDS View based searches
    • How to reactivate a search object
    • How to handle search connectors when you upgrade or change the models
    • For the techies - capturing the list of duplicates from the web browser
    • Further resources for Enterprise Search


Why you might see duplicate search objects

Enterprise Search is moving to CDS View powered searches over time.  This is a gradual process  that started with SAP S/4HANA 1809 and continues across higher SAP S/4HANA releases. So where you see “duplicate” searches it’s usually where a new CDS View search model has been introduced to replace the older classic search option.

What are Search Models? A search model contains the technical details for a search object, such as the data source,  which fields are used to filter the search, which fields are shown in search results, what semantic object is used to derive the app links shown with the search results, etc.

What are Search Connectors? When activating a search model, a search connector is created. A connector is the runtime object corresponding to the search model. It is system-specific and client-specific.

Classic search connectors have a technical name that starts with the system and client followed by the search model name, for example: S4H100~VENDOR_H~ where the System ID = S4H and the client = 100, and the search model is VENDOR_H.

CDS View-based search connectors have a technical name that starts with CD$ALL followed by the search model name, for example: CD$ALL~ESH_U_SUPPLIERSM~ where the search model is ESH_U_SUPPLIERSM.

Hint: Notice that classic search connectors are client-dependent, while CDS View based searches  are cross client. This is why CDS View search connectors start with CD$ALL, i..e all clients.

Occasionally when upgrading, even the new CDS View search may have been replaced by a revised and improved CDS View search model in your release.

For example, for Activity Types the newer search connector CD$ALL~ESH_U_ACTYTYPEV2~  supersedes the older  CD$ALL~ESH_U_ACTIVITY_T~. Similarly for cost centers the newer search connector  CD$ALL~ESH_S_CSTCNTRV2~ supersedes the older search connector CD$ALL~ESH_U_COST_CENTE~.

It is this technical search connector ID you see in the search dropdown list when there are duplicates.  For example in the screenshot below you can see the rows  Cost  Center duplicate CD$ALL~ESH_S_CSTCNTRV2~ and Cost Center duplicate CD$ALL~ESH_U_COST_CENTE~.


There are multiple CDS View search models for Cost Center

So you need to know how to deactivate both classic search objects and CDS View search models, or more precisely their search connectors.

What are Search Connectors? When activating a search model, a search connector is created. A connector is the runtime object corresponding to the search model. It is system-specific and client-specific.

How to remove unwanted search objects

There are 2 main options for deactivating search objects, or to be precise, to deactivate the matching Search Connector for your system and client.

    1. For both classic search objects and CDS View-based search objects, you can deactivate the matching search connector in transaction ESH_COCKPIT
    2. For CDS View searches only, you can deactivate the matching search connector in SAP Fiori app F3036 Manage Search Models

There is also a 3rd fallback technical option in case of unexpected issues (or if your SAP S/4HANA release does not include SAP Fiori app F3036 Manage Search Models). This fallback option uses transaction ESH_DASHBOARD.

You will find a summary of the procedure for each approach below.

Deactivating search connectors in the Enterprise Search Cockpit (transaction ESH_COCKPIT)

Launching transaction ESH_COCKPIT will take you to a ABAP Web Dynpro application for managing enterprise search models titled “Connector Administration Cockpit”. You can review all available search models and deactivate unwanted search models using the cockpit.


Transaction ESH_COCKPIT launches the Connector Administration Cockpit and shows the Active or Inactive status of searches

For example, you might have 2 search duplicates called Object Link. These are searches relevant to Plant Maintenance. In the search object dropdown list in the SAP Fiori launchpad you can see these listed as:

    • Object Link duplicate S4H100~OBJECT_LINK_H~
    • Object Link duplicate CD$ALL~ESH_U_OBJECTLINK~

In other words  you have 2 search connectors active that provide much  the same data:

    • Object Link S4H100~OBJECT_LINK_H~
    • Object Link CD$ALL~ESH_U_OBJECTLINK~

The CD$ALL search is the newer CDS View based search, so you want to deactivate the classic search S4H100~OBJECT_LINK_H~.


1. Launch the cockpit. You can use transaction ESH_COCKPIT or go to the URL below with your using your host, port, client, and language code where indicated:

https://<host>:<port>/sap/bc/webdynpro/sap/esh_admin_ui_component?sap-client=<client>&sap-language=<...; u

For example in a CAL SAP S/4HANA Fully Activated Appliance Trial the URL is:


2. Search for the connector – you can use the technical name or search object name with the menu button option Find > Find Connector. Hint: If you are using the search object name, press the Find Connector option again to find the next matching value.


Transaction ESH_COCKPIT searching for the connector by name object link

3. Select the top row of the search model (e.g.S4H100~OBJECT_LINK_H~) you want to deactivate.  Then select Actions > Deactivate. Hint: The Deactivate option is only available if the search model is currently active.


Showing the Deactivate option of the menu button Actions in the Connector Administration Cockpit - notice that the search connector to be deactivated is selected via the checkbox at the start of the row

4. Check that the status of the search model is now Inactive


Deactivated search connector has the status Inactive


Deactivating search models using SAP Fiori app F3036 Manage Search Models

Typically, you would use this approach when you want to deactivate a superseded search model, or you want to deactivate a CDS view based search you do not need. For example, Allergens might be relevant if you are in the Pharmaceuticals or Agriculture industries, but not relevant if you are in Professional Services.


You must be assigned the app via your business role. For example, using the SAP Business Role: Administrator (SAP_BR_ADMINISTRATOR).

1. Launch the SAP Fiori app F3036 Manage Search Models to see all available CDS View-based search models and their activation status.


Both Cost Center models are active as shown in F3306 Manage Search Models

2. Expand the search model you want to deactivate

Expanded search model for search view ESH_S_COST_CENTER showing details including the Enabled Yes/No toggle button in the header and the status for the search model and the search view

3. Switch the Enabled toggle button from Yes to No. Confirm you want to disable the search.


Confirmation dialog showing Disable and Cancel buttons

4. Confirm your search model is now listed in status Inactive.



Unwanted search is now shown in Inactive status in F3306 Manage Search Models

5. Refresh your web browser and check the unwanted search is no longer shown in the search objects list.

Search object list now has only one search for Cost Center

Deactivating search models using transaction ESH_DASHBOARD

This is a very technical approach that is useful in older releases or when you come across unexpected errors during deactivation.  For instructions, refer to SAP Note 2896358 - How to deactivate CDS connectors in Enterprise Search

You can also use the dashboard to confirm how many classic and CDS view-basd searches you are using

List of Known Duplicate Search Objects

This list is based on experience and has been gathered from SAP S/4HANA 2020 and SAP S/4HANA 2021 systems.

The list may not be complete. Please let us know in the comments of any others you find.

IMPORTANT: You can now find the list of duplicate searches in SAP Note 3122697 - Equivalence between CDS views and classical search models

In the table below, the best available CDS Search Connector in the latest SAP S/4HANA 2021 release at time of writing is highlighted in blue and bold.

For lower releases of SAP S/4HANA you will find some but not all of these new CDS View searches - just use this list to guide you as you deactivate any duplicates you find listed in your list of search objects.


Business ObjectApplication AreaClassic Search ConnectorReplaced by CDS Search Connector
Activity TypeCO<system><client>~ACTIVITY_TYPE_H~CD$ALL~ESH_U_ACTYTYPEV2~
Deactivate earlier version: CD$ALL~ESH_U_ACTIVITY_T~
Allergen GroupPLM<system><client>~ALLERGEN_GROUP_H~CD$ALL~ESH_U_ALLERG_GRP~
Bill of Material / Material BOM HeaderLO<system><client>~MBOM_APPL_MODEL_H~CD$ALL~ESH_U_MBOMHEADER~
Billing Document
Billing Document RequestSD<system><client>~BILL_DOC_REQ_H~CD$ALL~ESH_U_BILDOCREQS~
Change RecordPLM<system><client>~CHANGE_RECORD_H~CD$ALL~ESH_U_CHGRCDH~
Change Number
Cost CenterCO<system><client>~COST_CENTER_H~CD$ALL~ESH_U_CSTCNTRV2~
Deactivate earlier version: CD$ALL-ESH_U_COST_CENTE~
Cost Center Group
Credit Memo RequestSD<system><client>~CREDIT_MEMO_REQ_H~CD$ALL~ESH_U_CRDTMEMREQ~
Customer MaterialSD<system><client>~CUSTOMER_MAT_INFO_H~CD$ALL~ESH_U_CUSTMAT~
Customer Return
Debit Memo RequestSD<system><client>~DEBIT_MEMO_REQUEST_H~CD$ALL~ESH_U_DBTMEMREQ~
Diet GroupPLM<system><client>~DIET_GROUP_H~CD$ALL~ESH_U_DIETGROUP~
Evaluation QuestionnaireSLC<system><client>~SUPLR_QNAIRE_H~CD$ALL~ESH_U_SUPLR_QNR~
Evaluation ResponseSLC<system><client>~SUPLR_SRS_H~CD$ALL~ESH_U_SUPLR_SRS~
Evaluation ScorecardSLC<system><client>~SUPLR_EVAL_SCCARD_H~CD$ALL~ESH_U_SUPEVLSCRD~
Functional LocationPM<system><client>~FUNCT_LOCATION_H~CD$ALL~ESH_U_FUNCTLOCTN~
House BanksFI<system><client>~HOUSEBANK_H~CD$ALL~ESH_U_HOUSEBANK~
House Bank AccountsFI<system><client>~HOUSEBANKACCT_BAM_H~CD$ALL~ESH_U_HOUSEBANKB~
Deactivate earlier version: CD$ALL~HOUSEBANKACCOUNT_H
Inbound DeliveryLE<system><client>~INBOUND_DELIVERY_H~CD$ALL~ESH_U_INBDELIV~
Invoice ListSD<system><client>~INVOICE_LIST_H~CD$ALL~ESH_U_INVLIST~
Legal ContextLCM<system><client>~LCM_CTX~CD$ALL~ESH_U_LGL_CTX~
Legal DocumentLCM<system><client>~LCM_DOCUMENT~CD$ALL~ESH_U_LEGALDOC~
Legal TransactionLCM<system><client>~LCM_LT~CD$ALL~ESH_U_LEGALTR~
Maintenance NotificationPM<system><client>~MAINT_NOTIFIC_H~CD$ALL~ESH_U_MAINTNOTIF~
Maintenance OrderPM<system><client>~MAINTENANCE_ORDER_H~CD$ALL~ESH_U_MAINTORDER~
Maintenance PlanPM<system><client>~MAINTENANCE_PLAN_H~CD$ALL~ESH_U_MAINTPLAN~
Maintenance Plan ItemPM<system><client>~MAINTENANCE_PL_IT_H~CD$ALL~ESH_U_MAINTITEM~
Material DocumentMM<system><client>~MATERIAL_DOCUMENT_H~CD$ALL~ESH_U_MATLDOC~
Measurement DocumentPM<system><client>~MEASUREMENT_DOC_H~CD$ALL~ESH_U_MEASDOC~
Nutrient GroupPLM<system><client>~NUTRIENT_GROUP_H~CD$ALL~ESH_U_NUTR_GRP~
Object LinkPM<system><client>~OBJECT_LINK_H~CD$ALL~ESH_U_OBJECTLINK~
Outbound DeliverySD<system><client>~INBOUND_DELIVERY_H~CD$ALL~ESH_U_OUTBDELIV~
Physical InventoryMM<system><client>~MATERIAL_INVENTORY_H~CD$ALL~ESH_U_PHYSINVTRY~
Planned OrderPP<system><client>~PLANNED_ORDER_H~CD$ALL~ESH_U_PLANEDORDR~s
Preliminary Billing DocumentSD<system><client>~PRELIM_BILL_DOC_H~CD$ALL~ESH_U_PREBILDOC~
Process OrderPP<system><client>~PROCESS_ORDER_H~CD$ALL~ESH_U_PROCORDER~
Process Order Header ConfirmationPP<system><client>~PROC_ORD_CONFIRM_H~CD$ALL~ESH_U_PROCORDCNF~
Production OrderPP<system><client>~PRODUCTION_ORDER_H~CD$ALL~ESH_U_PRODNORDR~
Production Order Header ConfirmationPP<system><client>~PROD_ORD_CONFIRM_H~CD$ALL~ESH_U_PRDNORDCNF~
Production RoutingPP<system><client>~ROUTING_H~CD$ALL~ESH_U_PRODNRTG~
Profit CenterFI<system><client>~PROFIT_CENTER_H~CD$ALL~ESH_U_PROFIT_CEN~
Purchase ContractMM<system><client>~PURCHASE_CONTRACT_H~CD$ALL~ESH_U_PURCTR~
Purchasing CategoryMM<system><client>~PURG_CAT_H~CD$ALL~ESH_U_PURG_CAT~
Purchasing Info RecordMM<system><client>~PURCHASE_INFO_REC_H~CD$ALL~ESH_U_INFORECORD~
Purchase OrderMM<system><client>~PURCHASE_ORDER_H~CD$ALL~ESH_U_PURORDER~
Purchase Requisition ItemMM<system><client>~PURCHASE_REQ_H~CD$ALL~ESH_U_PURREQN~
Recipe to BOM Synchronization UnitPLM<system><client>~SYNC_UNIT_GSSR2B_H~CD$ALL~ESH_U_SYNCUNIT~
Religious Certificate GroupPLM<system><client>~RELIGIOUS_GROUP_H~CD$ALL~ESH_U_RELCERTGRP~
Sales ContractSD<system><client>~CUST_CONTRACT_H~CD$ALL~ESH_U_SLSCONTRCT~
Sales InquirySD<system><client>~CUST_INQUIRY_H~CD$ALL~ESH_U_SLSINQY~
Sales OrderSD<system><client>~SALES_ORDER_H~CD$ALL~ESH_U_SALESORDER~
Sales Order Without ChargeSD<system><client>~SO_WITHOUT_CHARGE_H~CD$ALL~ESH_U_SOWTHOCHRG~
Sales QuotationSD<system><client>~CUST_QUOTATION_H~CD$ALL~ESH_U_SLSQUOTN~
Service Entry SheetMM<system><client>~SERVICEENTRYSHEET_H~


Deactivate earlier version: CD$ALL~SRV_ENTRY_SHEET_H
Statistical Key FigureCO<system><client>~STAT_KEY_FIGURE_H~CD$ALL~ESH_U_STAT_KEY_F~
Supplier InvoiceMM<system><client>~INCOMING_INVOICE_H~CD$ALL~ESH_U_INCINVOICE~
Supplier QuotationMM<system><client>~SUPPLIER_QUOTE_S4_H~CD$ALL~ESH_U_SPLRQTN~
Deactivate earlier version: CD$ALL~ SUPPLIER_QUOTATION_H
Work CenterPP<system><client>~WORK_CENTER_H~CD$ALL~ESH_U_WORKCENTER~


Batch also has a duplicate Batch at Plant level (search connector ID <system><client>~BATCH_PLANT_H~). Usually you activate which search you want depending on the batch level specified for your system. Refer to SAP Note 2800580 - Enterprise Search Models in Batch Management: Availability of CDS Based Search Models in S...

If you want to have both Batch and Batch Plant  searches then use the Edit option in transaction ESH_COCKPIT to adjust the  search name to, e.g. Batch (Plant)

You can also deactivate any demonstration searches delivered in your release such as:



Why Enterprise Search is moving to CDS View based searches

Providing new and easier capabilities to review and adjust CDS View based searches through SAP Fiori apps such as:

In early releases the capabilities are primarily to review the information. The roadmap is to build more capability over time.

You can find the App Documentation for these apps in the Enterprise Search guide for your SAP S/4HANA release in the SAP Help Portal. For example:

which includes a helpful video Insights into Enterprise Search

There is also App documentation for:

You can also refer to related SAP Note on the new capabilities for F3036 Manage Search Models  available with SAP S/4HANA 2021:

In F3036 Manage Search Models you can already:

    • View active and inactive searches and their details, such as which fields are  used by the search, filters and ranking, default navigation behaviour, etc.
    • You can test search responses
    • You can enable/disable search models

From SAP S/4HANA 2021, you can also edit search models to adjust:

    • Search importance
    • Response
    • Filter type and position
    • Enable and disable search model fields, and
    • Autosuggestion for fields

IMPORTANT: From SAP S/4HANA 2022: You can also create your own custom search models! 

You can see how the fields are used in the search model.


Manage Search Models - Fields tab showing which Response fields are shown in the Search Results

Navigation tab shows the Semantic Object used to provide links to apps in the Search Results.


Manage Search Models - Navigation tab shows the Semantic Object and parameters that can be passed

The Relations tab shows the CDS View hierarchy used.


Manage Search models - Relations tab showing the expanded CDS View hierarchy

One of the more interesting options for security experts is the Technical Details tab, where you can see the Roles assigned to this search connector.


Manage Search Models - Technical Details tab shows Assigned Roles

You can use the Test Responses tab to see what results will be returned.

Hint: If your search is  inactive, this tab will show "Search error".


Manage Search Models ... tab

How to reactivate a search object

Ok so you changed your mind, someone made a mistake, or you now have a business need for a new search. It’s important to know that there are 2 steps to renabling the search:

    1. Activate the search connector
    2. Reindex the search connector to update the search results

The quickest way to do this is to run the task list SAP_ESH_CREATE_INDEX_SC in transaction STC01.


Task List Create and Index Search Connectors in transaction STC01

In the task “Select Models to Create Connectors” you specify only the Search Models you want to reindex.

For example

    • Software component SAPAPPLH
    • Select models manually is selected
    • You can select the name from the dropdown or type it in.
    • Search model name is entered, for example ALLERGEN_H
    • Do not specify the system/client or CD$ALL prefix.



Example parameters for task Select Model to Create Connectors showing software component SAPAPPLH and search model ALLERGEN_H

Save your parameters and execute the task list. Since indexing can take some time, it’s usually a good idea to execute in background. You can then walk away and come back to check the result later in transaction STC02 (Task List Run Monitor).

How to handle search connectors when you upgrade or change the models

When you upgrade SAP S/4HANA releases - e.g. from SAP S/4HANA 1809 to SAP S/4HANA 2021 -  usually the system will not override the searches you are already using.

So you can continue to use them as-is or review the newly available search models and decide whether you want to:

    • Replace classic searches with CDS View searches
    • Introduce new search objects available CDS View searches

You can quickly review all of the available Active and Inactive searches in GUI transaction ESH_DASHBOARD, both classic (traditional) or CDS view based. Selecting the Inactive number will take you to a simple list of searches available but not active.

Hint: You can use SAP Fiori app F3036 Manage Search Models to  review the details of the new CDS View search objects before you enable them.


Transaction ESH_DASHBOARD shows the inactive searches available

In the dashboard you can also see an upgrade icon that tells you if upgrade of your classic searches is pending. To update your search models post upgrade or you will need to run the task list SAP_ESH_UPDATE_SC in transaction STC01. Since the update can take some time, you should use the option to start the task list background. You can check the result later in transaction STC02 (Task List Run Monitor).

Transaction ESH_DASHBOARD shows the upgrade icon in the row marked Traditional searches row

For the techies - capturing the list of duplicates from the web browser

The easiest way to find the duplicates is using the dropdown lists of search objects in the SAP Fiori launchpad.  However if you want to get a flat list of all the duplicates there's a way you can download this  from the web browser.

The following steps were done in Google Chrome and were kindly supplied by jbaltazar.

Step 1: Inspect the search object list

As the duplicate message is only shown in the UI, it means there’s some JavaScript class that adds this text so use the context menu to inspect the search object list element in the web browser page.


Inspect the web browser page

Step 2: Save the global variable

Inspect takes you to the HTML DOM object so you then need to save as a global variable (it is automatically saved as temp1 – assuming you have not done anything similar earlier).


Find the global variable in the HTML DOM


Step 3: Create and run a function to get the text

Put the following code in the Console

function test() { var array1=new Array;for(var i=0;i<temp1.childNodes.length;i++){array1[i]=temp1.childNodes[i].innerText};return array1;}

Then execute it in  the Console using:


This brings back the text in the Search Object  list


Raw text from the Search Object list


Step 4: Save the list to a text editor

Right click on the raw text of the search object list to save it to your clipboard and paste to your favourite text editor.  You can then search for the term duplicate to find the exact search connector ID of each duplicate.


Search object list in the text editor

Further resources for Enterprise Search

You can find more in the Enterprise Search guide for your SAP S/4HANA release on the SAP Help Portal, and in SAP Notes.

General help documentation for Enterprise Search in the SAP Help Portal:

Some useful options for optimizing Enterprise Search behaviour:

Further information for CDS-based View Searches:

Further information for Classic Searches:


Becoming a SAP Fiori for SAP S/4HANA guru


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

Other helpful links:

Brought to you by the SAP S/4HANA RIG and Customer Care team.