Symptom
- Trying to give permission to generate a particular document template that is visible in "Manage Document Generation Templates", but not able to find the template on permission role.
- Permission disappears from Manage Permission Roles after savig the Document Template.
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
- SAP SuccessFactors Employee Central - Document Generation
Reproducing the Issue
1. Go to "Manage Permission Roles" > open Permission Role;
2. Select category "Manage Document Generation Templates";
3. Select only Template ID and save the permission role;
4. Reopen the Permission Role > Notice that the access to the template did not save.
Cause
The affected template does not have its corresponding permission entry in the instance.
The permission entry could have been deleted when there was a new record inserted in the template and then later deleted.
This causes the deletion of the permission entry while the template still remains in the instance.
Note: Document Generation Templates are NOT effective dated, so multiple records are not recommended as their handling can cause issues like this.
Resolution
There are two possible solutions to this issue.
Solution 1
- Make sure that the template has only one record.
- Change the category of the template to any other category other than Print Forms or Document Generation and then save it.
- Change the category of the template back to its original category.
- Use the template to assign the permission
Solution 2
- Make sure that the template has only one record.
- Create a copy of the template.
- Delete the original template
- [Optional] Update the template id, name, and locale of the copy so that it is exactly identical to the original in every way
- Use the newly created copy to assign the permission
Keywords
Unable to save permission for Document Generation Template, permission not getting saved, permission, Document Generation Template, record, permission, not able to give permission, not able to grant permission, document template , KBA , LOD-SF-EC-RBP , Roles & Permissions (EC Core only) , LOD-SF-EC-DOC , Document Generation , Problem