SAP Knowledge Base Article - Public

2730279 - Lead Distribution Rules Campaign Column Not Working With Operator Contains Pattern


You are trying to use Lead Distribution Rules to assign Leads based on the Campaign name, more precisely using the 'Contains pattern' operator in the 'Campaign' column.


SAP Cloud for Customer

Reproducing the Issue

  1. Go to the Administrator work center.
  2. Select the Sales and Campaign view.
  3. Open the Define Rules for Lead Assignment hyperlink.
  4. In the Campaign column, click in the value hyperlink (it should be * at first).
  5. In the Select Operator dropdown menu, select Contains pattern.
  6. In the Enter Value field, enter &ABC& (where ABC stands as the desired campaign name pattern).
  7. Click in the OK button.
  8. Click in the Actions button.
  9. Select Activate Rules.
  10. Trigger the campaign that should trigger the Lead Distribution Rule with the pattern ABC.

You expected that the lead distribution rule would change the Lead created from the campaign accordingly (setting a specific Owner/Marketing Unit/Territory).


The Campaign column in the Lead Distribution Rules only supports Campaign ID. Campaign Name is currently not supported.


This is the standard behavior of the system.

If you need this functionality urgently you may contact your implementation manager to help with such request or approach directly the SAP Cloud Service Center.

You can find more details about the services offered by Cloud Service Center on You can contact Cloud Service Center as follows:

  1. If you are a partner: please use or the Partnerfinder
  2. If you are a customer: please use the little blue box “Contact Us” shown on the very right-hand side of, choose “Contact Us”, choose “Services”, choose “SAP Custom Development” and complete the page

Note: The services of the SAP Cloud Service Center will be charged as packaged services based on fixed prices. 

An alternative option may be to check the SAP Customer Influencer Site to submit an idea:


Lead Distribution Rules ; Campaign ;  Lead ; Operator ; Contains Pattern ; , KBA , LOD-CRM-MKT-CAM , Campaigns , LOD-CRM-LM , Lead Management , How To


SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions