How To Fix 6D791 - Copy from company code with different currency; adjust amounts


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 6D - Real Estate Messages

  • Message number: 791

  • Message text: Copy from company code with different currency; adjust amounts

  • Show details Hide details
  • What causes this issue?

    The company code from which you are copying a rental agreement has a
    different currency setting than the company code in which you are
    currently working.
    The system cannot automatically adjust the condition amounts.

    How to fix this error?

    Manually change the condition amounts so that they are correct in the
    company code currency. Make sure to also change the rent deposit
    amount, or for sales-based rental agreements, the sales gradings.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 6D791 - Copy from company code with different currency; adjust amounts ?

    The SAP error message 6D791 indicates that there is an issue when trying to copy data from one company code to another where the two company codes have different currencies. This typically occurs during processes such as data migration, financial postings, or when setting up new company codes in SAP.

    Cause:

    The error arises because the source company code and the target company code are configured with different currencies. SAP requires that financial amounts be consistent in terms of currency when copying or transferring data. If the currencies differ, SAP cannot automatically convert the amounts, leading to this error.

    Solution:

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

    1. Check Company Code Settings:

      • Verify the currency settings for both the source and target company codes. You can do this by navigating to the company code configuration in the SAP system (Transaction Code: OX02).
      • Ensure that you understand the currency used in each company code.
    2. Adjust Amounts Manually:

      • If you need to copy data, you may have to manually adjust the amounts to reflect the currency of the target company code. This may involve currency conversion based on the current exchange rates.
    3. Use Currency Conversion:

      • If applicable, use SAP's currency conversion functionality to convert the amounts from the source currency to the target currency before copying the data.
    4. Data Migration Tools:

      • If you are performing a data migration, consider using SAP's data migration tools (like LSMW or SAP Data Services) that can handle currency conversions during the migration process.
    5. Consult Documentation:

      • Review SAP documentation or consult with your SAP support team for specific guidelines on handling currency differences during data copying.
    6. Error Handling in Custom Programs:

      • If this error occurs in a custom program or report, ensure that the program includes logic to handle different currencies appropriately.

    Related Information:

    • Transaction Codes:
      • OX02: Change Company Code
      • OX03: Display Company Code
    • Currency Configuration:
      • Ensure that the currency settings are correctly configured in the company code settings.
    • Exchange Rates:
      • Maintain exchange rates in the system (Transaction Code: OB08) if you need to perform conversions.

    By following these steps, you should be able to resolve the error and successfully copy data between company codes with different currencies. If the problem persists, consider reaching out to your SAP support team for further assistance.

    • 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