SAP Message 8A607 - No adequate record found in control table for &1, &2

Diagnosis
The number range assigned to the control data for generating theofficial document number has either expired (all numbers are used) orhas not been maintained.

System Response
The system does not allow this document to be posted.

Procedure
Assign a valid number range to the company codes in the Customizingactivity Assign Number Range to Company Code.