How To Fix CZ170 - Company codes for plant and purchasing organization are not identical


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CZ - Customizing messages

  • Message number: 170

  • Message text: Company codes for plant and purchasing organization are not identical

  • Show details Hide details
  • What causes this issue?

    When assigning plants to purchasing organizations, the company code of
    the plants must match the company code of the purchasing organization.

    System Response

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

    How to fix this error?

    Check the assignment of plants / purchasing organizations to company
    codes. Eliminate the cause of error to avoid terminations in the
    application.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CZ170 - Company codes for plant and purchasing organization are not identical ?

    The SAP error message CZ170 indicates that there is a mismatch between the company code associated with a plant and the purchasing organization in the system. This error typically arises during the configuration of materials, plants, or purchasing organizations in the SAP system, particularly when trying to create or modify purchasing documents or material master records.

    Cause:

    The error occurs when:

    1. The plant is assigned to a company code that is different from the company code assigned to the purchasing organization.
    2. The configuration settings in the SAP system do not align, leading to inconsistencies in the master data.

    Solution:

    To resolve the CZ170 error, you can follow these steps:

    1. Check Plant and Purchasing Organization Assignment:

      • Go to the transaction code SPRO (SAP Reference IMG).
      • Navigate to Enterprise Structure > Assignment > Logistics General > Assign Plant to Company Code.
      • Verify that the plant is correctly assigned to the appropriate company code.
    2. Check Purchasing Organization Assignment:

      • In the same SPRO menu, navigate to Enterprise Structure > Assignment > Materials Management > Assign Purchasing Organization to Company Code.
      • Ensure that the purchasing organization is assigned to the correct company code.
    3. Review Material Master Data:

      • Use transaction code MM03 to display the material master record.
      • Check the plant data and ensure that the plant is correctly assigned to the purchasing organization and company code.
    4. Adjust Configuration:

      • If there are discrepancies, you may need to adjust the configuration settings or reassign the plant or purchasing organization to the correct company code.
    5. Consult with Your SAP Administrator:

      • If you are unsure about making changes, consult with your SAP administrator or a functional consultant who can help ensure that the changes are made correctly without affecting other configurations.

    Related Information:

    • Transaction Codes:

      • SPRO: Access the SAP Reference IMG for configuration.
      • MM03: Display material master data.
      • OMZB: Check the assignment of purchasing organizations to company codes.
    • Documentation:

      • Review SAP documentation or help files related to enterprise structure and purchasing organization configuration for more detailed guidance.
    • Testing:

      • After making the necessary changes, test the process again to ensure that the error is resolved and that the purchasing documents can be created or modified without issues.

    By following these steps, you should be able to resolve the CZ170 error and ensure that your SAP system's configuration is consistent and correct.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author