SAP Message B1272 - Error when closing IDoc: Status not set

Diagnosis
The IDoc could not be closed in the previous step because no statusrecord was written. This error can only result from a program error.

Procedure
Please contact SAP.