SAP Knowledge Base Article - Public

3465295 - Error: PositionMatrixRelationship externalCode: XXXX parentObjectType: Position parentInternalCode: XXXX and found multiple internal codes: [XXXX , XXXX ]

Symptom

Unable to approve a Position related workflow due to application error, caused by swapping of the position matrix relationships maintained in the position.

*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 Employee Central: Position Management

Reproducing the Issue

  1. Navigate to the Job information of an employee > Change the Position > Save.
  2. Workflow triggers
  3. Proxy as the approver > approve the workflow > Application error occurs.

Cause

  • Issue is caused due to the matrix relationships in the Position are swapped using the arrow marks which results in swapping of the external codes of one matrix relationship to another.
  • This is not a supported use case as the external code is a key field and must not be swapped.

Resolution

  1. Withdraw the current workflow.
  2. Go to the relevant Position and modify the external codes of the matrix relationships by either deleting or changing it, instead of swapping it.
  3. Save

Keywords

Application error, workflow, external code, swapping, INC3309059, INC3318615, position matrix relationships, fingerprint=29c93d60456dc1f31aa633fd929bd975180fc39d, found multiple internal codes, NonUniqueResultException: Finding internalCode for objectType: PositionMatrixRelationship externalCode. , KBA , LOD-SF-EC-POS-WFL , Position Workflows , LOD-SF-EC-POS , Position Management , LOD-SF-EC , Employee Central , Problem

Product

SAP SuccessFactors Employee Central 2505