SAP Knowledge Base Article - Public

2838785 - Dynamic Role assignment behavior for Custom Foundation Object.

Symptom

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Why there are several Custom Foundation Object appearing in their Dynamic Role > Dynamic Role Assignment section even if its not configured in the corporate data model?

Environment

  • SAP SuccessFactors HXM Suite
  • SAP SuccessFactors Employee Central

Reproducing the Issue

1. Create a custom foundation MDF object, in this example I will be creating a custom MDF named "Sub Department".

2. Create a custom string in the job information section with Type of Reference Object = Foundation Object

2838785.jpg


3. Once the field is saved  go to Admin Center> Manage Organization, Pay and Job Structures > Create New > Dynamic Role

2838785V2.jpg

Cause

This is an expected behavior

Resolution

This is an expected behavior, all the fields defined in the job information section with Type of Reference Object = Foundation Object will automatically appear in the dynamic role assignment section of the dynamic role object.

Notes:

  • The visibility of the custom-string field that references the custom foundation object (Sub department in this example) affects whether the Sub Department will be selectable in the Dynamic Role. In this example Sub department is not selectable because the visibility configuration of the custom-string is = view, if you want to make the Sub Department be selectable in the dynamic role, then you need to change the configuration to visibility=edit.
  • It is not possible to hide unused referenced custom foundation object in the dynamic role (In my example if the customer chooses not to use Sub department in the dynamic role object then they can just leave it as blank but it is not possible to hide the sub department in the dynamic role object).
  • It is not possible to add user-based fields into the dynamic role assignment section.

FAQ - Additional Information

Q) Where can I get information on this from the Guide?                                                                                                                                                                                                                                                              A) Guide:Guide: Employee Central Workflows: Implementation and Administration  // Chapter: Creating a Dynamic Group  and Creating a Dynamic Role

See Also

  • 2541730 - How to add a field to Dynamic Role Assignment when setting up a Dynamic Role
  • 2753871 - How to Add Custom Field to a Foundation Object

Keywords

Dynamic Role, Custom Foundation Object, MDF, Dynamic Role Assignment, visibility, edit, both, Type of Reference Object, Foundation Object, Manage Organization, Pay and Job Structures , KBA , LOD-SF-EC-FOO , Foundation Objects (Organisation, Pay and Job Structures) , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM suite all versions