Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix FH138 - Specify different source and target company codes


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FH - General ledger module messages

  • Message number: 138

  • Message text: Specify different source and target company codes

  • 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 FH138 - Specify different source and target company codes ?

    The SAP error message FH138, which states "Specify different source and target company codes," typically occurs during financial transactions involving intercompany postings or transfers. This error indicates that the source and target company codes specified in the transaction are the same, which is not allowed in intercompany transactions.

    Cause:

    1. Same Company Code: The most common cause of this error is that the user has inadvertently selected the same company code for both the source and target in a transaction that requires different company codes.
    2. Configuration Issues: There may be issues in the configuration of the company codes or the settings for intercompany transactions.
    3. Data Entry Error: A simple data entry mistake where the user selects the same company code for both fields.

    Solution:

    1. Check Company Codes: Review the transaction to ensure that the source and target company codes are indeed different. If they are the same, change one of them to the appropriate company code.
    2. Review Transaction Type: Ensure that the transaction type you are trying to execute is appropriate for intercompany postings. If it is not, you may need to use a different transaction type.
    3. Consult Documentation: Refer to SAP documentation or your organization's internal guidelines for intercompany transactions to ensure compliance with the required processes.
    4. Configuration Review: If the issue persists, consult with your SAP configuration team to ensure that the company codes are set up correctly for intercompany transactions.
    5. User Training: If this error occurs frequently, consider providing additional training to users on how to correctly enter intercompany transactions.

    Related Information:

    • Intercompany Transactions: Understand the concept of intercompany transactions in SAP, which involves transactions between different company codes within the same organization.
    • SAP Configuration: Familiarize yourself with the configuration settings for company codes in SAP, including how to set up intercompany relationships.
    • Transaction Codes: Be aware of the relevant transaction codes (e.g., FB50, FB01) that may be used for posting financial transactions and how they relate to company codes.
    • SAP Notes: Check SAP Notes for any known issues or updates related to this error message, as there may be patches or updates that address specific scenarios.

    By following these steps, you should be able to resolve the FH138 error and successfully complete your financial transactions in SAP.

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