Symptom
Employee replication fails with error 'Enter a true account assignment relevant to cost accounting' message no. KI178.
Environment
- SAP SuccessFactors Employee Central integration to SAP Business Suite
Cause
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.
Resolution
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.
Keywords
IT0027, replication, WBS, PSP01 , KBA , LOD-EC-INT-EE , Employee Integration EC to ERP On Premise , Problem