SAP Knowledge Base Article - Public

2922290 - Error while Cancelling Onboarding Process - Onboarding


Error appearing while trying to Cancel ONB process from Dashboard.

  • [COE0018]The cancellation request for new recruit [User ID] has failed. Please contact your administrator.
  • [COE0019]Failed to save object objectType=ONB2Process

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Login to Instance;
  2. Click on Dashboard;
  3. Open the Candidate and Click View All task;
  4. Click on Action and Try to Cancel and you get error;


Invalid Configuration for No Show Event Reason or Missing Standard/Mandatory Field


After B2005 release, it is Mandatory to configure No Show Event reason in order to Cancel the Onboarding for Candidate Activity.

Make sure below steps is followed.

  1. Configuring No-Show Event
  2. Configuring the Employee Status

         3.Configuring the Event Reason

Below is the Document Link on No Show Event Configuration.

Triggering No-Show for a New Hire

  1. Report No Show Edit Permission from RBP under Employee data
  2. For Cancel ONB EmpEmploymentTermination and okToRehire is mandatory to be present in Odata API Data Dictionary. If this is not present in Odata ApI Data Dictionary, needs to be enabled from Emp Info entity from manage Business configuration. Enable the Field from Emp Info entity.
  3. Event reason for termination in the manage organization pay and job structure.

  1. Refresh Odata API and check again to Cancel ONB again
  2. Check in Splunk whether you can find similar error as below (note: fields may vary according to the implementation):

Failed to upsert data for entity :EmpEmploymentTerminationresult : custom-string16 is a required field and cannot be blank.,
custom-string17 is a required field and cannot be blank.,
custom-string18 is a required field and cannot be blank.,
custom-string19 is a required field and cannot be blank.
Failed record info: {EmpEmploymentTermination/okToRehire=true, EmpEmploymentTermination/eventReason=ReportedNoShow,

If so, this is a known issue.

In case of any custom field marked as mandatory in EmpInfo then EmpEmploymentTermination used in No Show also is expecting to pass this mandatory field as part of API invocation when we trigger No Show as part of Onboarding cancellation. However there might be cases that if the onboarding is getting cancelled in early stages then these custom fields may not have been populated in that the API throws error.

If in case issue is caused by any mandatory fields, then as a work around we have below 2 solution :

  1. Mark the field as non-mandatory, if possible.
  2. In certain cases customer requires to have the field as mandatory like PayrollEndDate or LastWorkingDay, in such scenario we can configure a onSave rule on Employment Info. However, it restricts cancellation to be performed only after completion of New hire data review.

Please find the below steps to set up the rule.


  1. Set up business rule on Employee Information model from “Manage Business Configuration UI”

Select “Employee Information Model” entity, Rule Type = OnSave

2. Create rule:

Please make sure you choose “If condition” and “Set values” as per your business need.
Sample rule from test instance. In this example, we are setting up data for 3 mandatory fields – 1st one Custom field , Payroll end date and Last date worked.

Ensure you set date fields as “01/01/9999”.

3. Set Rule Context Onboarding = yes and other context = No.

User steps to perform Cancel Onboarding

Case 1: If Cancel Onboarding is performed after completing “New Hire Data review” step

If user have completed “New Hire Data review” step then above mentioned rule would have been executed.

  • Login as Manager or Participant
  • Navigate to Onboarding Dashboard View All tasks/View Details Actions à Cancel

Case 2: If Cancel Onboarding needs to be performed before completing “New Hire Data review” step


Case 3: If “New Hire Data Review’ task is not configured in a process and Cancel Onboarding needs to be performed


  • Login as Manager or Participant
  • Navigate to Onboarding Dashboard-> View All tasks/View Details Actions à Jump to à New Hire Data page – Click “Continue” till you get “Submit” button.

This step will make sure Rule set in above gets executed and mandatory fields are populated.

  • Now take action as “Cancel”

Note: This rule will NOT be executed as soon as Onboarding is initiated. Please follow section - User steps to perform Cancel Onboarding for more details


Cancel Onboarding, ONB , onboarding [COE0019], [COE0018], no-show event, , KBA , LOD-SF-OBX-DG , Generation of Documents using PFS , Problem


SAP SuccessFactors Onboarding 2105