Incorrect doc.no.: &. Select document number between & and &

Message type: E = Error

Message class: F5 - Document Editing

Message number: 151

Message text: Incorrect doc.no.: &. Select document number between & and &



What causes this issue?

The document number you specified, &V1&, is not in the appropriate
number range. The number range is dependent on the document type.
The exception to this rule is formed by recurring entry documents, which
must use number range 'X1' and sample documents, which must use number
range 'X2'.
Possible reasons for this error message are:
You have entered an incorrect document number.
An incorrect document number was transferred to this application during
an update from another application (e.g. CO).


System Response

The document cannot be processed any further.


How to fix this error?

Enter a document number that is within the specified number interval.
If this error was caused by an update from another application, check
the type of number assignment in that application (external or
internal?) as well as the document number transferred.


How can this happen?

In the CO settlement profile, a document type with external number
assignment was entered, whereas an internal document number was t
ransferred.

Error message extract from SAP system. Copyright SAP SE.