Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WX171 - Plant or customer & created in company code &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WX - Master data maintenance: Plant

  • Message number: 171

  • Message text: Plant or customer & created in company code &

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WX171 - Plant or customer & created in company code & ?

    The SAP error message:

    WX171: Plant or customer & created in company code &


    Meaning / Cause:

    This message typically occurs when you are trying to create or assign a plant or customer in a company code where it already exists or there is a conflict in the master data assignment.

    • The placeholders & in the message are replaced by the actual plant/customer and company code values.
    • It indicates that the plant or customer you are trying to create or assign is already created or assigned in the specified company code.
    • This can happen during master data creation or assignment processes, such as:
      • Creating a customer master record (XD01/VD01/FD01)
      • Assigning a plant to a company code in configuration
      • Creating or changing a plant master record (OX10)

    Common Scenarios:

    • You try to create a customer master record in a company code where the customer already exists.
    • You try to assign a plant to a company code where the plant is already assigned.
    • You try to create a plant master record with a plant number that already exists in the company code.
    • Data inconsistency or duplicate entries in master data.

    Solution / How to Fix:

    1. Check Existing Master Data:

      • Verify if the plant or customer already exists in the specified company code.
      • Use transaction codes:
        • For customer: XD03 (Display Customer), VD03, FD03
        • For plant: OX10 (Display Plant), MM03 (Display Material Master with plant info)
    2. Avoid Duplicate Creation:

      • If the plant/customer already exists, do not create a new one with the same identifiers.
      • Instead, use/change the existing master data as needed.
    3. Correct Assignment:

      • If you are assigning a plant to a company code, check the configuration in SPRO under Enterprise Structure > Assignment > Logistics - General > Assign Plant to Company Code.
      • Ensure the plant is not already assigned to another company code or the same company code.
    4. Data Consistency Check:

      • Run consistency checks or reports to find duplicates or inconsistencies.
      • Use transaction codes like SE16/SE16N to check tables:
        • Customer master: KNA1, KNB1
        • Plant master: T001W (plants per company code)
    5. Consult SAP Notes:

      • Sometimes, specific SAP Notes address issues related to master data creation and assignment errors.
      • Search SAP Support Portal with the error message or symptom.

    Additional Information:

    • The error message is a warning or error depending on the context and system configuration.
    • It helps prevent data duplication and ensures proper organizational assignment.
    • Proper master data governance and validation during creation/assignment help avoid this error.

    If you provide the exact transaction or process where this error occurs, I can give more tailored advice.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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