Employee replication 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)
Alternative Cost Distribution is replicated to IT0027 from EC and External Code of Alternative Cost Distribution needs to be saved to field PSP01(WBS Element) instead of field KST01(Cost Center).
You have implemented for that BADI ECPAO_IN_EXT_PROCESS_INFOTYPE.
Field PSP01 doesn't have mapping in view cluster configuration.
When using BADI ECPAO_IN_EXT_PROCESS_INFOTYPE, only fields that have mappings in view cluster will be created/changed.
As field PSP01 doesn't have any mapping and it is directly manipulated by the BADI, its value will not be passed to the infotype framework.
Due to this, the accounting combination check called in the infotype framework fails with error KI178.
When using the BADI to manipulate the value of field PSP01 in internal table pnnnn_prim_tab, the field PSP01 must also be inserted in internal table erp_field_prim_tab in the BADI.
This will ensure that the value of field PSP01 is retrained and passed to the infotype framework.
IT0027; replication; WBS; PSP01 , KBA , LOD-SF-INT-SAP , SAP OnPremise Payroll & Migration , Problem