SAP Message AU220 - With internal number assignment, no main number could be assigned.

Diagnosis
Internal number assignment is being used. The system could not supplya main number. This could be for one of the following reasons:
The system could not find the number range.
There are no more numbers available in the number interval.
The number range is not managed internally.

Procedure
Check the number range definition in FI-AA Customizing.