Message type: E = Error
Message class:  ICC_FI_CN - Für die Meldungen extern vornum. Belege 
Message number: 031
Message text: Select a valid or voided document
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_CN031 typically occurs in the context of financial transactions, particularly when dealing with document processing in the SAP system. This error indicates that the system is unable to find a valid or voided document that matches the criteria specified in the transaction.
Cause: The error can arise due to several reasons: Invalid Document Number: The document number entered may not exist in the system or may have been deleted. Document Status: The document may not be in a valid status for the operation being performed (e.g., it may be in a "blocked" or "archived" status). Authorization Issues: The user may not have the necessary permissions to access the document. Data Entry Errors: There may be typographical errors in the document number or other related fields.
Configuration Issues: There may be issues with the configuration of the document types or the financial module settings.
Solution: To resolve the ICC_FI_CN031 error, you can take the following steps: Verify
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
ICC_FI_CN030 Document &4 in company code &1 not yet voided
What causes this issue?  In company code &1, document lot &2, book &3, document &4 has not yet been voided.System Response  The system...
ICC_FI_CN029 Information missing
What causes this issue?  You have not given all the information required.System Response  The system issues an error message and will not allow you to...
ICC_FI_CN032 Document &1 already 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_CN033 Some or all documents not in lot &1, book &2
What causes this issue?  Book &v2& contains documents &v3& to &v4&. At least some of the document s that you have specified ar...
Click on this link to search all SAP messages.