SAP Message >REP604 - File format is incorrect

Diagnosis
The record format of the file is incorrect. The necessary records areextract header, document header, and only then can partner items andgeneral ledger items follow.

System Response
Action was terminated.