Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Custom Model Search

Hello,

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?

Thanks,

Sagar Dixit

Former Member
replied

Hi,

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question