SAP Message >0036 - Document type &1 only allows document numbers from &2 to &3

>0036 : Document type &1 only allows document numbers from &2 to &3