SAP Knowledge Base Article - Public

2657326 - Data Retention Time Management: Person and Employment Purge Object FAQ

Symptom

How do the Employee Central Core (Person and Employment) related DRTM Objects work? What is the logic? A further explanation of the Employee Central related DRTM Objects is found in this article.

  • Employment related retention time calculation logic
  • Person Related Retention Time Calculation Logic
  • Scenario Cases Examples

For more information on DRTM Purge Objects, please refer to "DRTM Base Dates for Retention Time Calculation" chapter the Data Protection and Privacy handbook

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

Resolution

Here's an overview of the process for setting up data purge with data retention time management (DRTM) (Refer the handbook Enablement of Data Retention Time Management)

Step

Description

More Information

Ensure prerequisites

Before you get started, confirm that your system meets the prerequisites for using this function.

Prerequisites for Data Retention Time Management

Enable Data Retention Management

To check if this is already enabled, search admin tools for Data Retention Management. If it is not, follow steps to enable it.

Enabling Data Retention Management

Decide if you want to use legal-entity based data retention

If you have Employee Central, you have the option to purge data based on the user's legal entity instead of their country or region. If you want to do this, decide which criteria (legal entity or country/region) you want to use for each target population.

Enabling Legal Entity-Based Data Retention

Grant permissions to purge data with data retention time management

You need to grant new permissions to access the new data retention time management (DRTM) function for data protection and privacy.

Permissions for the legacy data purge function are granted separately, so if you already use Data Retention Management, you can continue to use your current process while you set up DRTM.

Allowing People to Create and Approve DRTM Purge Requests

Enable DRTM objects

The new data retention time management (DRTM) is built with MDF extension objects. You need to enable the objects that apply to the SAP SuccessFactors solutions you use.

Adding DRTM Objects to Your Instance

Enable DRTM for each country or region

To simplify your implementation, you should enable data retention time management (DRTM) for all countries in your system, using the MDF object for country/region.

Enabling Data Retention Time Management for Each Country or Region

Set up data purge for MDF custom objects

If you use MDF custom extensions, you need to set up data purge for these objects separately. You can identify which business process the data relates to and include the custom MDF data in the relevant DRTM purge for that business process.

DRTM Data Purge for MDF Custom Objects

Configure retention times

After Data Retention Management is enabled, you need to configure data retention times for each type of data in your system.

Configuration of Data Retention Times

 

Employee Central DRTM Purge Object behavior

The system will behave differently depending on whether the employee is Active or Inactive, and whether the data is Effective Dated or not. This is explained in the tables below:

  • DRTM Employment Info Purge Objects - Retention Time Calculation Logic

Emp_logic.png

 

  • DRTM Person Info Purge Objects - Retention Time Calculation Logic

Pers_logic.png

 

FAQ

Active or Inactive?

Q) How does the system know the user is ACTIVE or INACTIVE?
A) The system will validate the status of the employee either by using the standard-element field "Company Exit Date" for non-EC users or the Termination Date (hris-element "employmentInfo.emd-date") for EC users:

  • If the Company Exit Date/Termination Date value is NULL, then treat as ACTIVE
  • If Company Exit Date/Termination Date value is set, then treat as INACTIVE

 

Effective Dated Records

Q) How does the system handle Effective Dated Records?
A) The key is the End Date of the Effective Dated record. If the End Date of the record falls outside the retention period, then it will be purged. If the record is the "current" record, its End Date will be 12/31/9999 and therefore will never be purged.

  • IMPORTANT:
    • Personal Information: For the Personal Information data, the record with end-date 12/31/9999 is always kept - but the corresponding Global Info for that record will be removed if the Termination date is outside the Retention time. If the Termination date is within the Retention period, then the Global Info record will be kept.
    • Job Information: Job Information is not considered by the purge.

 

Non-Effective Dated Records

Q) How does the system handle Non-Effective Dated records, as they have no End Date?
A) The system will only purge the data for INACTIVE employees. For employees that are still ACTIVE, the data will not be purged.

Biographical Information & Employment/Termination Details

Q) When performing the DRTM Employment Info Purge Objects or the DRTM Person Info Purge Objects purge, will the system try to purge the Biographical Information & Employment/Termination Details?
A) No. This data is only purged by the Master Data Purge.

Personal Information & Global Information

