SAP Knowledge Base Article - Public

3379944 - detail_record_id method in Named Formula Group policy stopped an exception from working

Symptom

Create new acknowledgeable exception (OT_PAYMENT_EXCEPTION) for employees to add overtime pay codes to their timesheet and those won't be paid until their manager has approved / acknowledged the exceptions generated by those pay codes.
This is achieved by OT_PAYMENT_SUBMISSION premium policy.

To cater for the scenario where an employee may submit multiple identical requests on a day (eg 2 x OT 1.0 of 2 hours on 10/04/23) used to identify each slice uniquely.

Environment

SAP Time and Attendance Management by WorkForce Software                

Reproducing the Issue

1. Look up 'Employee id' and go to 10/04/23
2. Go to exception tab and expand 10/04/23, you will see 2 x OT 1.0 of 2 hours
3. Acknowledge just one of those exception and save
4. You will see there is no change to the exceptions

Cause

The exception acknowledgement was not saving because the detail_record_id seems to update each time the save button is pressed with changes (in this case after acknowledgement).

Resolution

The detail_record_id can only be used within the scope of the current ‘save’ cycle.

See Also

3353582 Example Acknowledgeable Exception with Slice Level Context Connected to a TCP

Keywords

Slice, Exception, Acknowledgment, Save, Cycle , KBA , XX-PART-WFR-TAM , SAP Time and Attendance Management by Workforce Software , Problem

Product

SAP SuccessFactors HXM Core 2305