Skip to Content
0
Former Member
Feb 17, 2009 at 05:10 AM

time event upload program-HR time management

28 Views

hi friends ,

i m doing 2011 infotype upload program .my logic is i m sorting all the event as ascending and the minimum time for a pernr is the login and maximam time is logoff since they want first clock in as login and last out as a logout. .its working fine for day and afternoon shift but for third shift log in will be on 23.00 and logoff will be next day 7.00. so here my program is taking 7 as log in and 2300 as logout .its totally wrong .can anybody suggest any other method ,any hint for doing this in any other way so that night shift 2300 should be log on and moring 0700 will be logoff for previous day.

thx.

sunil