How To Fix CN066 - Plant & is not assigned to company code & of network


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CN - Meldungen für Netzpläne

  • Message number: 066

  • Message text: Plant & is not assigned to company code & of network

  • Show details Hide details
  • What causes this issue?

    Plant &V1& for the activity is not assigned to company code &V2&
    in the network.
    INCLUDE 'NA_ALLG_ORGELEM' OBJECT DOKU ID TX

    System Response

    INCLUDE 'NA_ALLG_NOVERARBEITUNG' OBJECT DOKU ID TX

    How to fix this error?

    Enter a different plant for the activity.
    INCLUDE 'NA_ALLG_VORGEHEN' OBJECT DOKU ID TX
    Check in Customizing the organizational data and make
    any necessary changes.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CN066 - Plant & is not assigned to company code & of network ?

    The SAP error message CN066 indicates that a specific plant is not assigned to the company code in the context of a network. This error typically arises when you are trying to create or modify a network in Project System (PS) or when you are working with cost planning and controlling in SAP.

    Cause:

    1. Missing Assignment: The plant you are trying to use in the network is not assigned to the specified company code in the system.
    2. Configuration Issues: There may be a configuration issue in the system where the plant and company code relationship has not been properly set up.
    3. Data Entry Error: There could be a mistake in the data entry where the wrong plant or company code is being referenced.

    Solution:

    1. Check Plant Assignment:

      • Go to the transaction code OX18 (or navigate through the SAP menu: Logistics > Logistics Execution > Master Data > Plant > Assign Plant to Company Code).
      • Verify if the plant in question is assigned to the correct company code. If not, you will need to assign it.
    2. Assign Plant to Company Code:

      • If the plant is not assigned, you can assign it by selecting the appropriate company code and plant combination and saving the changes.
    3. Verify Network Settings:

      • Check the network settings in the Project System to ensure that the correct plant is being used.
      • Use transaction code CN21 to create a network and ensure that the plant is correctly specified.
    4. Check Master Data:

      • Ensure that the master data for the plant and company code is correctly maintained. This includes checking the configuration of the plant in the system.
    5. Consult Documentation:

      • If you are unsure about the configuration, refer to the SAP documentation or consult with your SAP Basis or configuration team for assistance.

    Related Information:

    • Transaction Codes:

      • OX18: Assign Plant to Company Code
      • CN21: Create Network
      • CN22: Change Network
      • CN03: Display Network
    • SAP Notes: Check for any relevant SAP Notes that might address specific issues related to this error message.

    • User Roles and Authorizations: Ensure that the user has the necessary authorizations to make changes to the plant and company code assignments.

    By following these steps, you should be able to resolve the CN066 error and ensure that the plant is correctly assigned to the company code in your SAP system.

    • 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