cancel
Showing results for 
Search instead for 
Did you mean: 

day assignment

former_member218043
Participant
0 Kudos


Hi ,

I have a problem in daily work schedules and day assignemnt of time events.

our company have two types of working time  (ofcourse other than some other DWS that are working properly) that made an issue.

the story is as below:

employees Group1:  DWS1 starts at 18:45 and ends at 3:45 on the next day, but the employees who work in this DWS may clock in earlier and clock out even more than 3 hours after end time (ex. 7:00 am) and some days (sometimes happens) they continue to work even more.

employees Group2: they come to work on a normal daily work schedule which starts at 07:15 and ends at 16:15 (DWS2). but  they usually continue to work to next day (till 24:00) as overtime and at 00:00 and 00:01 they punch card for a clock out for the previous day and clock

in for current day and they work on currents day's work schedule which starts at 00:15 and end at 07:45 (DWS3) (and ofcourse after it they will have 24 hours OFF).

the problem is on time event assignment for all employees who work on these DWSs. we had set A07 in V_T705b to 400 to solve the problem of DWS1 for day assignment but the system assigns both clock out and clock ins at midnight for personnels in Group2 to previous day too and it cause abscens for the in current day and when I change A07 to 000 employees's time events on Group1 is mixed up (their clock out is assigned to current they not previous day).

note: the time event type we are using is P01.

currently we are changing day assignments manually but it is not a suitable solution and so time consuming.

Thanks for your attentions.

Accepted Solutions (0)

Answers (1)

Answers (1)

vianshu
Active Contributor
0 Kudos

Hi Elnoosh,

If I understand your situation correctly, Employee Group 1 employee work on DWS 1 having shift timings 18:45 - 03:45 (next day). Sometimes the employee can work till 7 am and beyond.

Employee Group 2 employee work on DWS 2 having shift timings 07:15 - 16:45. Sometimes employee work till 24:00 and also move on to next day.

You have mentioned here that they do a clock out and then a clock in for current day for shift DWS 3. So do their shift patterns look like DWS 2, DWS 3 for two consecutive days?

Please advise.

Thanks and regards,

Vivek Barnwal

former_member218043
Participant
0 Kudos

Hi Vivek,

Yes, the pattern is like this: DWS2- overtime- DWS3

ofcourse this pattern is not fixed and is by manager's demand.

vianshu
Active Contributor
0 Kudos

Hi Elnoosh,


I have analyzed this and I find that it is difficult for standard SAP to ascertain this to which shift the time stamp belongs to.

You have two consecutive shifts (DWS2 and DWS3) on two consecutive days with little time difference. Also, because of the fact that each shift is valid till 4 hours beyond the shift end time, it will be very difficult for system to place the time events for the next day shift. The span of two shifts DWS2 and DWS3 overlap each other and hence, system is unable to differentiate to which shift the time events belong to.

In my opinion, it may not be achieved in standard SAP solution.

You may need to use a BADI to mention that when shifts DWS2 and DWS3 are on two consecutive days, then the time stamps on prev day should belong to DWS2 shift and the time stamps on next day will belong to shift DWS3.

I hope this helps.

Thanks and regards,
Vivek Barnwal