Message type: E = Error
Message class:  ICC_FI_CN - Für die Meldungen extern vornum. Belege 
Message number: 002
Message text: The first invoice number in a lot must come before the last
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message ICC_FI_CN002 indicates that there is an issue with the invoice numbers in a lot. Specifically, the error states that the first invoice number in a lot must come before the last invoice number. This typically occurs during the processing of invoices, particularly in the context of financial transactions or invoice management.
Cause: The error is caused by the following scenarios: Incorrect Invoice Number Sequence: The first invoice number entered is greater than or equal to the last invoice number. For example, if the first invoice number is 1002 and the last invoice number is 1001, this will trigger the error. Data Entry Error: There may have been a typographical error during data entry, leading to an incorrect sequence of invoice numbers. System
Configuration Issues: In some cases, the configuration settings in the SAP system may not be set up correctly, leading to this error.
Solution: To resolve the error, you can take the
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
ICC_FI_CN001 Document &1 voided
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
ICC_FI_CN000 Enter a 10-digit registration number with leading zeros
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
ICC_FI_CN003 No entry found
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
ICC_FI_CN004 Could not delete documents
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.