Do you have any question about this error?
Message type: E = Error
Message class: FAGL_LEDGER_CUST - New General Ledger: Customizing
Message number: 504
Message text: Ledger group &1 must not contain ledger &2
The transaction is performed for only one ledger. However, since the
posting is performed for a ledger group, the ledger group of the
selected ledger must contain only this ledger (plus a day ledger, if
applicable).
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.
FAGL_LEDGER_CUST504
- Ledger group &1 must not contain ledger &2 ?The SAP error message FAGL_LEDGER_CUST504 indicates that there is a configuration issue with the ledger group and the ledgers assigned to it. Specifically, the error states that the specified ledger group (
&1
) must not contain the specified ledger (&2
). This typically occurs in the context of Financial Accounting (FI) and General Ledger (G/L) accounting in SAP.Cause:
- Configuration Error: The ledger (
&2
) is not allowed to be part of the specified ledger group (&1
). This could be due to incorrect configuration settings in the system.- Inconsistent Settings: The ledger may have been assigned to the ledger group incorrectly, or the ledger group may have restrictions on which ledgers can be included.
- Customizations: If there are customizations or specific business rules in place, they may restrict certain ledgers from being included in specific ledger groups.
Solution:
Check Ledger Group Configuration:
- Go to the configuration settings for the ledger group in SAP (Transaction Code:
OB22
).- Verify the settings for the ledger group and ensure that the ledger (
&2
) is not included in the group if it is not supposed to be.Modify Ledger Assignments:
- If the ledger should not be part of the group, remove it from the ledger group.
- If the ledger should be part of the group, you may need to adjust the configuration to allow it.
Review Business Rules:
- Check if there are any specific business rules or requirements that dictate which ledgers can be included in which groups. Adjust the configuration accordingly.
Consult Documentation:
- Review SAP documentation or consult with your SAP support team for any specific guidelines related to ledger groups and ledgers.
Testing:
- After making changes, perform testing to ensure that the error does not occur again and that the system behaves as expected.
Related Information:
OB22
- Configuration for Ledger GroupsOBY6
- Define LedgersIf the issue persists after following these steps, it may be beneficial to engage with SAP support or a consultant who specializes in SAP Financial Accounting for further assistance.
Get instant SAP help. Start your 7-day free trial now.
FAGL_LEDGER_CUST503
The posting period variant of the representative ledger is used
What causes this issue? If there is no entry in the <LS>Posting Period Variant</> field, the system applies for this combination of ledge...
FAGL_LEDGER_CUST502
No entries permitted in the "Posting Period Variant" field
What causes this issue? The <LS>Manage Posting Period Variant for Company Code/Ledger</> field is activated for the company code in the g...
FAGL_LEDGER_CUST505
Day ledger &1 has a different posting period variant
What causes this issue? You want to activate the <LS>Manage Posting Period Variant for Company Code/Ledger</> field for the company code ...
FAGL_LEDGER_CUST600
No data selected for: &1 &2 &3
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.