SAP Message VG040 - Field format is incorrect.

Diagnosis
The content of a field in the EDIIntermediate Document) has the wrongformat for the application. This is the case, for example, if a datefield is incorrect.

Procedure
Find out how the unauthorized value got into the Intermediate Document.