How To Fix CRM_MKTTG_SA021 - Attribute &1 is still used as selection criteria


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CRM_MKTTG_SA - CRM Marketing: Mesages Selection Attributes

  • Message number: 021

  • Message text: Attribute &1 is still used as selection criteria

  • Show details Hide details
  • The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    Procedure for System Administrators

    How to fix this error?

    System Response

    because it can lead to errors.
    attirbutes that are still used as selection criteria in some segments
    It is not allowed to delete the assignnment of a datasource that contain

    What causes this issue?


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CRM_MKTTG_SA021 - Attribute &1 is still used as selection criteria ?

    The SAP error message CRM_MKTTG_SA021 indicates that a specific attribute (denoted as &1) is still being used as a selection criterion in a marketing campaign or related object, even though it may have been marked for deletion or is no longer valid in the context of the operation you are trying to perform.

    Cause:

    1. Attribute Usage: The attribute in question is still referenced in the selection criteria of a marketing campaign, segmentation, or other related objects.
    2. Data Model Changes: Changes in the data model or attribute definitions may have led to inconsistencies where the system expects the attribute to be removed but it is still in use.
    3. Incomplete Deletion: The attribute may have been marked for deletion, but the system still recognizes it as being in use.

    Solution:

    1. Check Selection Criteria: Review the selection criteria of the marketing campaign or object you are working with. Ensure that the attribute mentioned in the error message is not included in the selection criteria.
    2. Remove or Update Attribute: If the attribute is indeed being used, you may need to either remove it from the selection criteria or update it to a valid attribute that is currently in use.
    3. Data Consistency Check: Perform a consistency check on the marketing object to ensure that all attributes and selection criteria are valid and up to date.
    4. Recreate the Campaign: If the issue persists, consider recreating the marketing campaign or object, ensuring that you do not include any deprecated or invalid attributes.
    5. Consult Documentation: Refer to SAP documentation or notes related to the specific version of your SAP system for any known issues or additional guidance.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like CRMD_ORDER, CRMD_ORDERADM_H, or CRMD_ORDERADM_I to access and modify marketing campaigns or related objects.
    • SAP Notes: Check SAP Notes for any patches or updates that may address this specific error message.
    • Support: If you are unable to resolve the issue, consider reaching out to SAP support or your internal SAP team for further assistance.

    By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant