Symptom
- The user has Edit permission for the custom MDF, but when they click the Edit button in the profile, the Delete button appears, allowing them to delete MDF records.
- How to restrict the deletion in the profile?
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors HCM Suite
Reproducing the Issue
- Login the instance
- Create a custom MDF object and set the effective date as None
- Grant the user Edit permissions for that MDF
- Configure the custom MDF in the Configure Latest People Profile
- The user clicks the Edit button after adding data through the Profile
- The Delete button appears in the profile, allowing the user to delete MDF records
Cause
For objects without Effective Dating, the permissions for editing, deleting, and creating are managed under the same setting. Therefore, it is not possible to hide the delete button while still allowing access for creating and editing.
Resolution
You can use Rules to prevent the deletion by specific users. Please refer to the guide: Preventing Deletion of Specific Records
See Also
- Refer to Guide: Preventing Deletion of Specific Records
Keywords
mdf, custom MDF, delete button, delete permission, rbp, role-based permissions, effective dating none, non-effective-dated, edit, create, employee profile, permission control, hide delete, prevent deletion rule, latest profile,remove delete , KBA , LOD-SF-MDF-RBP , RBP Permissions on Objects , LOD-SF-MDF-RUL , Custom Oject based Business Rules , How To
SAP Knowledge Base Article - Public