SAP Message >0174 - Formal error: Invalid calling sequence for function modules

Diagnosis
Program error in an application program in which mass documents are tobe created. After the initialization call for mass documents,
FKK_CREATE_DOC_MASS_START
only the following calls for creating documents -
FKK_CREATE_DOC_MASS or FKK_CREATE_DOC_MASS_AND_CLEAR -
are permitted. Instead, one of the function modules
FKK_CREATE_DOC or FKK_CREATE_DOC_AND_CLEAR
was used. You can only use these function modules to create singledocuments.

System Response
Error message

Procedure
INCLUDE NA_SYSADMIN1 OBJECT DOKU ID TX LANGUAGE EN

Procedure for System Administration
INCLUDE FICA_NA_OSS OBJECT DOKU ID TX LANGUAGE EN