SAP Knowledge Base Article - Public

3132857 - [Onboarding] Unable to cancel onboarding due to error- [COE0018]The cancellation request for new recruit has failed. Please contact your administrator

Symptom

Below error appears while trying to Cancel Onboarding process from Dashboard-

[COE0018]The cancellation request for new recruit [User ID] has failed. Please contact your administrator.

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Login to Instance
  2. Open the Onboarding Dashboard
  3. Open the Candidate whose process needs to be cancelled and Click View All task;
  4. Click on Action and Try to Cancel and you get error-  [COE0018]The cancellation request for new recruit has failed. Please contact your administrator

Cause

There could be multiple reasons for this error as mentioned in the below KBA-

https://launchpad.support.sap.com/#/notes/2922290

After following the above the KBA if still the error persists then kindly create support ticket so that the backend logs for the error can be analyzed. If below error is retrieved then kindly follow the resolution mentioned in this KBA-

Failed to upsert data for entity :EmpEmploymentTerminationresult : Property okToRehire is not upsertable. Please check the property setting in Admin Center > OData API Data Dictionary or the entity metadata. for Key EmpEmploymentTermination

Resolution

This is because the visibility of okToRehire field is set to View in employmentInfo HRIS Element in Manage Business Configuration. Kindly follow the below steps to resolve the issue-

  1. Go to Admin Center >> Manage Business Configuration >> employmentInfo.
  2. Select HRIS field okToRehire. Click the Details button.
  3. Change Visibility to "Edit". (Change visibility to "Edit" in employmentInfo_onboardee data model as well, if applicable.)
  4. Perform OData API Metadata Refresh 

Post this cancel onboarding will work without any error.

Keywords

Cancel Onboarding, COE0018, error, okToRehire , KBA , LOD-SF-OBX-REP , Suite Reporting SAC , Known Error

Product

SAP SuccessFactors Onboarding 2011