Symptom
The goal is to have Matrix Relationships automatically added to a new Position in order to:
- Ensure that the Matrix Relationships are not missed during Position creation;
- When one of the Types having the "Related Position" pre-filled with a specific Position.
Environment
- SAP SuccessFactors Employee Central
- SAP SuccessFactors HCM Suite
Resolution
OnInit rules are not supported to default Matrix Position types.
The current workaround involves creating the rule differently and assigning it as an onChange rule to a required field, preferably one that is used during Position creation or updates. The rule can be configured to:
-
Add one or more Matrix Position rows when creating or maintaining a Position.
-
Re-add a Matrix Relationship row if one is deleted, triggered by the onChange event.
Additionally, an onSave rule may be created to validate that all required Matrix Positions are present, preventing the Position from being saved if any Matrix Relationship Type is missing.
Example Rule for onChange scenario:
See Also
Keywords
Matrix Relationship, Matrix Position, Position Management, Employee Central, EC, onInit, Rule , KBA , LOD-SF-EC-POS , Position Management , How To
SAP Knowledge Base Article - Public