cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Model Search

former_member1270519
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

benjamin_allsopp
Active Participant
0 Kudos

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.

former_member1270519
Participant
0 Kudos

Hi,

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.

Regards,

Sagar Dixit

Answers (0)