How To Fix /ACCGO/CMN065 - Company code &1 differs from the company code of reference document &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: /ACCGO/CMN -

  • Message number: 065

  • Message text: Company code &1 differs from the company code of reference document &2

  • 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 /ACCGO/CMN065 - Company code &1 differs from the company code of reference document &2 ?

    The SAP error message /ACCGO/CMN065 indicates that there is a mismatch between the company code of the document you are trying to process and the company code of a reference document. This typically occurs in scenarios involving financial transactions, such as when you are trying to create or post a document that references another document (like a journal entry, invoice, etc.) that belongs to a different company code.

    Cause:

    1. Company Code Mismatch: The primary cause of this error is that the company code of the document you are trying to create or modify does not match the company code of the reference document. This can happen if:

      • You are trying to post a document that references another document (like a payment referencing an invoice) that belongs to a different company code.
      • There is a configuration issue where the company codes are not set up correctly in the system.
    2. Incorrect Document Reference: The document you are referencing may have been created in a different company code, leading to this error when you attempt to link or reference it.

    Solution:

    1. Check Company Codes: Verify the company codes of both the document you are trying to post and the reference document. Ensure that they match. You can do this by:

      • Viewing the document details in SAP to check the company code.
      • Ensuring that you are working within the correct company code context.
    2. Correct Document Reference: If you find that the reference document is indeed in a different company code, you will need to either:

      • Change the reference to a document that belongs to the same company code.
      • Create a new document in the correct company code if necessary.
    3. Configuration Review: If this error occurs frequently, it may be worth reviewing the configuration settings in your SAP system to ensure that company codes are set up correctly and that there are no inconsistencies in the way documents are being processed.

    4. Consult Documentation: If you are unsure about the specific documents or processes involved, consult the SAP documentation or your organization's SAP support team for guidance.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like FB03 (Display Document) or FB50 (G/L Account Document Entry) to view and analyze the documents involved.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional troubleshooting steps.
    • User Authorization: Ensure that you have the necessary authorizations to access and modify documents in the relevant company codes.

    By following these steps, you should be able to resolve the error and proceed with your transaction 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'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