SAP Message >0199 - Internal error: Processing locks incorrectly transferred

Diagnosis
A document is to be posted in which individual items are also to belocked. They are dunning locks, payment locks and interest calculationlocks.
When calling a function module for posting (FKK_CREATE_DOC orFKK_CREATE_DOC_MASS), the desired locks can either be copied within abusiness partner item (fields FKKOP-SPZAH, FKKOP-MANSP, FKKOP-SPERZ) orin a separate lock table (T_FKKOPL).
In this case, both options are being used. However, this combination isnot supported by the system.
Error message that stops processing.

Procedure
INCLUDE NA_SYSADMIN1 OBJECT DOKU ID TX

Procedure for System Administration
INCLUDE FICA_NA_OSS OBJECT DOKU ID TX