How To Fix >5391 - | ... Document &1 will not be transferred - company codes differ


SAP Error Message - Details

  • Message type: E = Error

  • Message class: >5 -

  • Message number: 391

  • Message text: | ... Document &1 will not be transferred - company codes differ

  • 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 >5391 - | ... Document &1 will not be transferred - company codes differ ?

    The SAP error message 5391 indicates that there is a problem with the transfer of a document due to differing company codes. This typically occurs when you are trying to post or transfer a document that involves multiple company codes, and the system detects that the company codes associated with the document do not match.

    Cause:

    The error arises when:

    • You are attempting to post a document (like a journal entry or invoice) that references multiple company codes.
    • The document is being transferred between different company codes, but the system identifies that the company codes involved are not compatible for the operation being performed.

    Solution:

    To resolve this error, you can take the following steps:

    1. Check Company Codes: Verify the company codes associated with the document you are trying to post. Ensure that all line items in the document belong to the same company code.

    2. Adjust Document: If the document is meant to be posted to a single company code, adjust the entries so that all line items are under the same company code.

    3. Use Cross-Company Code Transactions: If you need to post transactions that involve multiple company codes, ensure that you are using the appropriate cross-company code functionality in SAP. This may involve using specific transaction codes or settings that allow for inter-company postings.

    4. Review Configuration: Check the configuration settings in your SAP system related to company codes and document types. Ensure that the settings allow for the type of transaction you are trying to perform.

    5. Consult Documentation: Refer to SAP documentation or help resources for specific guidance on handling inter-company transactions and postings.

    6. Seek Help from SAP Support: If the issue persists, consider reaching out to your SAP support team or consulting SAP Notes for any known issues or patches related to this error.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as FB01 (Post Document), FB50 (G/L Account Document), and others that may be involved in posting documents.
    • Inter-Company Transactions: Understand the concept of inter-company transactions in SAP, which allows for transactions between different company codes.
    • SAP Notes: Check SAP Notes for any updates or specific fixes related to error 5391.

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

    • 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
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