SAP Message BK213 - Processing not possible as posting exists on CCtr/activity type

Diagnosis
The document contains a row in which a cost center / activity type isposted. This document was generated using BAPIs.

Procedure
Use the corresponding BAPI.