How To Fix CRM_MKT_EXTERNAL172 - Import business partners: Lock successfully set


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CRM_MKT_EXTERNAL - CRM MKT: Messages for Interface to External Products

  • Message number: 172

  • Message text: Import business partners: Lock successfully set

  • Show details Hide details
  • What causes this issue?

    This text similar to message long text CRM_MKT_EXTERNAL175
    The system lock on the CRMD_EXT_BP_JOB table was set successfully.
    The import program stores restart information in this table.

    System Response

    For technical reasons, the system can only import business partners of
    a target group in batch mode as a background job. By setting a system
    lock on the CRMD_EXT_BP_JOB table, the import program ensures that
    several import jobs for the same target group can never be run at the
    same time.

    How to fix this error?

    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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CRM_MKT_EXTERNAL172 - Import business partners: Lock successfully set ?

    The SAP error message CRM_MKT_EXTERNAL172 typically indicates that there is a locking mechanism in place when trying to import business partners into the SAP Customer Relationship Management (CRM) system. This locking is often a precautionary measure to prevent data inconsistencies during the import process.

    Cause:

    1. Concurrent Access: The error may occur if multiple processes or users are trying to access or modify the same business partner data simultaneously.
    2. Locking Mechanism: SAP uses locks to ensure data integrity. If a business partner is being processed or modified by another transaction, the system will set a lock, preventing other transactions from accessing it until the lock is released.
    3. Long-running Transactions: If a transaction takes too long to complete, it may hold the lock longer than expected, causing subsequent import attempts to fail.

    Solution:

    1. Check Locks: Use transaction code SM12 to check for existing locks on the business partner records. You can identify the user or process that is holding the lock and take appropriate action.
    2. Wait and Retry: If the lock is temporary, you may simply need to wait for the other transaction to complete and then retry the import.
    3. Review Import Process: Ensure that the import process is optimized and not taking an excessive amount of time, which could lead to locks being held longer than necessary.
    4. Batch Processing: If you are importing a large number of business partners, consider breaking the import into smaller batches to reduce the likelihood of concurrent access issues.
    5. Consult Logs: Check the application logs for any additional error messages or warnings that may provide more context about the issue.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as SM12 (to view locks), SM21 (to check system logs), and SLG1 (to view application logs).
    • SAP Notes: Search for relevant SAP Notes in the SAP Support Portal that may address specific issues related to business partner imports and locking mechanisms.
    • Documentation: Review SAP documentation related to business partner management and data import processes for best practices and troubleshooting tips.

    If the issue persists after trying the above solutions, it may be beneficial to consult with your SAP Basis or technical team for further investigation.

    • 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