Message type: E = Error
Message class:  FI - TR-FM Funds Management 
Message number: 822
Message text: Matching of line items and totals records in &1 to &2 not allowed
The line items for commitments/actuals are already archived.
It is therefore not possible to match the totals records for
commitments/actuals. If you do so, you will destroy the totals records,
that are still in use.
It is not possible to carry out these selection criteria. You can only
match totals records in FM area &v1& on the basis of fiscal year &v3&.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message FI822 indicates that there is a mismatch between line items and totals records in the financial documents being processed. This error typically occurs during the reconciliation or posting processes in the Financial Accounting (FI) module. Here’s a breakdown of the cause, potential solutions, and related information:
Cause: Mismatch in Totals and Line Items: The error arises when the total amount of line items does not match the total amount recorded in the totals record. This can happen due to: Incorrect data entry. Missing line items. Incorrectly posted documents. Changes made to line items after the totals have been calculated. Document Type Issues: Sometimes, the document type used may not allow certain types of postings or may have specific restrictions.
Configuration Issues: There may be configuration settings in the system that are not aligned with the business processes, leading to mismatches.
Solution: Check Line Items: Review the line items associated with the document. Ensure that all line
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FI821 Version 000/&1 can not be archived in FM area &2
What causes this issue?  You want to archive active budget version '000' of the current fiscal year &v1& of FM area &v2&. Th...
FI820 <<<<<<<<
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FI831 Internal error in archiving
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FI832 Incorrect access to archive
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.