How To Fix FH170 - CoCd &1 assigned to chrt/accts &2 in source system, to chart &3 in target


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FH - General ledger module messages

  • Message number: 170

  • Message text: CoCd &1 assigned to chrt/accts &2 in source system, to chart &3 in target

  • Show details Hide details
  • What causes this issue?

    You are sending G/L account master data for company code &V1& from a
    source system to a target system using ALE. In the source system,
    company code &V1& is assigned to chart of accounts &V2&, in the target
    system, however, to chart of accounts &V3&.

    System Response

    G/L accounts from company code &V1& cannot be processed in the target
    system.

    How to fix this error?

    Assign company code &V1& to the same chart of accounts in both the
    source and target systems.

    Procedure for System Administrators

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FH170 - CoCd &1 assigned to chrt/accts &2 in source system, to chart &3 in target ?

    The SAP error message FH170 indicates a problem with the assignment of a company code (CoCd) to a chart of accounts (CoA) during a data transfer or migration process. Specifically, it suggests that the company code in the source system is assigned to a different chart of accounts than the one in the target system.

    Cause:

    1. Inconsistent Chart of Accounts Assignment: The company code in the source system is linked to a chart of accounts that is not correctly mapped or does not exist in the target system.
    2. Missing Configuration: The target system may not have the necessary configuration for the chart of accounts that the company code is trying to use.
    3. Data Migration Issues: During data migration, the mapping of company codes to charts of accounts may not have been set up correctly.

    Solution:

    1. Check Chart of Accounts Configuration:

      • Verify that the chart of accounts assigned to the company code in the source system is also defined in the target system.
      • If it is not present, you may need to create the chart of accounts in the target system.
    2. Mapping Review:

      • Review the mapping of company codes to charts of accounts during the migration process. Ensure that the mappings are correct and that all necessary charts of accounts are included.
    3. Adjust Company Code Assignment:

      • If the chart of accounts in the target system is correct but the company code is incorrectly assigned, you may need to adjust the assignment in the source system or during the migration process.
    4. Use Transaction Codes:

      • Use transaction code OBY6 to check and maintain the assignment of company codes to charts of accounts in the target system.
    5. Consult Documentation:

      • Review any migration documentation or guidelines provided for the specific data transfer process you are using to ensure compliance with the required configurations.

    Related Information:

    • Transaction Codes:

      • OBY6: Assign company codes to charts of accounts.
      • OBD2: Define chart of accounts.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional guidance on handling chart of accounts assignments.

    • Testing: After making changes, perform testing to ensure that the company code can now be successfully assigned to the correct chart of accounts in the target system.

    By following these steps, you should be able to resolve the FH170 error and ensure that the company code is correctly assigned to the appropriate chart of accounts in the target system.

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