The error "Employee: XXXX - Invalid CompanyCode XXXX" error is appearing when loading employees via Import Employee App.
SAP S/4HANA Cloud
Reproducing the Issue
The Company Code is not correctly configured in the system.
Add a correct Personnel area and subarea to the company code to which the employees should be imported using the flexorg app (SSCUI 100066).
To do this, please follow the steps:
- Go to the tile Manage Your Solution
- Go to Configure Your Solution.
- Go to the Application Area Organization
- Go to the Step Name Organizational Structure
- Create/Modify the organization to keep the ID of the Company Code, Personal Area and Personal Subarea to be the same.
In the past the missing personnel area and subareas were created via BAdI automatically during the employee import (even though if that was not reflected in the flexorg app).
Now the behavior has changed and the entries are no longer created via the BAdI. This was a interims solution for existing customers. With the new content structure we expect that the company code ID and the ID of the personnel area/subarea is the same, the BAdI is no longer working. For creating employees ensure that the ID of company code, personnel area and personnel subarea are maintained the same.
2555311 - FAQ - Import Employees app
2646803 - How to maintain employees data in an S/4HANA Cloud
JB1 - Core HR with SAP SuccessFactors Employee Central (JB1)
CompanyCode, Company Code, /SHCM/EMP_PASEIN_CL004, SHCM/EMP_PASEIN_CL 004, , KBA , SV-CLD-FRM-APP , Flexorg, CCF, Foreign Key Check , CA-HR-S4 , Cross-Application HCM Objects in S/4HANA , Problem