Show TOC

Function documentationConfiguration of the Generic Search

 

The Generic Search (USMD_SEARCH) service enables you to search for and display instances of business objects based on specified criteria. For more information, see Search Business Object.

Features

The user interface is divided into the following areas, each of which you can customize:

  • Search control

  • Search criteria

  • Search results

If the generic search application is too generic for you, you can create a restricted search with its own user interface, (for example, a search that returns airline partners only) by copying and changing the generic configurations.

The technical objects that you can copy and change to create your own custom search application are as follows:

  • (Mandatory) Application Configuration: USMD_SEARCH

  • Component Configurations:

    • (Mandatory) USMD_SEARCH_OVP

      Specifies the layout of the search application. Defines the user interface building blocks (UIBBs) for the search criteria and the results list.

    • (Depends on the area of the UI that you want to customize) Area-Specific Configurations

      • Search control

        MDG_BS_SEARCH_CONTROL

        Feeder Class: CL_MDG_BS_SEARCH_SWITCH_FEEDER specifies what appears in the drop-down lists within the search control area of the user interface.

      • Search criteria

        USMD_SEARCH_DQUERY

        Specifies the configuration of the search criteria block. Defines which search attributes can be used.

      • Search results

        USMD_SEARCH_RESULT

        Specifies how search results display. Determines which columns display in which order.

    • (Mandatory) USMD_SEARCH

      Specifies the configuration of the MDG communicator framework. Must have a name that matches the application configuration. At runtime, this component specifies the selection block indicating which data model, entity type, and search method are used.