## 13.3.5.1.1.11  Deregistration and Deletion of External Candidates
## Definition
In SAP E-Recruiting, there is a two-step process to delete a candidate. The first step is deregistering the external candidate. The second step is deleting the candidate data from the Talent Warehouse.
This document describes how the system handles the candidate's data in the different scenarios.
##  Note
If you delete the external candidates via the HRRCF\_CAND archiving object and the functions of the SAP Information Lifecycle Management (ILM) at the same time with the processes described here, data inconsistencies may occur. For more information, see Destroying Candidate Data Using HRRCF\_CAND .
## Candidates delete their registration themselves
For information about the service, see Deleting the Registration .
If the candidate requests the deletion of his or her own registration, the system performs the following steps:
- The Registration of Candidate Deleted indicator is set in infotype 5102 (Candidate Overview).
- The candidate's user is locked.
- The workflow ERCCandDerig is triggered. The workflow runs automatically in the background. For information about which data of the candidate is processed by the workflow, see the documentation for the Workflow for Deleting a Candidate's Registration .
The remaining data for the candidate is retained in the database.
## Administrator deletes the registration of external candidates
For information about the service, see Deleting Registration of External Candidates .
If the administrator deletes the registration of an external candidate, the system performs the following steps:
- The Registration of Candidate Deleted indicator is set in infotype 5102 (Candidate Overview).
- The workflow ERCCandDerig is triggered. The workflow runs automatically in the background. For information about which data of the candidate is processed by the workflow, see the documentation for the Workflow for Deleting a Candidate's Registration .
The remaining data for the candidate is retained in the database.
## Administrator deletes the external candidates
Even after an external candidate is deregistered, the candidate's data still exists in the system. To delete the candidate completely from the system, the administrator has to delete the external candidate.
For information about the service, see Deleting External Candidates .
##  Note
The administrator can only delete candidates for whom there are no applications or assignments with the status In Process or To Be Hired .
When deleting data, the system also takes into account the legal time limits for retaining data (see the end of this document).
When the candidates are deleted, the associated business partners are not deleted, but are archived. You can delete business partners later using the transaction BUPA\_ DEL .
If the prerequisites for the deletion are met, the system executes the following steps:
- Deletion of the candidate's applications and any related objects:
- HR object Application
- Audit Trails
- Documents for the application in Knowledge Provider (KPro)
- Activities
- Deletion of the candidate's candidacies and any related objects:
- HR object Candidacy
- Documents for the candidacy in Knowledge Provider (KPro)
- Activities
- Deletion of the job agents created by the candidate
- Deletion of the candidate and any related objects:
- HR object Candidate
- The candidate's user in the backend system; in the distributed system, also the candidate's user in the front-end system
- Documents for the candidate in Knowledge Provider (KPro)
- Activities
## Delete External Candidates (report)
Another option for deleting external candidates is to use the RCF \_DELETE\_EXT\_ CAND report.
You call this report in Customizing for SAP E-Recruiting under Tools → Delete External Candidates . For more information, see the documentation for the Customizing activity.
We recommend you use this report instead of using the Delete External Candidates service as the report enables you to use multiple selection criteria. In this way, the user can specifically select deregistered candidates, for example.
The report is otherwise identical to the Delete External Candidates service.
## Retention periods for candidate-based data
You enter the retention periods that the report has to take into account in Customizing for SAP E-Recruiting under Store Legal Periods . For more information, see the documentation of the Customizing activity.