SAP Knowledge Base Article - Public

2996166 - Application error when searching or adding a user in a static permission group

Symptom

  • When searching or adding a user in a Static Permission Group, an application error is thrown
  • Example of application error fingerprint: fingerprint=62930a41add1328c01f4dda53f034815f9698485... errorMessage=An application error occurred. Please try again later, or notify support if the issue keeps occurring
  • Log shows: Can't locate field: std_username

Environment

SAP SuccessFactors HXM Suite

Reproducing the Issue

  1. Navigate to "Manage Permission Groups"
  2. Click on a Static Permission Group
  3. Click "Add User"
  4. Searching for any user produces error

Cause

  1. The error is thrown because the username field is not defined under permission-group-filter in the data model,
  2. Write element-permission is missing for the username field in the data model.
  3. username field is not defined under my-filter in the data model

Resolution

  1. Customer, partner or Support team to add the standard element username field under permission-group-filter in the data model, as below:

    <permission-group-filter>
    <standard-element-ref refid="username">
    </permission-group-filter>
    </dg-filters>

  2. Customer, partner or Support team to add the standard element username field under element-permission type="write" in the data model, as below:

    <element-permission type="write">
    <description>Allow Everyone to read and write</description>
    <role-name>*</role-name>
    <standard-element-ref refid="username"/>
    </element-permission>

  3. Customer, partner or Support team to add the standard element username field under my-filter in the data model, as below:

    <my-filter>
    <standard-element-ref refid="username"/>
    </my-filter>

See Also

2741926 - Error occurred when editing/updating permission group or role

Keywords

application error, static permission group, username, data model, permission group filter, cannot locate field, bizx, permissions , KBA , LOD-SF-PLT-RBP , Role Based Permissions , Problem

Product

SAP SuccessFactors HCM Suite all versions