SAP Knowledge Base Article - Public

2699299 - Marketing Attributes Conditions Are Not taken into account in Your Custom Query

Symptom

Custom Queries including Marketing Conditions do not return the expected results. Marketing Attributes are overlooked.

Environment

SAP CLOUD FOR CUSTOMER

Reproducing the Issue

  1. Go to the Customers workcenter.
  2. Go to the Accounts workcenter.
  3. Enter the Advanced search.
  4. Select the value you want to filter in various fields.
  5. Click Maintain Conditions under Marketing Attributes.
  6. Add the conditions you wish to filter.
  7. Save the query.
  8. Click Go.

Results: The query does not return the expected results. The search was not filtered.

Cause

You are using an OR operator, and the result will be that 1 of the conditions is met and therefore, one out of all you Attributes Condition is present in the results.

However, you were meant to use an AND condition.

Resolution

You may raise an case for SAP to enable this operator on your tenant ; the OR operator is the one that comes by default.

Keywords

Maintain Attributes, Maintain Condition, Custom query, Query, marking , KBA , LOD-CRM-BF-BA , Business Attributes , Problem

Product

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