SAP Message C$664 - False document status

Diagnosis
The status of the document you want to generate is incorrect.

System Response
The system terminated report generation.

Procedure
Reset the document status.