SAP Knowledge Base Article - Preview

3360508 - Error "Invalid policy key: yyyy-mm-dd.SCHEDULE_TEMPLATE(<POLICY_NAME>)"


An application error occurs on a time sheet, in the batch job log for Lock and Calculate, or when navigating to the Assign Schedule Templates screen. The error refers to a missing schedule template. For example:

Caused by: com.workforcesoftware.Policy.PolicyLookupInvalidForeignKey: Invalid policy key: 2015-06-28.SCHEDULE_TEMPLATE(SAMPLE_TEMPLATE:null)
    at com.workforcesoftware.Gen.Policy.Schedule_template.<init>(
    at com.workforcesoftware.Gen.Policy.AllPoliciesBase.getSchedule_template(
    at com.workforcesoftware.scheduleCycles.ScheduleAssignment$1.handle_SCHEDULE_TEMPLATE(
    at com.workforcesoftware.scheduleCycles.ScheduleAssignment$1.handle_SCHEDULE_TEMPLATE(ScheduleAs

)"">


SAP Time and Attendance Management by WorkForce Software (All versions)


KBA , XX-PART-WFR-TAM , SAP Time and Attendance Management by Workforce Software , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.