Symptom
Error message during migration of Permission Roles using Configuration Transport Center.
‘Failed to merge permission role 'XXX': Incorrect result size: expected 1, actual 0’.
**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 Core
Reproducing the Issue
- Go to source environment and open Configuration Transport Centre
- Go to Configuration Activities and choose Platform> Permission Roles> ‘System Admin’ role and create New Bundle.
- Then go to Bundle Management
- Under Actions press ‘Initiate Transport’ and fill the information
- Click on ‘Continue'
- On the Transport Review screen press on ‘Transport’ and then on Transport Request we can see that it’s ready for Import
- Open target environment and go to Configuration Transport Centre and choose Transport Requests and Imports
- Under Action click on ‘Validate'
- Then finally, click "Import"
Cause
Target Tree Security function is not supported in permission role synchronization.
Resolution
As workaround fix, follow these steps provided by engineering team:
1. Login to the source instance.
2. Navigate to the Manage Permission Roles page, click "Switch back to legacy Role-Based Permissions", and then click the role name you want to sync.
3. Check if the role contains the tree security permission labeled "Configure Structural Dimensions." If it does, click the "Edit Granting" link.
4. Locate the step "Specify the target tree security permissions applicable to each Structural Dimension, which the granted users have permission to access," and capture the source result.
5. Edit the permission role to remove the "Configure Structural Dimensions" permission.
6. Sync the role using the Configuration Transport Center.
7. Edit the role and configure the target tree security according to step 4 in both the source and target instances.
See Also
Keywords
tree security, merge, XXX, import data, import role, import RBP, RBP, import error, CTC, transport, center , KBA , LOD-SF-PLT-RBP , Role Based Permissions , Problem