Message type: E = Error
Message class:  /EACA/GL_DOCNUMBER -  
Message number: 002
Message text: Internal error in document number assignment
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 /EACA/GL_DOCNUMBER002 Internal error in document number assignment typically indicates an issue with the document number assignment process in the SAP system, particularly in the context of General Ledger (GL) accounting. This error can arise due to various reasons, including configuration issues, inconsistencies in number ranges, or problems with the underlying database. Causes: Number Range Configuration: The number range for document numbers may not be properly configured or may be exhausted. Database Issues: There could be inconsistencies or corruption in the database that affects the number assignment. Custom Code: If there are custom developments or enhancements in the document posting process, they might interfere with the standard number assignment logic. Authorization Issues: Lack of proper authorizations for the user trying to post the document can also lead to this error. System Bugs: There may be bugs in the SAP version you are using that affect document number assignment. Solutions: Check Number Range Configuration: Go to transaction
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/EACA/GL_DOCNUMBER001 Incorrect number assignment for accounting system & and org. unit &
What causes this issue?  No number range interval has been maintained for accounting system &V1& and the leading organizational unit &V2&a...
/EACA/GL_CUST047 The posting transaction is not yet active in data basis &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/EACA/GL_DOCNUMBER003 No document number interval could be derived from document type &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/EACA/GL_DOCNUMBER004 No document number could be determined 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.