SAP Knowledge Base Article - Public

3673098 - Error message "java.lang.STATUS_MARKED_ROLLBACK: Transaction cannot proceed" when importing absences

Symptom

  • Errors occur when importing absences in Time Off, specifically for a leave type where the rule is to overwrite existing vacation records;
  • When attempting to delete employee time records with the status PENDING or PENDING_CANCELLATION, receives the error message: "java.lang.STATUS_MARKED_ROLLBACK: Transaction cannot proceed".

Environment

  • SAP SuccessFactors Employee Central
  • SAP SuccessFactors HCM Suite 

Reproducing the Issue

  1. Import absences records in Import and Export Data;
  2. Attempt to replace existing records with statuses PENDING or PENDING_CANCELLATION;
  3. Observe the error message "java.lang.STATUS_MARKED_ROLLBACK: Transaction cannot proceed".

Cause

The issue is caused by attempting to import absences that conflict with existing records in PENDING or PENDING_CANCELLATION status.

Resolution

Our SAP Best Practices and recommended approach is the following:

  1. Cancelling Leave Requests

    • Cancellation via import should be used only when the existing leave request is in Approved status;
    • If the leave request is in Pending status, cancellation must be performed via the UI.

    UI Steps:

    1. Navigate to Administer Time UI or ESS Time UI
    2. Click Edit on the existing Approved leave
    3. Click Cancel Time Off

    2. Withdrawing a Pending Cancellation

    UI Steps:

    1. Navigate to Administer Time UI or ESS Time UI
    2. Click Edit on the existing Approved leave
    3. Click Withdraw

    3. Approving a Pending Cancellation

    • Navigate to Home > Approval Tile or the Pending Workflow UI
    • Locate the relevant request and click Approve

    Alternatively, to manage multiple pending workflows:

    • Go to Manage Workflow Requests
    • Search for workflows for the Employee Time object and specific user(s)
    • Use “Change Approver” to assign the workflows to an Admin
    • The Admin can then mass approve or cancel requests via the Pending Workflow UI

    4. Declining Leave Requests

    UI Steps:

    1. Navigate to the Workflow Approval Page or Home > Approval Tile
    2. Click Decline on the pending leave request

Also, if you would like to have this option added to the system you can open an enhancement request following the article 2090228 - How to submit enhancement ideas for SAP SuccessFactors Products. This way our Product Management team can consider it for future updates.

See Also

Keywords

import absences, collision handling, pending cancellation, pending status, sap successfactors, time off, employee central, STATUS_MARKED_ROLLBACK error, leave request import, vacation overwrite, manual process, productive write, 1H 2025 release, error log, workflow approval, leave record replacement, sf, ec , KBA , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors Employee Central all versions