Do you have any question about this error?
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.
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&.
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.
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:
Access the SAP Customizing Implementation Guide (IMG):
- Go to the SAP Easy Access screen.
- Enter the transaction code
SPRO
and press Enter.Navigate to the Ledger Assignment:
- Follow the path: Financial Accounting (New) > Financial Accounting Global Settings (New) > Ledgers > Define and Assign Ledgers.
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.
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.
Save Changes:
- After making the necessary changes, save your entries.
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:
OB22
(for defining ledgers) and OBY6
(for company code settings).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.
Get instant SAP help. Start your 7-day free trial now.
FINS_ACDOC_CUST503
Accounting principle &1 is assigned in company code &2 to ledger &3.
What causes this issue? You tried to assign the same accounting principle &V1& to company code &V2& in ledger &V3& and &V...
FINS_ACDOC_CUST502
There are already documents posted to company code &1 in the P system
What causes this issue? There are already journal entries posted to company code &V1& in the productive system and therefore it is not possib...
FINS_ACDOC_CUST899
&1 &2 &3 &4
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FINS_ACDOC_DB000
===== One Accounting Document Read Access =====
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.