cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Implementation of BADI_CRM_BUPA_IL_SEARCH not called

Former Member
0 Likes
600

Hi everyone.

Please help. I have created an implementation of BADI_CRM_BUPA_IL_SEARCH via the Enhancement Spot CRM_BUPA_IL_SEARCH. I need to filter the business partners returned in a search.

I have markded the implementation as "Active - not switchable through IMG".

However whenever I search for accounts via the WebUI the filtering I coded in the implentation is ignored. When I set a breakpoint in the code I can see that it is not even being called.

One thing I have not done is set a filter value for FILTER_KEY as I don't know what to set there.

What else must I do???

We are in CRM 6.0.

Thanks

Dave

Ok I have found that the reason is to do with the FILTER_KEY. Now my issue is how do I know what to enter for the FILTER_KEY value in my implementation? The data element just indicates CHAR4 and the SAP standard implementations have used 4 letters out of their implementation names.

Edited by: Dave Beardall on Jun 26, 2009 4:39 PM

View Entire Topic
Former Member
0 Likes

In the same class, in method FILTER_BY_SEARCH_CRITERIA, I found the following pieces of code.

MOVE-CORRESPONDING is_parameters TO ls_search_criteria.

MOVE-CORRESPONDING ls_search_criteria TO ls_address.

and then

COLLECT ls_search_criteria-filter INTO gt_filter_badi .

Maybe this helps a little further.

Reagrds,

Sowmiya

Former Member
0 Likes

Hi Sowmiya

We don't have method FILTER_BY_SEARCH_CRITERIA (CRM 6.0).