SAP Knowledge Base Article - Public

2416892 - How to Default Matrix Relationship Type When Creating a New Position - Employee Central

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:

onChange1.png

onChange2.png

See Also

2420087 - ERROR: "Related Position is a required field/association in Object Matrix Position For Position" - Employee Central - SAP for Me

Keywords

Matrix Relationship, Matrix Position, Position Management, Employee Central, EC, onInit, Rule , KBA , LOD-SF-EC-POS , Position Management , How To

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions