Symptom
Error when trying to remove the location association from the Cost Center MDF:
Cannot create the field criteria GOFieldCritieria{sourceFieldName=’start-date’, destinationFieldValue=’parent.effectiveStartDate’, defaultDestinationValue=’null’} for field externalCode in objectDefinition FOWLocation
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
- SAP SuccessFactors HXM Suite
- SAP SuccessFactors Employee Central
Reproducing the Issue
- Go to Configure Object Definition
- Choose Object Definition on the first dropdown
- Search for Cost center in the second dropdown
- Under Association section, you will be able to find an association for cost center (i.e. Location Wrapper.)
- Delete the association using the "trash can" icon on the right.
- Note there are no associations maintained in the object.
- Save the object and receive a system error message similiar to the image below.
Cause
There is another association that needs to be removed.
Resolution
- Go to Configure Object Definition
- Choose Object Definition on the first dropdown
- Search for Cost center in the second dropdown
- Under Association section, you will be able to find an association for cost center (i.e. Location Wrapper.)
- Under Association section, you will be able to find then association for cost center Ex: location.
- Now you need to find the association object
- Go to Configure Object definition - > choose as Object definition -> search for Location Wrapper
- On selecting externalcode field -> Details.
- Delete the data present in field criteria and save changes.
- Go to Configure Object Definition -> choose as Object definition -> search for Cost center
- Delete the association and save changes.
Keywords
foundation object, FO, success factors, error, Location, SF, metadata framwork, meta data , KBA , LOD-SF-EC-FOO , Foundation Objects (Organisation, Pay and Job Structures) , How To