SAP Knowledge Base Article - Public

3761401 - DRTM Compensation/Variable Pay Purge Bypasses Pending Final Approval and Fails

Symptom

When submitting a DRTM Compensation/Variable Pay Purge request, the request does not follow the expected approval workflow.
Instead of moving to Pending Final Approval, the request immediately moves to Purge Progress & Results and the purge fails.

This behavior may occur when the purge request includes one or more countries with incomplete retention period configuration under DRTM Compensation/Variable Pay.

In the application logs, errors similar to the following may be observed:
java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because "period" is null

Environment

SAP SuccessFactors HXM Suite
SAP SuccessFactors Compensation
SAP SuccessFactors Variable Pay

Reproducing the Issue

  1. Navigate to Manage Data
  2. Open DRTM Compensation/Variable Pay configuration
  3. Configure one or more countries with a blank retention period value
  4. Navigate to Admin Center > Data Retention Management
  5. Create a DRTM Compensation/Variable Pay Purge request
  6. Select countries that include the country with the blank retention period
  7. Submit the purge request

Cause

Compensation/Variable Pay Purge requires retention period values to be maintained for the countries included in the purge request.

If a configured country contains a blank retention period value, the purge process may fail when attempting to calculate retention eligibility, resulting in errors indicating that the retention period value is null.

Resolution

Maintain valid retention period values for all countries configured under:

Manage Data > DRTM Compensation/Variable Pay

After maintaining the missing retention period values, rerun the purge request.

If the business requirement is to prevent purging data for active employees indefinitely, consider maintaining a sufficiently large retention period value according to your organization's retention policy.

See Also

2643571 - DRTM Purging for Compensation and Variable Pay - SAP for Me

Keywords

DRTM Compensation purge, Variable Pay purge issue, Purge request skips approval, Compensation purge fails, Variable Pay data purge failure , KBA , LOD-SF-CMP-ADM , Admin Tools, Settings, Permissions , How To

Product

SAP SuccessFactors Compensation all versions