Symptom
User only has permission to access the position under specific legal entity, but user can still create position under other legal entities.
When trying to create position under other legal entities, error occurred: No data available or you do not have the necessary permission.
But the position can still be created successfully.
Environment
SAP SuccessFactors Employee Central
- Manage positions
- Manage permission roles
Reproducing the Issue
- Check subject user's permission, this user only has one permission role, in this role, user has permission to create position, but the position is restricted to the positions under legal entity ABC.
- Proxy with this subject user > manage position > create new position > maintain necessary fields and maintain legal entity as EFG (any other legal entity rather than ABC) > save > error occurred: No data available or you do not have the necessary permission.
- Remove the proxy and become self, new position can be searched out in manage position.
Cause
The reported behavior occurs because the “Define Target Criteria” option used by the customer to restrict position creation by legal entity does not apply in this context.
As stated in the Implementation Guide:
“Target criteria can be used to restrict access of employees to specific positions.”
This means that target criteria apply only to viewing positions, not to creating them.
It also explains why the system displays the error “No data available or you do not have the necessary permission.” after the position is created/saved. Although the position is successfully created and saved, the system then attempts to load the newly created position for display, but because view permissions are restricted by the target criteria, the error is displayed.
Resolution
If you need to restrict position creation to specific legal entities, one possible approach is to:
-
Restrict access to legal entities via Role-Based Permissions (RBP), and
-
Enable “Enable RBP Target Criteria for Value Help (Only with data type Generic Object)” under Provisioning → Company Settings.
This setup limits the legal entities visible to the user and, as a result, restricts position creation to only those legal entities for which the user has permission.
Since this is a configuration designed to meet specific business requirements, we recommend that the customer work with their implementation partner to fully assess how to implement this approach and to understand any potential impacts on other areas of the system.
See Also
Keywords
Define Target Criteria, restriction, control , KBA , LOD-SF-EC-POS , Position Management , Problem
SAP Knowledge Base Article - Public