Configure MDG Entity Search result list : With this configuration result list columns order can be changed , some columns can be hided and Push buttons on Tool bar can be removed and new buttons can be added .
1.Prior to Configure Entity Search result list we have to create configuration of Search application ( USMD_SEARCH ) . For this open customizing path in MDG IMG :General Settings-> UI Modeling-> Manage UI Configurations . Select the Application as USMD_SEARCH and template configuration given by sap
2. Open Component Configuration USMD_SEARCH_OVP_TEMPLATE. Under Additional Functions , choose the Deep Copy button. Enter target configuration IDs for the application configuration .In Below example APAP is my entity name so configration ID is given as ZZ_APAP_SEARCH.
Now open the App.Configuration created and Enter parameters
USMD_MODEL: The data model
USMD_ENTITY: The entity type
USMD_OTC: The business object type.
By default system will give Template configuration name . This has to be replaced with custom configuration .
Then replace the template configuration with the configuration you created . Finally your application Configuration should look like below
Then open the configuration Name then we can see one search UIBB and one list UIBB.
Now replace your template configrations of search UIBB and List UIBB with custom configration .( You can use deep copy of templates as we did in previous steps)
To configure the result list of the search application, The List UIBB need to configured .
component configuration of list UIBB uses standard
feeder class CL_USMD_SEARCH_GUIBB_RESULT. This feeder class has two
+ (GenIL) Component
+ (GenIL) Object Name
Using these parameters, you can decide in which mode the result list runs. First, you can leave both parameters empty. In this case, the
result list is configured by an implicit configuration (-> displayedcolumns, order of columns, buttons) you cannot influence. Second, you
can enter the name of a GenIL component and the name of a GenIL queryresult object. In this case, the result list is configured by the
explicit configuration you created and you can influence all aspects of its appearance.
My data model name is ZZ , so my Genil component will be ZSP_ZZ.
and object name will be QResAPAP ( i.e QRes<entityname> )
Once these settings are done the List will be editable to users and they can delete unwanted columns and unwanted push buttons based on the requirement .