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

Suppression Rules for general channel limit

vervinckt_joyca
Active Contributor
947

Dear,

I am looking for a way to model the following in the Suppresion rules (in hybris marketing cloud)

We have a few mail categories with limitations:

CAT1: 1/week

CAT2: 1/week

CAT3; 2/week

CAT4: unlimited

but on top of that we'd like to set a general limitation of max 2 MAILS per week.

I've seen the sap help page of suppression rules with this use case:

https://help.sap.com/viewer/e5261d64879045ca904c750e07a292b4/1802%20500/en-US/121fc8d7d6e44feb8c1b14...

but that use case indicates "don't send a mail if the previous mail was less than x days ago".

But that doesn't correspond with what I want to do...

I found that there is a "number of" available in the condition expressions but I still don't find how to use it correctly...

Does anyone know how to model my requirement?

Another example would be to set a limit on the number of push notifications sent to 2/week. As it is not possible to assign communication categories and limits to other channels than email and text message, these cannot be used on push notifications...

So I'd need a suitable rule in Suppression Rules as well for this.

Thanks!

Kr,

Joyca

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi Joyca,

I don't know actually if you still need this requirement, however we solved it by enhancing the related Badi under the Custom Logic.

In the "Marketing: Marketing Permission" business context, there is a Badi called "Suppression Rule Check - CUAN_MKT_SUPPRESSION_RULES".

In the given example in standard, it is using the get_latest_interaction. However, I changed the logic a little and for every single contact I called get_interaction function of the helper class.

lo_pm_badi_helper->get_interaction(
exporting
it_contact_keys = lt_contact_key

iv_interaction_type = 'EMAIL_OUTBOUND'
importing
et_interaction = data(lt_interaction) ).

Afterwards, add a loop for the lt_interaction and count the number of the interactions between the dates until the limit and suppress if the limit is reached.

Regards,

Cagri

vervinckt_joyca
Active Contributor
0 Kudos

Thanks Cagri! This is really helpful.

Kr

Joyca

bartwito
Discoverer
0 Kudos

Joyca,

I am dealing with a similar situation only a bit more complex because currently the contact email address can be shared across multiple contacts. Setting a structure such 1 email per day, 2 per week or 6 per month is our desired outcome. Also we will want to make sure that we suppress any identical communication that being sent to the same email address using multiple contacts. I posted my question here: https://answers.sap.com/questions/632595/sap-marketing-suppression-rules-and-communication.html

Were you successful setting your scenario up? any feedback will be great.

Thanks,

Bar

Answers (0)