How To Fix CN072 - Plant & is not assigned to company code & of activity


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 072

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

  • Show details Hide details
  • What causes this issue?

    The plant to which the material is allocated, is different from the
    plant in the activity and is not allocated to the company code of the
    activity.
    In this situation, you cannot allocate the material to the activity.
    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 material for the plant, that is valid for the company code of
    the activity.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

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

    The SAP error message CN072 indicates that a specific plant is not assigned to the company code for a particular activity. This error typically arises in the context of project management or controlling when trying to perform operations related to cost planning, budgeting, or project execution.

    Cause:

    The primary cause of the CN072 error is that the plant you are trying to use in your transaction is not linked to the company code in the system. This can happen due to:

    1. Missing Configuration: The plant has not been assigned to the company code in the configuration settings.
    2. Incorrect Data Entry: The plant or company code entered in the transaction may be incorrect or not exist in the system.
    3. Changes in Organizational Structure: If there have been recent changes in the organizational structure, such as the creation of new plants or company codes, the necessary assignments may not have been updated.

    Solution:

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

    1. Check Plant and Company Code Assignment:

      • Go to the SAP transaction code OX19 (or navigate through the menu: SPRO > Enterprise Structure > Assignment > Logistics - General > Assign Plant to Company Code).
      • Verify if the plant in question is assigned to the relevant company code. If not, you will need to create this assignment.
    2. Create Assignment:

      • If the plant is not assigned, you can create the assignment by selecting the appropriate plant and company code and saving the changes.
    3. Verify Data Entry:

      • Double-check the data you entered in the transaction to ensure that the plant and company code are correct.
    4. Consult with Configuration Team:

      • If you do not have the necessary permissions to make changes, consult with your SAP configuration team or system administrator to ensure that the assignment is made correctly.
    5. Check for Transport Requests:

      • If changes were made in a development environment, ensure that they have been transported to the production environment.

    Related Information:

    • Transaction Codes:

      • OX19 - Assign Plant to Company Code
      • SPRO - Access to the SAP Reference IMG for configuration.
    • Documentation:

      • SAP Help Portal and SAP Notes can provide additional insights and troubleshooting steps related to organizational structure and configuration.
    • User Roles:

      • Ensure that you have the necessary authorizations to view and modify the organizational structure in SAP.

    By following these steps, you should be able to resolve the CN072 error and ensure that the plant is correctly assigned to the company code for your activities.

    • 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