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.

    Artificial intelligence solution provided by tomco.ai.
    Disclaimer
    • 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.


Feature Free Access Free Trial
Basic SAP error explanation T-Code Explanation T-Code Explanation 2
Step-by-Step Usage Guide Step-by-Step Step-by-Step 2
Interactive SAP Coach Assistance Interactive SAP Interactive SAP 2
AI Troubleshooting for T-Code Errors AI Troubleshooting AI Troubleshooting 2

Related SAP Error Messages

Click the links below to see the following related messages:


SAP messages fall into 3 different categories: Error messages (message type = E), Warnings (W) or Informational (I) messages.

An error message will prevent you from continuing your work - it is a hard stop and you need to fix the error before you can proceed. A warning message will stop your work, however, you can then bypass the warning by pressing the Enter key on your keyboard. That said, it is still good practice to investigate the cause of the warning message and address it. An information message will not stop your work and is truly just for informational purposes.

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author