SAP Message B1269 - Error when closing IDoc: IDoc not opened

Diagnosis
The IDoc could not be closed in the previous step since it has notbeen opened. This error can only result from a program error.

Procedure
Please contact SAP.