Symptom
- Picklist showing label followed by the externalcode in parenthesis in the UI.
- How to hide the picklist externalcode on the UI?
- UI Renderer: 'displayPickListWithoutExternalCode' was added to custom object field but still showing externalcode.
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 HCM Core
- Metadata Framework (MDF)
Reproducing the Issue
- You have created a Custom Object with a picklist field (for example, a Yes/No picklist).
- When creating a record, the field displays both the picklist label and the externalcode.
- Cache Synchronization Problems.
Resolution
To overcome this issue 1-2, follow instructions below:
- Open the Custom Object in Configure Object Definitions.
- Click on Details on the field that has type Picklist.
- Under UI Field Renderer enter displayPickListWithoutExternalCode
- Save.
- Now the UI should only show the picklist label without the externalcode.
Important note:
- The steps above apply only when picklist values are changed manually. If the picklist values are changed automatically by rules, the solution won’t work, as this is the expected behavior.
- When picklist input is triggered by rules, the Manage UI configuration cannot display the picklist without showing the external code. Since Manage UI Config is an older tool in maintenance mode, no further updates or fixes are planned.
- The Latest People Profile does not support UI Field Renderer. Adding displayPickListWithoutExternalCode will not change the behavior on Latest People Profile for the external codes displayed on Picklists.
To overcome the issue 3, follow instructions below:
-
Clearing the MDF Cache: This helps ensure that any incorrect or metadata settings cached in the MDF are removed. Follow the instructions from the KBA to clear the cache: 2534674 - How To Schedule MDF Object Definition to DB Sync and Fix Inconsistencies In Metadata Framework. If the data was not fixed with the DB sync, please consider the step 2.
- Go to Manage Configuration UI and remove the field where 'displayPickListWithoutExternalCode' is set and the add it back, this will enforce the refresh and revalidation of the field's configuration, which might resolve any discrepancies or misconfigurations
Important note:
- If there are UI rules attached to such field, in that case those rules must be added back as well.
See Also
- Help Guide: Adding Fields
- Help Guide: Comparison of MDF Behavior in Legacy and Latest People Profile
- KBA: 2355197 - Understanding "UI Field Renderer"
- KBA:2534674 - How To Schedule MDF Object Definition to DB Sync and Fix Inconsistencies In Metadata Framework
Keywords
displayPickListWithoutExternalCode, externalcode, picklist label, UI field Render, externalCode in parenthesis on the UI, parentheses, shows external code, displays externalcode, picklist, Manage UI Configuration, MDF, custom MDF, custom picklist, LOD-SF-MDF-UI, INC14782945, INC19141222, INC25429589 , KBA , LOD-SF-MDF-UI , UI Config, Layout & Rules , LOD-SF-EC-MDF , MDF & EC2MDF Migration , Problem
SAP Knowledge Base Article - Public