Hi All,
The standard contact search in the Webui does not provide a functionality to search for emails in the main contact section. I enhanced the search via BADI_CRM_BUPA_IL_SEARCH_EXT in order to retrieve also those results.
All works fine except that in the result of the search, I get too many results.
Example: I have a contact 123456 who is linked to customer x with email address xx@xx.com. He is also linked to customer y with email address xx@yy.com.
When I search for contacts with email address xx@xx.com I get 2 results now where I only expect 1.
I debugged the badi and I can see that at the end there is only 1 entry in CT_PARTNER_KEYS structure so the problem is not in there. I suspect that CRM uses the partner_id as a key and displays all the data he finds for this partner_id but I do not seem to find where that is done.
Anyone an idea?
regards
Tom