SAP Knowledge Base Article - Public

2615008 - BIB: Alternative Cost Distribution (IT0027) replication fails with error KI178


When replicating Alternative Cost Distribution to IT0027 from EC to SAP, a requirement is to save the external code of Alternative Cost Distribution to field PSP01(WBS Element) instead of field KST01(Cost Center). This will be done by directly manipulating internal table pnnnn_prim_tab in BADI ECPAO_IN_EXT_PROCESS_INFOTYPE. And field PSP01 doesn't have mapping in view cluster configuration.

In such case, the replication is not successful, and fails with error 'Enter a true account assignment relevant to cost accounting' message no.KI178.


  • Replicating Employee Master data from Employee Central to SAP ERP HCM
  • Core Hybrid Integration
  • Business Integration Builder (BIB)


When using BADI ECPAO_IN_EXT_PROCESS_INFOTYPE, only fields that have mappings in view cluster will be created/changed. In the case described in symptom, field PSP01 doesn't have mapping and is directly manipulated by the BADI. Hence, its value will not able to be passed further to infotype framework level. Without the information on field PSP01, the accounting combination check called in infotype framework level fails and error KI178 is triggered.

To resolve this issue, during the replication of IT0027, when using the BADI to manipulate the value of field PSP01 in internal table pnnnn_prim_tab, the field PSP01 must be also inserted to internal table erp_field_prim_tab in the BADI. This will ensure that the value of field PSP01 is retrained when passing further to infotype framework level.


IT0027; replication; WBS; PSP01 , KBA , LOD-SF-INT-SAP , SAP OnPremise Payroll & Migration , Problem


SAP SuccessFactors HCM Core all versions