SAP Knowledge Base Article - Public

3491777 - “X is an invalid external code for event-reason” Error Upon Termination

Symptom

When trying to approve a Termination workflow, an error message is showing up, “X is an invalid external code for event-reason”.

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

SCENARIO 1:
1)    Go to the employee to be terminated
2)    Click Take Action > Terminate
3)    Select the Event Reason to be Voluntary Resignation
4)    Proxy the approver and try to approve the workflow
5)    Error message is received.

SCENARIO 2:
1)    Go to the employee to be terminated
2)    Click Take Action > Terminate
3)    Select the Event Reason to be Voluntary Resignation
4)    Proxy the approver 
5)    Check workflow details > Event Reason is changed to OTHER DATA CHANGE (DATACHG)
6)    Try to approve the workflow
7)    No error message received but the event reason is incorrect.
8)    If you also check the rule trace, the OTHER DATA CHANGE event reason is not included and it’s showing the Voluntary Resignation event reason.

Resolution

  1. Engineering team plans fix this on 2411 Release. 
  2. As workaround until permanent fix please consider disable rules that set visibility cross entity for exemple: Rules on Employment Details which set visibility in Job Information.

  3. Click on star to bookmark this article to receive updates about this issue. For more information about updates from subscribed KBAs, you can refer to the KB Article 2171560 - How to be notified of new or updated SAP Notes or KBAs.

Keywords

1H2024, INC8182265, The operation could not be performed because there were errors with other records reported. : ECT_service_layer_PROPAGATE_ERROR_ON_ALL_RECORDS, X is an invalid external code for event-reason, Termination Workflow, KI2405 , KBA , LOD-SF-EC-TER , Termination Details , Known Error

Product

SAP SuccessFactors HCM Core 2405