Message type: E = Error
Message class:  FAGL_SWITCH_OP -  
Message number: 018
Message text: Balance of ledger &1 differs from the account balance
The balance of the account (in the company code) is determined from the
line item table by totaling the update currency. The balance of the
account is determined for each ledger on the basis of the ledger table.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
If there are <ZH>no</> postings specific to ledger groups, however,
these amounts should be identical. If the amounts are not identical,
there is a data inconsistency. In this case, create a customer message.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message FAGL_SWITCH_OP018 indicates that there is a discrepancy between the balance of a ledger and the balance of the corresponding account. This error typically arises during the process of switching to the new General Ledger (G/L) accounting or during the execution of certain financial operations.
Cause: Data Inconsistency: The most common cause of this error is data inconsistency between the balances in the ledger and the balances in the accounts. This can happen due to: Incorrect postings or adjustments made in the accounts. Missing or incomplete data during the migration to the new G/L. Manual adjustments that were not reflected in the ledger.
Configuration Issues: There may be configuration issues in the G/L settings that lead to discrepancies. Open Items: If there are open items in the account that have not been cleared, this can also lead to balance differences.
Solution: Reconcile Balances: Check the balances in the ledger and the account. Use transaction codes like
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FAGL_SWITCH_OP017 Company code &4: ledger &1, balance &2 &3 (from totals record table)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FAGL_SWITCH_OP016 Company code/ledger &4: balance &2 &3 &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FAGL_SWITCH_OP019 Test run; no changes to database
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FAGL_SWITCH_OP020 Company code/ledger group &1: Post &2 &3 to account &4
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.