SAP Message V1142 - There are not enough item numbers free for a structure explosion

Diagnosis
The system attempted to explode a structure for an item (bill ofmaterial, product selection or free goods). It was established thatthere are insufficient item numbers between the current main item andthe subsequent main item.

System Response
The structure is not exploded.

Procedure
Delete the main item and enter it as the last item.