SAP Message 68851 - Only enter 1 doc. header, 1 batch input parameter and 1 KOFI parameter

Diagnosis
For each call there must only be 1 entry in the document header table,1 entry in the BTCI control table and, if applicable, only 1 entry inthe KOFI control table.

System Response
The program terminates immediately.

Procedure
The program logic must be corrected.