on 01-12-2010 1:53 PM
Hello,
we're using BADI ADDRESS_SEARCH to perform duplicate check of business partners in CRM 7.0.
Some relevant address fields are passed to method ADDRESS_SEARCH (e.g. city, country, ...), however, not the partner ID or the GUID of the business partner.
Is there any chance to access the currently processed business partner from inside the BADI method? The former (CRM 4.0, 5.0) BDT function modules "BUPMEMORY" don't work any more.
The thing is that we need to control the duplicate check based on several BP attributes like grouping, BP role, and so on.
Kindly consider that we're not in the IC (interaction center) but in the CRM web client (role SALESPRO)
Many thanks for any help & kind regards
Wolfgang
Hi.
I would also like to implement duplicate check. Can you please send the code sample for ADDRESS_SEARCH badi.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
One way is to enhance the custom controller of the BP_HEAD component, add a new attribute e.g., BP No or GUID and set its value on submitorenter event or save event and inside the BADI retrieve the custom controller reference to fetch the BP No or GUID.
Regards
Prasenjit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wolfgang,
We can get the BP Number based on the incoming Address Number(in IM_CURRENT_ADDRESS_KEY-ADDRNUMBER) by passing it to FMs like BUP_PARTNER_GET_BY_ADDRESS.
Regards,
Masood Imrani S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
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.