cancel
Showing results for 
Search instead for 
Did you mean: 

Additional Deduplication Check

Former Member
0 Kudos

Hi Guru

We have a requirement whereby in addition to a standard deduplication routine in DETERMINATION_BY_DEDUP_METHOD we also want to remove BP's who have been involved in any Marketing Campaign in the past month.

Is it possible to do this in the standard deduplication routine and if so how?

Or is there another way to meet this requirement?

This is for CRM 7.0 Standard and High Volume Segmentation

Many Thanks in advance

Panduranga

Accepted Solutions (1)

Accepted Solutions (1)

klaus_brengel
Advisor
Advisor
0 Kudos

Hi Panduranga,

yes, that's what deduplication is made for

You need a new deduplication method for this. At first: define that method in the Customizing: You can do this via customizing: SPRO-> SAP Reference IMG -> Customer Relationship Management -> Marketing -> Segmentation -> General Settings -> Define Deduplication Method. Choose a dedup code and a description and flag if the method should be relevant for Profiles/Target Groups and/or for Sets.

Now create a new BAdI implementation for BAdI CRM_MKT_BP_DETERMINE by copying the sample code..

DETERMINATION_BY_DEDUP_METHOD consist basically of a big CASE statement. You can add a new WHEN branch with the dedup code you entered in the customizing.

The method DETERMINATION_BY_DEDUP_METHOD has a changing parameter CT_BP_LIST with which you can remove partners from a Target Group (thats what the DEL_FLAG component of this table is for).

Now you will have to add your coding which determines the BPs that have been involved in a previous campaign. Modify those BPs in the CT_BP_LIST (set their DEL_FLAG) or add them with DEL_FLAG to CT_BP_LIST if they aren't contained yet.

After activating the BAdI, you should see your new dedup routine in the UI. By regenerating the model, your BAdI will be called and your routine should remove the specified partners from the Target Group.

Hope that helps!

-klaus

Former Member
0 Kudos

Hi

Thanks Jacob

I think for Standard Segmentation I could use the "Intersect" and "Remove" options, however what do I do for High Volume Segmentation. It does not appear to have the same functionality in this regard.

Thanks Klaus

The Deduplication Method while looking very flexible is actually quite rigid, it cannot cater for a composite duplicate check, as we want to use the Campaign Check in addition to some more standard duplicate checks like surname, telephone number, email address, etc.

We were hoping to add in a separate piece of code which after the standard deduplication routine has run would then remove those BP involved in a Campaign.

However as the BP's are stored within the BOL, removing them is proving difficult.

Any ideas?

Regards

Panduranga

Former Member
0 Kudos

Hi Klaus

Forgive me for doubting you.

You were 100% right on the DEL_FLAG.

Works perfectly.

Many Thanks

Panduranga

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Panduranga,

I know this is a very old post.

But I am doing the same thing now and my BADI is not getting triggered.

I have configured the Deduplication method. On the segmentation model when I select Deduplicate TG, Badi doesn't trigger. Am I missing something.

Please guide.

Thanks

Sunita

Former Member
0 Kudos

Hi,

It is possible to achieve this by creating a target group according to your current business criterion and later on using the 'Intersect' and 'Remove' methods to remove BP's included in the previous Campaigns target group.

Hope it helps.

BR.