Skip to Content
avatar image
Former Member

Custom Model Search


We have implementing a custom Equipment Data Model and are now trying to develop a search screen similar to standard Material/ Customer search.

We are using DB search mode and have followed the Custom Object development guide provided by SAP for MDG 8.0.

We have the USMD_SEARCH UI application configured but aren't able to search Equipments from the ECC tables or MDG staging.

I understand that we'll have to write some code before being able to query anything, but we're not sure which methods need to be implemented.

Can someone please guide us as to what steps need to be followed in order to fetch the search results? Some document that we can refer maybe?


Sagar Dixit

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 04, 2016 at 10:36 AM


    Have you tried implementing the Search of Entities BADI?

    MDGIMG -> General settings -> Data Quality and Search -> Business Add Ins -> Search of Entities

    I had much success creating a standard search screen by creating an implementation of this BADI with Custom Data Model as the filter.

    You can disable the standard buttons/ add you're on buttons using the Initialize method.

    And code your own actions per button in the process event method.

    To get to this screen it's just Web Dynpro Application USMD_ENTITY_SEARCH with your custom model as a USMD_MODEL parameter.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member


      Thanks, the BADI Search for entities finally solved our problem, we weren't sure how to use the BADI initially but once we figured it out, it was simple.


      Sagar Dixit