Message type: E = Error
Message class:  /SEHS/DG_DG -  
Message number: 251
Message text: Could not find interval &1 in number range &2
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 /SEHS/DG_DG251 Could not find interval &1 in number range &2 typically indicates that the system is unable to find a specific interval in a defined number range. This can occur in various contexts, such as when trying to generate a document number, a transaction number, or any other entity that relies on number ranges.
Cause: Missing Number Range Interval: The specified number range does not have an interval defined for the requested number. Number Range Configuration: The number range might not be properly configured or activated in the system. Authorization Issues: The user may not have the necessary authorizations to access the number range. Number Range Exhaustion: The number range might be exhausted, meaning all available numbers have been used up. Incorrect Number Range Assignment: The number range might not be correctly assigned to the object or document type you are trying to create.
Solution: Check Number Range Configuration: Go to transaction code SNRO (Number
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/SEHS/DG_DG250 -------------------------- Number Range Objects -------------------------
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SEHS/DG_DG223 Enter method for activation check
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SEHS/DG_DG252 Number range error: Number range & is not an internal/external no. range
What causes this issue?  An internal number range interval is used instead of an external, or vice versa.Error message extract from SAP system. Copyri...
/SEHS/DG_DG253 Number range error: Could not find number range &
What causes this issue?  The system did not find the assigned number range.System Response  The system cannot continue with processing.How to fix this...
Click on this link to search all SAP messages.