How To Fix CMD_API097 - Customer &1: Dissolved relationship to vendor &2 was not two-way


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CMD_API - Customer APIs

  • Message number: 097

  • Message text: Customer &1: Dissolved relationship to vendor &2 was not two-way

  • Show details Hide details
  • What causes this issue?

    A relationship between the customer and vendor was dissolved. However,
    inversely there was no relationship.

    System Response

    The customer number field in the vendor master record to which the
    relationship was dissolved, was not changed.

    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 CMD_API097 - Customer &1: Dissolved relationship to vendor &2 was not two-way ?

    The SAP error message CMD_API097 indicates that there is a relationship between a customer and a vendor that is not properly established as a two-way relationship. This typically occurs in scenarios where a customer is also a vendor (or vice versa) in the SAP system, and the relationship between these two entities needs to be defined correctly.

    Cause:

    1. One-Way Relationship: The error suggests that the relationship between the customer and vendor is one-way. For example, the customer may be linked to the vendor, but the vendor is not linked back to the customer.
    2. Data Inconsistency: There may be inconsistencies in the master data where the relationship was not set up correctly.
    3. Configuration Issues: The system configuration may not allow for the establishment of a two-way relationship, or there may be missing settings in the configuration.

    Solution:

    1. Check Relationships: Verify the relationship between the customer and vendor in the SAP system. You can do this by checking the master data for both entities.
      • Use transaction codes like XD03 (Display Customer) and MK03 (Display Vendor) to view the details.
    2. Establish Two-Way Relationship: If the relationship is indeed one-way, you will need to establish a two-way relationship. This can typically be done by:
      • Going to the customer master record and adding the vendor information.
      • Going to the vendor master record and adding the customer information.
    3. Use Transaction Codes: You can use transaction codes like XD01 (Create Customer) and MK01 (Create Vendor) to create or modify the relationships as needed.
    4. Check Configuration: If the issue persists, check the configuration settings in the SAP system to ensure that two-way relationships are allowed and properly set up.
    5. Consult Documentation: Refer to SAP documentation or help resources for specific steps related to your version of SAP.

    Related Information:

    • Master Data Management: Understanding how customer and vendor master data is managed in SAP is crucial. This includes knowing how to create, modify, and delete relationships.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional guidance.
    • User Authorizations: Ensure that you have the necessary authorizations to make changes to customer and vendor master data.
    • Testing: After making changes, test the relationship to ensure that the error does not reoccur.

    If you continue to experience issues, it may be beneficial to consult with your SAP support team or a consultant who specializes in SAP master data management.

    • 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker