Symptom
- How do I configure a field to capture addition Termination Reason information during the Termination process, and filter the values by the Termination Event Reason that is selected in the Termination UI?
- How to create a Sub Termination Reason field that filters on Termination Reason using Custom Foundation Objects
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 Employee Central
Resolution
- Create the Custom Foundation Object that will be the Child of Termination Reason
First you must create a Custom Foundation object - make sure it has "Basic" Effective Dating - For guidance on creating Custom Foundation Objects, please refer to article 2285199 - How to create a Custom Foundation Object
- Add an association to Event Reason
Next you need to edit the newly create Custom Foundation Object, and add an association to the "Event Reason Wrapper" object.
Below is an example of correctly configured Custom Foundation Object for steps 1 and 2 -:
-
Configure the new field for Termination UI
- Navigate to Admin Center > Manage Business Configuration
- Select the HRIS Element "employmentInfo".
- Add a new custom-string field (As explained in the Object Tables Handbook - this can be between custom-string 16 to 20, and custom-string 66 to 90)
- Click "Details" for the new field and set -:
- Type of Reference Object = Foundation Object
- Reference Object = Add the "Code" of the new Custom Foundation Object you had created in step 1
- Field Criteria -:
- Destination Field Value = The parent field (in this case, set the value to "jobInfo.event-reason")
- Source Field Value = The name of the Association on the Custom Foundation Object and .externalCode for example given the above configuration - "cust_toEventReason.externalCode"
- Click "Done" and click "Save" to save the configuration. See the below for an example -:
-
Create the Data for the Custom Foundation Object, and then test the filtering works
Validate that when using the new field, that the expected values are returned.
See Also
- 2287729 - Employee Central - Object Association Field Criteria FAQ and Troubleshooting
- 2522246 - How to use Browser Developer Tools to troubleshoot Association Configuration issues (missing field-criteria)
- 2285359 - Adding an Association from Custom Foundation Object to MDF Foundation Object (GO to GO) - Employee Central
- 2285593 - Adding an Association from Custom Foundation Object to a Legacy Foundation Object (GO to FO) - Employee Central
- 2787298 - Custom Object Association and Field Criteria to Legal Entity is not Working
- 2511175 - Can Company/Legal Entity be a Child in an Association
- 2315601 - Employee Central - General Issues
- 2315265 - Employee Central - Foundation Objects
- 3502563 - Association error when trying to save a Job information record
- Associations
- Working with Associations, Field Criteria and Value Help
- Adding Field Criteria to a HRIS Element
- Configuring Associations
Keywords
termination reason, termination ui, event reason, association, value help, link, employee central, ec, Custom Foundation Objects, mdf object, custom mdf, employmentInfo, bcui, separation, filtering, loading, selected, field criteria, field-criteria , KBA , LOD-SF-EC-TER , Termination Details , LOD-SF-EC-FOO , Foundation Objects (Organisation, Pay and Job Structures) , LOD-SF-EC-JOB-OAS , Object Associations and Field Criteria , How To
SAP Knowledge Base Article - Public