Q) Is the DRTM Person Info Purge Object - DRTM_PERSONAL_DETAILS supposed to purge only the Global Information or the complete Personal Information portlet itself?
A)DRTM_PERSONAL_DETAILS purge object purges both Personal Information and Global Information based on effective end date and termination date.

Q) Is is possible to purge only Global Information, while retaining the Personal Information for terminated employees?
A) There is no separate purge object to purge only the Global Information. DRTM_PERSONAL_DETAILS Purge Object handles both Personal Informantion and Global Information purge. Nevertheless, the purge is always based on the End Date of the Effective Dated record. This means that, for the Personal Information data, the record with end-date 12/31/9999 is always kept - but the corresponding Global Info for that record will be removed if the Termination date is outside the Retention time. If the Termination date is within the Retention period, then the Global Information record will be kept.

Scenarios: Examples of Purge Logic

Please note that the examples below and purely logic examples:

Scenario 1: Effective Dated Records for ACTIVE users

  • User Status = ACTIVE (companyExitDate is NULL)
  • Country = United States
  • Purge Object = DRTM Employment Info Purge Objects
  • Todays Date = 5th July 2018
  • Retention Time = 2 Years (for Active Employee)
  • Data Purged = Records with an End Date before 5th July 2016

The system will analyse the End Date of the records and determine which records are outside the Retention Period. For example, if the Retention time is 2 years, the system will identify (from todays date) what is the date 2 years back. It will then analyse the data for that Object (in this example - Compensation Information) and it will check which records End Date falls outside the retention period, and it will mark that record to be purged. Note in the below example, the record that ends 12/31/2016 is still within the retention period (where the cutoff is 07/05/2016):

UserIDstart-dateend-date
123401/01/201712/31/9999
123406/01/201412/31/2016
123401/01/201005/30/2014

 

Scenario 2: Effective Dated Records for INACTIVE users

  • User Status = INACTIVE (companyExitDate is 01/01/2018)
  • Country = United States
  • Purge Object = DRTM Employment Info Purge Objects
  • Todays Date = 5th July 2018
  • Retention Time = 1 Years (for Inactive Employee)
  • Data Purged = Records with an End Date before 5th July 2017

The system will analyse the End Date of the records and determine which records are outside the Retention Period. For example, if the Retention time is 1 years, the system will identify (from todays date) what is the date 1 years back. It will then analyse the data for that Object (in this example - Compensation Information) and it will check which records End Date falls outside the retention period, and it will mark that record to be purged. Note in the below example, the record that ends 12/31/2016 is also outside the retention period (where the cutoff is 07/05/2017):

UserIDstart-dateend-date
123401/01/201712/31/9999
123406/01/201412/31/2016
123401/01/201005/30/2014

 

Scenario 3: Non Effective Dated Records for ACTIVE users

  • User Status = ACTIVE (companyExitDate is NULL)
  • Country = United States
  • Purge Object = DRTM Person Info Purge Objects
  • Todays Date = 5th July 2018
  • Retention Time = 2 Years (for Active Employee)
  • Data Purged = Non-Effective Dated Data is always retained for ACTIVE employees. Therefore Non Effective Dated records are not purged.

 

Scenario 4: Non Effective Dated Records for INACTIVE users

  • User Status = INACTIVE (companyExitDate is 01/01/2017)
  • Country = United States
  • Purge Object = DRTM Person Info Purge Objects
  • Todays Date = 5th July 2018
  • Retention Time = 1 Years (for Inactive Employee)
  • Data Purged = Non-Effective Dated Data is always purged for INACTIVE employees.

FAQ - Additional Information

Q) Where can I get information on this from the Guide?

A) Guide: Implementing and Managing Data Protection and Privacy

 

Keywords

ECT-100770, termination date, effective end dates, GDPR, data protection and privacy, EC, companyExitDate, end-date, DRTM, Data Retention Time Management, Empolyee Profile, DRTM Employment Info Purge Objects, DRTM Person Info Purge Objects, Inactive user, Active , KBA , LOD-SF-EC-PER , Person Data (All Person Data Types) , LOD-SF-EC-JOB , Job Information , LOD-SF-EC-CMP , Compensation Information & One-Time Bonus , LOD-SF-EC-ADM , Admin Tools (EC Core only) , How To

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions