How To Fix CN077 - Company codes of WBS elements must agree


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 077

  • Message text: Company codes of WBS elements must agree

  • Show details Hide details
  • What causes this issue?

    A. You want to change the WBS element of a component.
    The WBS element you entered is assigned to a different company code than
    the original WBS element.

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

    B. You want to reallocate a component that is assigned to a WBS element
    to another activity.
    The WBS element of the component is assigned to a different company code
    than the target activity's WBS element.

    How to fix this error?

    A. Choose a WBS element from the same company code.
    B. Choose a target activity with a WBS element from the same company
    code.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CN077 - Company codes of WBS elements must agree ?

    The SAP error message CN077 ("Company codes of WBS elements must agree") typically occurs in the context of project management and controlling when you are trying to perform an operation involving Work Breakdown Structure (WBS) elements that belong to different company codes. This is a common issue when dealing with projects that span multiple company codes or when there is a mismatch in the company codes assigned to the WBS elements involved in a transaction.

    Cause:

    1. Different Company Codes: The WBS elements you are trying to use in a transaction (like posting costs, creating a project, etc.) belong to different company codes. SAP requires that all WBS elements involved in a single transaction must belong to the same company code.
    2. Incorrect WBS Element Assignment: The WBS elements may have been incorrectly assigned to different company codes during their creation or configuration.
    3. Cross-Company Code Transactions: Attempting to perform a transaction that involves multiple company codes without proper configuration.

    Solution:

    1. Check WBS Elements: Verify the company codes assigned to the WBS elements involved in the transaction. You can do this by navigating to the WBS element in the project structure and checking its details.
    2. Use WBS Elements from the Same Company Code: Ensure that all WBS elements you are trying to use in the transaction belong to the same company code. If they do not, you will need to select WBS elements that are in the same company code.
    3. Adjust Project Structure: If necessary, you may need to restructure your project to ensure that all relevant WBS elements are under the same company code.
    4. Consult Configuration: If you are frequently encountering this issue, it may be worth consulting with your SAP configuration team to ensure that your project structure and company code assignments are set up correctly.
    5. Transaction Type: Ensure that the transaction you are trying to perform is appropriate for the WBS elements you are using. Some transactions may not support cross-company code operations.

    Related Information:

    • Transaction Codes: You can use transaction codes like CJ20N (Project Builder) or CJ03 (Display WBS) to view and manage WBS elements.
    • SAP Notes: Check SAP Notes for any specific patches or updates related to this error message, as there may be known issues or enhancements that could affect your situation.
    • Documentation: Review SAP documentation on project management and controlling for best practices regarding WBS element management and company code assignments.

    By following these steps, you should be able to resolve the CN077 error and proceed with your project-related transactions in SAP.

    • 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