SAP Knowledge Base Article - Public

3275732 - Work Permit Information - onView Rule Limitations - SAP SuccessFactors Employee Central

Symptom

The Work Permit onView business rule is triggered and conditions are evaluated as expected; however, the configured field visibility and/or mandatory attributes are not applied as intended.

Environment

SAP SuccessFactors Employee Central - Work Permit Information

Reproducing the Issue

  1. Create an onView Business Rule for the Work Permit Information.
  2. Define any condition (e.g. based on Work Permit Info Model.Country).
  3. Configure the rule to set field visibility and/or mandatory attributes for one or more fields.
  4. Assign the rule to the Work Permit element.
  5. Open an employee profile and navigate to the Work Permit card/portlet.
  6. Trigger the rule (e.g. via navigation or Edit mode).
  7. Observe that the field behavior does not match the rule configuration.

Cause

This behavior is due to framework limitations, which differ depending on the UI:

  • Legacy People Profile & Editing UI:
    • Field visibility and mandatory attributes are derived from metadata returned by the server.
    • Since all records share the same metadata, dynamic control via onView rules is not supported.
  • Latest People Profile & Editing UI:
    • The latest UI introduces support for onView rules to control field visibility and mandatory attributes, however limitations still apply:
      • Business key fields should not be set to invisible

Resolution

This is an expected system behavior.

  • In the Legacy Framework, using onView rules to control field visibility or mandatory attributes is not supported for Work Permit fields.
  • With the Latest Framework, this is partially supported, but business key fields should not be hidden by onView rules.
    For further reference on Business Key fields for Work Permit kindly check Work Permits | SAP Help Portal

If this functionality is required beyond current system capabilities, please submit an enhancement request as per KBA 2090228 - How to Submit Ideas for SAP SuccessFactors Products.

See Also

Keywords

work permit information, business rule, onView, hide, field, visibility, required, mandatory, metadata, limitation. , KBA , LOD-SF-EC-PER-WRK , Work Permit - Config, Rules, RBP, UI , Problem

Product

SAP SuccessFactors Employee Central all versions