Enhance the Material Enterprise Search

SAP Master Data Governance for Material (MDG-M) provides business processes to find, create, change, and mark material master data for deletion. It supports the governance of material and the distribution to connected systems. It is possible to extend the data model. If you want to search with these new fields you must extend the search. Download the Document

PUBLICHow-To: Enhance the Material Enterprise SearchApplicable Releases:AllVersion 3.0October 2024
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to this material. 2 / 61Document HistoryDocument Version Description1.2 First official release of this guide1.3 Chapter 8, 9 and 101.4 Small corrections1.5 New chapter 9.31.6 Small corrections, new chapter 9.2.1 Change Search Criteria fromMDG7.0 on1.7 New chapters 4 and 10.4; Updates to chapters 5.5.2.3 and 81.8 New chapter 8.7.1 and 8.7.21.9 Small corrections2.0 Update layout (September 2022)3.0 Layout update (October 2024)
How-To: Enhance the Material Enterprise Search31. BUSINESS SCENARIO ............................................................................................................................................ 52. BACKGROUND INFORMATION ............................................................................................................................. 63. MORE INFORMATION ON ENTERPRISE SEARCH ...................................................................................................64. STEP BY STEP EXPLANATION ................................................................................................................................ 74.1 E XTEND M ODEL MM: E NTITY M ATERIAL ..................................................................................................................... 74.2 E XTEND STRUCTURES FOR DATA M ODEL MM ............................................................................................................... 74.3 SMT M APPING ....................................................................................................................................................... 84.4 ACTIVE AREA : CONNECTOR FOR MATERIAL ................................................................................................................ 94.4.1 Template Modeler for active area .............................................................................................................. 94.4.1.1 Create new Software Component ............................................................................................................................ 94.4.1.2 Create Connector for Material ................................................................................................................................ 114.4.2 Administration Cockpit.............................................................................................................................. 124.4.2.1 Update Connector Material (optional) ................................................................................................................... 124.4.2.2 Schedule Indexing ................................................................................................................................................... 124.4.3 Test Connector Material ........................................................................................................................... 134.5 STAGING AREA : CONNECTOR FOR MDG .................................................................................................................... 144.5.1 Template Modeler..................................................................................................................................... 144.5.1.1 Software component .............................................................................................................................................. 144.5.1.2 Create new search connector template for MDG ................................................................................................... 144.5.2 Administration Cockpit.............................................................................................................................. 154.5.2.1 Re-create the associations, authorizations, request and response attributes (optional) ....................................... 154.5.2.2 Add the new attributes to ZMDG_MATERIAL template request fields ................................................................... 204.5.2.3 Add the new attributes to the ZMDG_MATERIAL template response fields .......................................................... 204.5.2.4 Schedule Indexing ................................................................................................................................................... 214.5.3 Test Connector: ZMDG_MATERIAL ........................................................................................................... 214.6 CUSTOMIZING ....................................................................................................................................................... 215. STEP-BY-STEP PROCEDURE: EXTEND BY CUSTOM ATTRIBUTES (FROM REUSE) .................................................. 235.1 E XTEND BACKEND: MARA WITH APPEND .................................................................................................................. 235.2 E XTEND ES STRUCTURE FOR M ATERIAL: ESO_S_MARA_MAW1................................................................................. 235.3 E XTEND M ODEL MM: E NTITY M ATERIAL ................................................................................................................... 245.4 E XTEND STRUCTURES FOR M ODEL MM ..................................................................................................................... 255.5 SMT M APPING ..................................................................................................................................................... 255.6 ACTIVE AREA : CONNECTOR FOR MATERIAL .............................................................................................................. 255.6.1 Template Modeler..................................................................................................................................... 255.6.1.1 Enhance Template MATERIAL ................................................................................................................................. 255.6.1.2 Add attributes to the Request Fields ...................................................................................................................... 285.6.1.3 Add attributes to the Response Fields .................................................................................................................... 285.6.1.4 Create Connector for Material ................................................................................................................................ 305.6.2 Administration Cockpit.............................................................................................................................. 315.6.2.1 Update Connector Material .................................................................................................................................... 315.6.2.2 Schedule Indexing ................................................................................................................................................... 315.6.3 Test Connector Material ........................................................................................................................... 335.7 STAGING AREA : CONNECTOR FOR MDG .................................................................................................................... 335.8 CUSTOMIZING ....................................................................................................................................................... 336. STEP-BY-STEP PROCEDURE: EXTEND WITH EXISTING ENTITY (REUSE) ................................................................ 346.1 E XTEND M ODEL: E NTITY P LANT (YMARC) ................................................................................................................. 346.2 E XTEND STRUCTURES FOR M ODEL ............................................................................................................................. 346.3 SMT M APPING ..................................................................................................................................................... 346.4 ACTIVE AREA : CONNECTOR FOR MATERIAL .............................................................................................................. 346.5 STAGING AREA : CONNECTOR FOR MDG .................................................................................................................... 346.6 CUSTOMIZING ....................................................................................................................................................... 347. STEP-BY-STEP PROCEDURE: EXTEND WITH CUSTOM ENTITY (REUSE)................................................................. 357.1 BACKEND: NEW TABLE ZMDGM_BUPA01 .............................................................................................................. 357.2 CREATE ES STRUCTURE FOR ZMDGM_BUPA01: ZESO_S_ZMDGM_BUPA01 ........................................................... 35
How-To: Enhance the Material Enterprise Search47.3 E XTEND THE EXTRACTION L OGIC FOR THE NEW ES NODE ............................................................................................... 357.4 E XTEND M ODEL MM: E NTITY ZBUPA ...................................................................................................................... 397.5 E XTEND STRUCTURES FOR M ODEL MM ..................................................................................................................... 397.6 SMT M APPING ..................................................................................................................................................... 397.7 ACTIVE AREA : CONNECTOR FOR MATERIAL .............................................................................................................. 397.7.1 BAdI Implementation: GET_ES_NODEINFO Method ................................................................................. 437.7.2 BADI Implementation for handling Change Pointers ................................................................................ 437.8 STAGING AREA : CONNECTOR FOR MDG .................................................................................................................... 437.9 CUSTOMIZING ....................................................................................................................................................... 438. STEP-BY-STEP PROCEDURE: EXTEND WITH EXISTING ENTITY (FLEX) ................................................................... 448.1 E XTEND M ODEL: E NTITY YMARC3 ........................................................................................................................... 448.2 E XTEND STRUCTURES FOR M ODEL ............................................................................................................................. 458.3 SMT M APPING ..................................................................................................................................................... 458.4 ACTIVE AREA : CONNECTOR FOR MATERIAL .............................................................................................................. 458.4.1 Enhance Template Material for the Flex Node ......................................................................................... 458.4.2 BADI Implementation for Indexing Flex node data ................................................................................... 488.4.3 BADI Implementation for handling Change Pointers for Flex node data .................................................. 518.5 STAGING AREA : CONNECTOR FOR MDG .................................................................................................................... 518.5.1 Create new search connector template for MDG ..................................................................................... 518.5.2 Add the request fields to Z1MDG_MATERIAL template ............................................................................ 528.5.3 Schedule Indexing ..................................................................................................................................... 528.5.4 Test Connector: Z1MDG_MATERIAL ......................................................................................................... 528.6 CUSTOMIZING ....................................................................................................................................................... 529. STEP-BY-STEP PROCEDURE: EXTEND SEARCH UI ................................................................................................. 539.1 E NHANCE UIBB MDG_BS_MAT_SEARCH_RESULT_LIST ....................................................................................... 539.2 CHANGE SEARCH CRITERIA VALUES ........................................................................................................................... 539.2.1 Change Search Criteria from MDG7.0 on .................................................................................................. 549.3 DEFAULT FOR CLASS TYPE ........................................................................................................................................ 559.4 ADD FIELD DESCRIPTIONS TO THE RESULT LIST .............................................................................................................. 559.4.1 POST-EXIT for method CL_MDG_BS_MAT_BO_SEARCH-> GET_SEARCHABLE_ATTRIBUTES .................... 559.4.2 POST-EXIT for method CL_MDG_BS_MAT_SP_SEARCH->COMPLETE_DATA ............................................ 5810. MULTIPLE LANGUAGES .................................................................................................................................. 5911. ADDITIONAL INFORMATION .......................................................................................................................... 6011.1.1 Information on SAP MDG on SAP S/4HANA .............................................................................................. 6011.1.2 SAP Roadmap Explorer.............................................................................................................................. 6011.1.3 Related Information .................................................................................................................................. 6011.2 SAP N OTES .......................................................................................................................................................... 60
How-To: Enhance the Material Enterprise Search51. BUSINESS SCENARIOSAP Master Data Governance provides business processes to find, create, change, and mark master datafor deletion. It supports the governance of master data in a central hub and the distribution to connectedoperational and business intelligence systems.The processes are workflow-driven and can include several approval and revision phases, and thecollaboration of all users participating in the master data maintenance.This How To Guide describes the solution to extend the enterprise search with custom fields. With MDG formaterial master data domain it is possible to extend the data model. If you want to search with these newfields you must also extend the search.