Stop Googling SAP errors. Use our Free Essentials plan instead - instant AI help, no credit card needed. Start Now

Close

How To Fix M8799 - Cross-company-code transaction in document &1, item &2, company code &3


SAP Error Message - Details

  • Message type: E = Error

  • Message class: M8 - Invoice Verification/Valuation

  • Message number: 799

  • Message text: Cross-company-code transaction in document &1, item &2, company code &3

  • Show details Hide details
  • What causes this issue?

    You are working in company code &V4&.
    You are entering the invoice for a document &V1& that is assigned to a
    different company code &V3&.

    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 document number you entered, and the company code in which you
    are working. Correct your entries as applicable.

    Procedure for System Administrators

    By default, this message is set as a warning. You can set the system
    message as an error (<LB>E</>) or an information message (<LB>I</>) in
    Customizing for <LS>Logistics Invoice Verification</> under
    <DS:SIMG.SIMG_CFMENUOLMROMRM>Define Attributes of System Messages</>.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message M8799 - Cross-company-code transaction in document &1, item &2, company code &3 ?

    The SAP error message M8799 indicates that there is a cross-company code transaction issue in a document. This error typically arises when you are trying to post a transaction that involves multiple company codes, which is not allowed in certain contexts within SAP.

    Cause:

    The error occurs due to the following reasons:

    1. Cross-Company Code Transactions: The transaction you are trying to post involves multiple company codes, which is not permitted for the specific document type or transaction type you are using.
    2. Configuration Settings: The system may be configured to disallow cross-company code transactions for certain types of documents or postings.
    3. Document Type Restrictions: The document type being used may not support cross-company code transactions.

    Solution:

    To resolve the M8799 error, you can consider the following steps:

    1. Check Document Type: Ensure that the document type you are using allows for cross-company code transactions. If it does not, you may need to use a different document type that supports such transactions.

    2. Review Configuration:

      • Go to the configuration settings in SAP (Transaction SPRO) and check the settings for the relevant document types and company codes.
      • Ensure that the configuration allows for cross-company code transactions if that is your intention.
    3. Separate Transactions: If cross-company code transactions are not allowed, consider splitting the transaction into separate postings for each company code involved.

    4. Consult with SAP Basis or Functional Consultant: If you are unsure about the configuration or how to proceed, it may be helpful to consult with an SAP Basis or functional consultant who can provide guidance based on your specific system setup.

    5. Check User Authorizations: Ensure that the user has the necessary authorizations to perform transactions across different company codes, if applicable.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as FB01 (Post Document), MIRO (Invoice Verification), or others that may be involved in the transaction.
    • SAP Notes: Check for any SAP Notes related to this error message for additional insights or patches that may address the issue.
    • Documentation: Review SAP documentation regarding cross-company code transactions to understand the limitations and requirements.

    By following these steps, you should be able to identify the cause of the M8799 error and implement a suitable solution.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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