This KBA explains the reason why the error: "Cannot change API visibility in system defined object definition" occurrs.
Company details have to be entered into the system using OData API FOLegalEntity, but when we check the object configure definition we see that the API visibility is set to "Not Visible".
Bizx MDF objects
Reproducing the Issue
1. Log into successfactors Instance.
2. Goto AdminCenter--> Configure object definition --> choose FoLegalEntity.
3. Click on Take Action and try changing the API Visibility and save the saame, error will occur which will not let you change the API visibility.
FOLegalEntity is a system object and its visibility cannot be changed.
LegalEntiy is an MDF object migrated from an FO (EC2MDF).
For this reason, it is exposed in OData as FOCompany and not as LegalEntity.
For these EC2MDF entities, the API visibility in the MDF object definition cannot be changed.
The same error will occur if we try to edit the visbility for CostCenter,Department & Division.
KBA , LOD-SF-INT , Integrations , LOD-SF-EC-INT , Manage Pending Hires (Integration RCM/ ONB/ OBX + UI) , Problem