Está en la página 1de 12

Dynamic Daily Work Schedule Based on Clock Times

Applies to:
SAP HCM \ SAP HR Time Management. For more information, visit the Enterprise Resource Planning homepage.

Summary
This article explains the process of assigning new daily work schedule dynamically to an employee based on the employee's first clock-in time occurs within a specified time frame from a set of daily work schedules. The system finds a suitable entry; it dynamically assigns the specified daily work schedule to the employee. Author: Arvind Tirumala
th

Company: Intelligroup Asia Pvt Ltd Created on: 10 March 2010

Author Bio
Arvind Tirumala is a Senior Consultant at Intelligroup HCM practice. He has extensively worked on India Payroll and lead teams in implementing SAP HCM Solutions for enterprises in Public and Private Sectors.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 1

Dynamic Daily Work Schedule Based on Clock Times

Table of Contents
Dynamic Daily Work Schedule Based on Clock Times .................................................................................... 3 Table V_T550A Daily Work Schedule Overview ......................................................................................... 3 Table V_T551A Period Work Schedule Overview ........................................................................................ 3 Transaction PT01 - Generate Work Schedule Manually. ............................................................................... 4 Transaction PT01 - Generate Work Schedule Manually. ............................................................................... 5 Table - V_T552V -Assign Daily Work Schedules Dynamically ....................................................................... 6 Table - V_T552W - Dynamic Daily WS Assignment: Planned /Actual Overlap .............................................. 7 Transaction PE 01 PCR TD30 Dynamic DWS assignment: Clock in entry ............................................... 7 Example: ............................................................................................................................................................. 8 PA 30 -Maintain Master data .......................................................................................................................... 8 Transaction PT60 - Time evaluation ............................................................................................................... 9 Related Content ................................................................................................................................................ 11 Disclaimer and Liability Notice .......................................................................................................................... 12

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 2

Dynamic Daily Work Schedule Based on Clock Times

Dynamic Daily Work Schedule Based on Clock Times


Business Scenario: When an Employee works in different working hours other than his normal working times for Eg. 06:00 to 14:00 is his original Working Hours and he enters the clock 10:00 to 18:00 on a particular day. Then system determines from a set of daily work schedules, the one where the employee's first clock-in time occurs within a specified time frame and finds a suitable entry and dynamically assigns the specified daily work schedule to the employee. Detailed configuration steps with screen shots are given below for Dynamic Daily Work Schedule as per Business Requirement. Table V_T550A Daily Work Schedule Overview

1. ERLY 06:00 to 14:00 2. GENR 09.00 to 17:00 3. AFTR 14:00 to 23:00 4. NGHT 23:00 to 06:00 Table V_T551A Period Work Schedule Overview

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 3

Dynamic Daily Work Schedule Based on Clock Times

Transaction PT01 - Generate Work Schedule Manually. SFT 1 Early Shift

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 4

Dynamic Daily Work Schedule Based on Clock Times

Transaction PT01 - Generate Work Schedule Manually. SFTG General Shift

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 5

Dynamic Daily Work Schedule Based on Clock Times

Table - V_T552V -Assign Daily Work Schedules Dynamically

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 6

Dynamic Daily Work Schedule Based on Clock Times

Table - V_T552W - Dynamic Daily WS Assignment: Planned /Actual Overlap

Transaction PE 01 PCR TD30 Dynamic DWS assignment: Clock in entry

Standard PCR TD30 assigns DWS dynamically to EE who cannot be allocated a fixed schedule. First it checks whether there is a substitution record for the EE on the current day. If not, operation DYNDP assigns a DWS dynamically. The return code set by operation DYNDP is used by operation RETCD to decide how the system reacts to the situations that occur when DWS are assigned dynamically. If the return code is 2 or 4, operation COLER issues a message.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 7

Dynamic Daily Work Schedule Based on Clock Times

Example:
PA 30 -Maintain Master data Employee planned working time as on 01-04-2008 (IT0007 Work Schedule)

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 8

Dynamic Daily Work Schedule Based on Clock Times

IT 2011 -Time Events on 01.04.2009

Actually the employee is supposed to work 06:0014:00 on 1st April which can be seen above but I have entered the clock in as 10:00 and clock out as 18:00. Transaction PT60 - Time evaluation

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 9

Dynamic Daily Work Schedule Based on Clock Times

The above information was given due to the dynamic work schedule assignment. The system has automatically picked up the GENR schedule. Check the entry in the PSP table which can be seen below. It will show as GENR in the DWS field, even tough the work schedule for 1st April is SFT1 (06:0014:00).

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 10

Dynamic Daily Work Schedule Based on Clock Times

Related Content
http://help.sap.com/erp2005_ehp_04_sp/helpdata/en/8a/9852c246c411d189470000e829fbbd/content.htm http://help.sap.com/erp2005_ehp_04/helpdata/EN/c6/24a33502231d77e10000009b38f839/frameset.htm http://help.sap.com/erp2005_ehp_04/helpdata/EN/c6/24a33502231d77e10000009b38f839/frameset.htm For more information, visit the Enterprise Resource Planning homepage.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 11

Dynamic Daily Work Schedule Based on Clock Times

Disclaimer and Liability Notice


This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 12

También podría gustarte