on ‎2009 Jun 26 11:34 AM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.