How To Fix FINS_ACDOC_CUST504 - Company code &1 is not assigned to leading ledger &3.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FINS_ACDOC_CUST - Unified Journal Entry - Customizing

  • Message number: 504

  • Message text: Company code &1 is not assigned to leading ledger &3.

  • Show details Hide details
  • What causes this issue?

    You are trying to assign company code &V1& to a ledger &V2&. This is
    only possible if the company code &V1& is already assigned to the
    leading ledger &V3&. For some reason this is not the case, so you are
    not allowed to assign company code &V1& to ledger &V2&.

    System Response

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

    How to fix this error?

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FINS_ACDOC_CUST504 - Company code &1 is not assigned to leading ledger &3. ?

    The SAP error message FINS_ACDOC_CUST504 indicates that a specific company code is not assigned to the leading ledger in the system. This error typically arises during financial postings or when trying to execute certain financial transactions.

    Cause:

    The primary cause of this error is that the company code specified in the transaction is not linked to the leading ledger in the system configuration. In SAP, each company code must be assigned to a ledger to ensure that financial transactions are recorded correctly.

    Solution:

    To resolve this error, you need to ensure that the company code is properly assigned to the leading ledger. Here are the steps to do this:

    1. Access the SAP Customizing Implementation Guide (IMG):

      • Go to the SAP Easy Access screen.
      • Enter the transaction code SPRO and press Enter.
    2. Navigate to the Ledger Assignment:

      • Follow the path: Financial Accounting (New) > Financial Accounting Global Settings (New) > Ledgers > Define and Assign Ledgers.
    3. Check the Assignment:

      • In the ledger assignment screen, check if the company code in question is assigned to the leading ledger (usually the leading ledger is 0L).
      • If it is not assigned, you will need to add the company code to the leading ledger.
    4. Assign the Company Code:

      • Click on the "New Entries" button to add the company code to the leading ledger.
      • Enter the company code and the leading ledger (e.g., 0L) in the appropriate fields.
    5. Save Changes:

      • After making the necessary changes, save your entries.
    6. Test the Transaction:

      • Go back to the transaction that generated the error and try to execute it again to see if the issue is resolved.

    Related Information:

    • Leading Ledger: In SAP, the leading ledger is the primary ledger used for financial reporting. It is essential for compliance and reporting purposes.
    • Transaction Codes: Familiarize yourself with relevant transaction codes such as OB22 (for defining ledgers) and OBY6 (for company code settings).
    • Authorization: Ensure that you have the necessary authorizations to make changes in the configuration settings.
    • Consult Documentation: If you are unsure about the changes, consult SAP documentation or your SAP support team for guidance.

    By following these steps, you should be able to resolve the FINS_ACDOC_CUST504 error and ensure that your company code is correctly assigned to the leading ledger.

    • 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant