SAP Knowledge Base Article - Public

2553803 - Field set as View-only is Editable in EC Portlet

Symptom

  • You have existing EC fields in the Data Model where visibility is set to "View".
  • The field is behaving as expected in Add New Employee.
  • However, the field is editable in the EC Portlet whenever you make changes.

Environment

SuccessFactors - Employee Central Core

Reproducing the Issue

  1. Define a new field either in the Data Model XML or BCUI. Set the Visibility property to "View".
     kba1.png

  2. Grant View and Edit Permissions to this field
    kba2.png



  3. Notice that in the EC Portlet, even though it is set as View only, the field is still editable.

    kba3.png

Cause

This is expected system behavior. The View only configuration will be respected only in the Add New Employee page as RBP is not respected here. On the other hand, for existing users, Job Info Edit and Change history permissions are taken into consideration, so if the users have "Edit" permissions to these read-only fields, RBP will take precendence over the Data Model visibility configuration. In this case, the user with permission will be able to edit the field.

Resolution

If you would like the field to remain as View only for all users in the system, then only View permissions should be granted in the Permission Role configuration.

See Also

2079434 - New Hire/ Rehire process - Field level permissions are ignored

Keywords

field, edit, view only, read only, read-only, bcui, visibility, view permission, edit permission, ec core, ECT-82930 , KBA , LOD-SF-EC-BCI , BCUI & DM Config(XML) , How To

Product

SAP SuccessFactors HCM Core 1708