SAP Message B1271 - Error when closing IDoc: Incorrect parametrization

Diagnosis
The IDoc could not be closed in the previous step because call in theprogram was parametrized incorrectly. This error can only result froma program error.

Procedure
Please contact SAP.