Symptom
- How can you hide certain values from a picklist?
- Can I hide values in a picklist dropdown via RBP or a business rule?
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.“
Environment
Employee Central - MDF
Cause
This is not possible. Fields which are of data type picklist or Generic object, can only be controlled on a field level, and not via the values inside the fields.
To have a different behaviour, it would be an enhancement to the system, which needs to be raised by following the KBA noted in the resolution of the KBA
Resolution
There is no functionality to do this in EC. The only two fields which have a dropdown that can be controlled via RBP are the Event Reason and Pay Component fields.
This is an enhancement request for this system and would need an enhancement raised via this KBA.
The only thing that you can do to restrict users saving data with picklist values of this type, is via raise message rules.
An example of this can be found for Job Information:
Set this rule to trigger onSave in jobInfo HRIS element in Manage Business Configuration.
Important Notes:
- Support will not assist with creating these type of rules. Either the customer or implementation partner must create these themselves.
- For the example above, if you also what this to happen for the add new employee wizard, then the rule needs to have base object employee information model.
- For MDF based scenario, you need to choose validate as the purpose
Keywords
Enhancement Request, Hide Picklist Values, Hide MDF Values, Hide via RBP, Hide via Business Rules, Mask via RBP, Mask via Business Rules, , KBA , LOD-SF-EC-MDF , MDF & EC2MDF Migration , Product Enhancement