In this blog post, we will see the step-by-step details on how to extend the MDG Hana Search view and configuring the view in Search page. The below mentioned steps are relevant for BP data model. There is a similar blog post by steffen.ulmer on MM data model.
The content of this blog pot is already an answer to the Question asked by sven.hertig1 . But, i write this as a blog post, so it will be helpful for others to look directly in the Blog Posts section, instead of searching in Q&A section.
Custom HANA Search View Generation
In MDGIMG, create a Search View under the below path
Name of the Custom HANA Search View : ZCOMP_CODE_VIEW
Description : BP Search View (HANA)
Business Object Type : 147 (BP)
Hana Package : mdg.search.bp
This required attributes are selected as part of this Search View as below
Generate the view and save it in a Transport
Enhancement of Search Governance Application
Component Configuration BS_OVP_BP under the Webdynpro Application MDG_BS_GOV_COMMUNICATOR has to enhanced to adopt the Custom Search View created in previous section
Open the configuration and change the value for Inc. Search Help with the Search View name created in previous Section
Addition of Custom Fields in Search UIBB
After Successful generation of Custom Search View, the Corresponding Search UIBB Configuration BS_BP_DQUERY_HA_ADDRESS has be enhanced to include the additional attributes which has been added in the Custom Search Help
Also, Modify the Feeder class Parameter with the Search help name as the name of the Custom Search View created as part of Section 2. This will ensure, the Dynamic query during the Search Criteria is executed correctly and all the additional attributes are added in the selection criteria
Modification of PFCG Role to default the Search Method
The newly created HANA Search can be defaulted for the End Users in Search page, so that they do not have to select the Search Method as BP Search View (HANA) every time.
Open the Role relevant role (Menu role / specialist roles), go the Menu and navigate to the below option Search Business Partner. Open the Details of this application and fill the two Application Parameters with the values as below. This will ensure the Search Method is defaulted as HANA Search for all the users.
USMD_SEARCH_MODE = HA
USMD_SEARCH_HELP = ZCOMP_CODE_VIEW
After successful configuration using the above steps, the HANA Search view should be displayed with the additional attributes as below
Through this blog post, you have learnt how to extend an Hana Search view and configure it in the Search page.
Please provide your valuable thoughts and feedback in the comments section below. Follow the tag SAP Master Data Governance for more updates on SAP MDG through blog posts and Q&A. You can also follow my profile to get notifications on more exciting blog posts on SAP MDG, next weeks.