cancel
Showing results for 
Search instead for 
Did you mean: 

Night shift evaluation problem

Former Member
0 Kudos

Dear All,

I have three shifts:

Early 08:00 - 16:00 / Late 16:00 - 24:00 / Night 00:00 - 08:00 (next day)

ex: i supposed to work in 28/12 at night shift, so i will clock in at 00:00 29/12, and out in 08:00 29.12, but system evaluating as following:

Planned time (in 00:00 28/12 & out 08:00 28/12)

Actual time (in 00:00 29/12 & out 08:00 29/12)

my question is, How to tell the system that my working day is from 08:00 AM to 08:00 AM next day, NOT 00:00 t0 00:00?

Thanks in advance,

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear All,

thank you for your help...

i record attendance from infotype 2011, and if i set indicator to both in & out manually to previous day the system determines this clocks as 24:00 in & 32:00 out, while system determination of planned hours is 00:00 - 08:00, so during planned hours employee is absent, while his actual attendance is out side planned hours - from system perspective - from 24:00 - 32:00, so this period is

Overtime!!!

I haven't breaks schedule, but i created one and checked previous day indicator, it works very well if i changed work schedule to be start previous 00:00, ex: 23:00 - 07:00, but my work schedule is from 00:00 - 08:00 next day!!

Please give me your advice.

Regards,

Edited by: ahmed nabil on Dec 29, 2011 9:51 AM

Former Member
0 Kudos

Hi,

Please Try with Clock in as "00:01" or "00:01:01" then clock out as "08:00" then system will behave like your requirements..

Even SAP also suggested same business input in this kind of senarios.

Former Member
0 Kudos

Hello Ahmed;

For this case you can write 3 rules which divides pair 23:30-32:00 to 23:30-00:00 00:00-08:00

Here is the sample rule. Hope it works.

You have to place the schema in this order. And you may define some time types in V_T555A as parameters.

I had problem in writing the rules completely. I will write it in 3 parts in the exact order to be placed in schema.

Edited by: Okan Caliskan on Dec 29, 2011 3:22 PM

Former Member
0 Kudos

-TIM 033 ACTIO -H04 / This rule decides whether pair would be divided into 2 or not.

-H04***** DHRS=MZDG2 HRS?0.5

-H04****** DHRS?0

-H04****** *

-H04****** > HRS=0 ADDMBZDG2Z

-H04*****> GENTGPREVHTFLAGP 1 HRS=1 ADDDBZOGP

-TIM 034 PRINT NP TES

-TIM 035 PRINT NP SALD

-TIM 036 PTIP -H05 GEN / This rule generates pair from previous day. I mean if you had 22:00-32:00 you divide it into 2 tips as 22:00-00:00 and 00:00-08:00 (32-24) This rule creates this pair for the relative day from previous day.

-H05***** DOUTTPBGCOD

-H05****** COLOP*

-H05********* COLOP*

-H05*****PREV FILLPVS HRS=00.00 FILLPB NEXTR

-H05*****PREV 1 HRS=PNUM HRS+PBEG FILLPE NEXTR

-H05*****PREV 2 FILLPI FILLPFP10 FILLPGP20 FILLPP1 FILLPHE NEXTR

-H05****PREV 3 COLOP HRS=0 ADDMBZDG2ZHRS=1 ADDMBZDG1Z

-TIM 037 PRINT NP TES

-TIM 038 PRINT NP SALD

-TIM 039 PTIP -H03 GEN / This rule divides the pair into 2 pairs

-H03***** DOUTTPORIGS

-H03****** DVARSTDAYPG

-H03****** * ZGCY -H03A

-H03****** **** ZGCY -H03A

-H03****** FREE ZGCY -H03A

-H03****** TUR1 ZGCY -H03A

-H03****** TUR2 ZGCY -H03A

-H03****** TUR3 ZGCY -H03A

-H03****A COLOP

Former Member
0 Kudos

-H03A**** DHRS=PEND ADDDBZDG3ZHRS=PBEG HRS?23.25

-H03A***** DHRS=PEND HRS?24.00

-H03A***** < DVARABDAY

-H03A***** < * COLOP*

-H03A***** < N COLOP*

-H03A***** < Y TFLAGP 0 COLOP*

-H03A***** = DVARABDAY

-H03A***** = * COLOP*

-H03A***** = N COLOP*

-H03A***** = Y TFLAGP 0 COLOP*

-H03A***** > HRS=PBEG FILLPB HRS=24.00 FILLPE COLOP* NEXTR

-H03A***** > 1 HRS=0 FILLPB HRS=DZDG3 HRS-24 FILLPE NEXTR

-H03A***** > 2 FILLP1 ADDDBZDG2

-H03A****= DHRS?23.99

-H03A****= < DHRS=PEND HRS?24.00

-H03A***= < < COLOP

-H03A***= < = COLOP

-H03A****= < > HRS=0 FILLPB HRS=DZDG3 HRS-24 FILLPE NEXTR

-H03A****= < > 1 FILLP1 ADDDBZDG2

-H03A***= = COLOP

-H03A***= > COLOP

-H03A****> DHRS?23.99

-H03A****> * DHRS=PEND HRS?24.50

-H03A****> * * COLOP*

-H03A****> * > HRS=0 FILLPB HRS=DZDG3 HRS-24 FILLPE NEXTR

-H03A****> * > 1 FILLP1 ADDDBZDG2

-H03A****> < DHRS=PEND HRS?24.00

-H03A***> < < COLOP

-H03A***> < = COLOP

-H03A****> < > HRS=0 FILLPB HRS=DZDG3 HRS-24 FILLPE NEXTR

-H03A****> < > 1 FILLP1 ADDDBZDG2

Edited by: Okan Caliskan on Dec 29, 2011 3:24 PM

Former Member
0 Kudos

You need to define time types as...

ZDG1

ZDG2

ZDG3

If you need to learn the criterias for time types, you can write.

Regards;

Okan

Former Member
0 Kudos

Thank you very much

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear,

What Infotype you are using for it 2002 or 2011.

If 2011 you have the indicators whether that time recording belongs to which day like ... =, -, + and blank..

check accordingly.

Thank you

Former Member
0 Kudos

Hi,

have you clicked on previous indicator in node work brake schedule

Thanks