How To Fix FAGL_MIG136 - Company code &2 is not assigned to ledger &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FAGL_MIG - Migration to New General Ledger Accounting

  • Message number: 136

  • Message text: Company code &2 is not assigned to ledger &1

  • Show details Hide details
  • What causes this issue?

    You have selected a source ledger that does <ZH>not </>have all company
    codes of the migration plan assigned to it.

    System Response

    The ledger is <ZH>not </>appropriate as a source ledger for the
    migration. Assignment to the migration plan is <ZH>not </>possible.

    How to fix this error?

    Select a source ledger that has all company codes of the migration plan
    assigned to it. If this is <ZH>not </>possible, you need to create
    separate migration plans to enable different source ledgers from Special
    Purpose Ledger to be assigned to each one.

    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 FAGL_MIG136 - Company code &2 is not assigned to ledger &1 ?

    The SAP error message FAGL_MIG136 indicates that a specific company code is not assigned to the specified ledger in the context of the New General Ledger (New GL) migration or configuration. This error typically arises during the migration process or when trying to perform transactions that require the company code to be linked to the ledger.

    Cause:

    1. Missing Assignment: The company code has not been assigned to the ledger in the configuration settings.
    2. Incorrect Configuration: The ledger might not be properly set up or activated for the company code in the system.
    3. Migration Issues: If you are migrating from Classic GL to New GL, this error can occur if the necessary assignments were not made during the migration process.

    Solution:

    To resolve the error, follow these steps:

    1. Check Ledger Assignment:

      • Go to the SAP transaction code OB22 (or navigate through the menu: SPRO > Financial Accounting > General Ledger > Master Data > Ledger > Define Ledgers).
      • Verify that the company code is assigned to the correct ledger. If it is not, you will need to add the assignment.
    2. Assign Company Code to Ledger:

      • In the ledger configuration, ensure that the company code is linked to the appropriate ledger.
      • If necessary, create a new assignment by selecting the company code and the ledger you want to assign it to.
    3. Review Migration Settings:

      • If you are in the process of migrating to New GL, ensure that all necessary settings and assignments have been completed as per the migration guide.
      • Check the migration cockpit or tools for any errors or warnings that might indicate missing assignments.
    4. Consult Documentation:

      • Refer to SAP documentation or notes related to New GL migration for any specific steps or considerations that may apply to your scenario.
    5. Testing:

      • After making the necessary changes, test the transaction or process that triggered the error to ensure that it has been resolved.

    Related Information:

    • Transaction Codes:
      • OB22: For ledger assignment.
      • OB37: For checking the configuration of the New GL.
    • SAP Notes: Check for any relevant SAP Notes that might provide additional guidance or fixes related to this error.
    • Support: If the issue persists after following the above steps, consider reaching out to SAP support or your internal SAP team for further assistance.

    By ensuring that the company code is correctly assigned to the ledger, you should be able to resolve the FAGL_MIG136 error and proceed with your financial operations in SAP.

    • 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