Time Evaluation for work schedule during midnight

Dear all SAP HR Expert,
We have question regarding time evaluation.
Our scenario is:
Shift 1 00:00 - 07:00
Shift 2 07:00 - 16:00
Shift 3 16:00 - 24:00
His work schedule:
06.08.2010: Shift 2
07.08.2010: Day Off (Free)
08.08.2010: Shift 1
09.08.2010: Shift 1
10.08.2010: Shift 1, but he took one day annual leave on this day
Actual data (in IT2011 and IT2001):
clock in 06:30 of 06.08.2010
clock out 16:30 of 06.08.2010
clock in 23:30 of 07.08.2010 (come earlier)
clock out 07:30 of 08.08.2010
clock in 00:35 of 09.08.2010 (late)
clock out 07:15 of 09.08.2010
leave record: start date: 10.08.2010, edn date: 10.08.2010
Base on SAP documentation that said we can never assign a time event before midnight to the next day, we have rearranged SAP configuration (DWS and PWS) to:
DWS:
Shift 1: 23:59 - 06:59 with tolerance 23:59 - 00:00 and 06:59 - 07:00
PWS:
For Shift 1, always set 1 day earlier than actual schedule.
Thus, work schedule rule will indicate:
06.08.2010: Shift 2
07.08.2010: Shift 1 23:59 - 06:59
08.08.2010: Shift 1 23:59 - 06:59
09.08.2010: Shift 1 23:59 - 06:59
It works!!
Our problem is, time eval can not find clock in - clock out record for date 09.08.2010 (because record in IT2011 with date 09.08.2010 belongs to 08.08.2010) and can not match it with leave record (because leave data has start date 10.08.2010).
Thus, time eval will generate warning message "Employee not at work".
I hope you can give me input on how to solve this problem.
Best Regrads,
Achmad

Hi,
see thread
Time evaluation -early clockin for shifts starting at midnight ?
maybe of interest
bg
Edited by: bg on Sep 16, 2010 9:26 AM

Similar Messages

  • Whether MRP can be carried out for work scheduling GR. 20 i.e. work to orde

    Dear Experts,
    Whether MRP can be carried out for work scheduling GR. 20 i.e. work to order.
    mahendra

    Hi MShirodkar,
    Yes, s and it specifies the time needed to process the material in the operations at the different work centers.
    The GR processing time depends on the order quantity.
    The GR processing time is required to calculate the lot size dependent in-house production time. The system then uses the in-house production time to determine the planned dates for planned orders in materials planning.
    You can define work scheduling times in the material master record in one of two ways.
    Either you enter the in-house production time. If required, you can get the system to update this value from the routing.
    Or you enter the setup, teardown, processing, and interoperation times. If you maintain these values, the system determines the in-house production time on the basis of lot size.
    I hope it clears you doubt any queries please revert me back.
    Regards,
    Madhu.G

  • Problem: Run Time Evaluation for Future Period

    Hi SAP Gurus, can someone help me solving this problem:
    My client need to run time evaluation for 2-months period ahead of time. But every time I tried, time evaluation always stops at end of the current month, no further dates in the future. I had created attendance data 2002 for all the future dates. IT7, 2002, 2006 and all configurations seem to be OK (T510S,T569R). Test run is also OK with good future results. What could possibly be missing? Thank you in advance.
    Bill

    Thank you very much, Arun, Banu, Stefan and Om.
    Yes, I have entered the "Evaluation up to" date (60 days later);
    The schema has a function "Check FUT".
    Test future run result was generated correctly.
    Still I can't have future results in real run.
    So, what else I should check into?
    Thanks again.
    Bill

  • Group Personnel Subarea for Work Schedule

    Hi All,
    I am learning SAP HCM ECC 6.0 at the moment, I have created Personnel Area, Personnel Subarea however when I am trying to u201CGroup Personnel Subarea for Work Scheduleu201D the newly created Personnel Areas and Personnel Subarea are not appearing the list to group them for work schedule.
    No such problem persist while Defining employee subgroup under work schedule rules and work schedule in IMG.
    Experts could you please suggest me the solution to this problem? Is there any integration missing?
    Thanks,
    Jitend

    Thanks a lot Prateek, Sujit and Ravee
    The problem is been resolved by editing in Table "V_T500P" (Country grouping), now newly created PAs and PSAs are appearing in the list and I can "Group personnel subarea for work schedule"
    I did the the basic configuration of PAs, PSAs, EG, ESG and I assigned them to company code however PAs and PSAs were not appearing in the list to group them for Work Schedule. The problem is been resolved now by editing in Table.
    I really appreciate your help here.
    Edited by: Jitendk on May 31, 2011 12:11 PM

  • Unable to run time evaluation for the entire year...

    hi experts,
    I'am unable to run time evaluation for the entire year, even though mentioned the date as Force calculation as of : 01.01.2010
    and evaluation upto date : 31.12.2010.  when time evaluation is run , the log is only run for Jan 2010.
    Maintained IT2011 from 01.01.2010 to 31.12.2010
                      IT0050 from 01.01.2010 to 31.12.9999
                      IT0003 : PDC recalculation : 01.01.2010
    Kindly advise.
    Regards
    Pammi

    Check if Time Management status is 1 or 9....
    If it is 1 then it would not run for the entire year..It would run only till today. If it is 9, then the TE runs for future also...also check if in the schema it is activated for future runs or not...

  • Cross Day work issue in Time Evaluation for positive recording.

    Dear Experts,
    We would like to know whether anyone else has faced the below described issue before or has any suggestions for the same.
    Issue Background: We are uploading time events from the clocking recording system into SAP using an interface program. The clocking events are loaded without indicator 'M' and based on whether they belong to current day then assignment is '=' and '<' for previous day assignment.
    Issue Description: Some operational staff have planned daily shifts from 00:00 - 08:30. Hence they can clock-in before 00:00 on the previous day and since there is no 'Next Day Indicator' in SAP, we split the time events so that if the clock-in is at 23:00 previous day then the time pairs are formed as
    23:00 - 24:00 Current Day with Day assignment '='
    00:00 - 08:30 Next Day with Day assignment '='
    When we run the time evaluation, the day assignment for Next day pair 00:00 - 08:30 is automatically changed to '<'. This makes the Next day without any events and the time evaluation throws error in the next day.
    Now instead of automatic upload, if we manually upload the same time events, the records are as follows:
    23:00 - 24:00 Current Day with Day Assignment '+' and Origin Indicator 'M'
    00:00 - 08:30 Next Day with Day Assignment '+' and Origin Indicator 'M'
    Now if we execute time evaluation, the behaviour is as per expected and the time evaluation doesn't change the day assignment for any records.
    Work Around Proposed: Keep atleast 1 sec difference between the time events say the above records can be uploaded as follows:
    23:00 - 23:59 Current Day with Day assignment '='
    00:00 - 08:30 Next Day with Day assignment '='
    But we would like to avoid this if possible.
    Summary: In brief we would like to know whether why time evaluation has different processing for Origin indicator 'M' and SPACE.
    Many thanks for your inputs in advance, thanks.
    Regards,
    Roshan.

    Hi,
    see thread
    Time evaluation -early clockin for shifts starting at midnight ?
    maybe of interest
    bg
    Edited by: bg on Sep 16, 2010 9:26 AM

  • How to Set Time Period for KM Scheduler

    Hi ,
           I have created one Par based application in which i have assigned one role to perticular id dynamically and i scheduled this task by using KM Scheduler. but this scheduler assigns this task for 1 mins or greater than 1 hrs. i wanted to run this task for every 10 mins or 20mins or 30 mins. actually i tried to edit the time table property  for KM Scheduler for 10 mins but it not works it take 1 hrs and 10 mins.
           so is there any way to edit this time table property and set scheduler time to 10 mins or 20 mins.
    Kind Regards,
    Rahul

    Hi Rahul,
    If you want to run the scheduler for every 10 minutes, you can create your own timetable and assign it in the scheduler tasks.
    Steps:
    Goto Sytem Admin -> System Config -> Knowledge Management -> Content Management -> Global Services -> Scheduler Time Table -> Time Table -> Click on New
    You can find Scheduler Time Table in advanced options.
    Specify the vales as mentioned below and save it:
    ID: <any ID as you want> 
    Minute : 10
    Time Zone  : GMT+05:30 (Asia/Calcutta) India Standard Time
    For other parameters, no need to specify any value.
    Then go to Global Services -> Scheduler Tasks -> Your Scheduler Component -> Select the new timetable you have created for timetable parameter and click OK
    I have specified timezone as IST time. You can change the time zone as you require.I have done this and its working for me.
    Hope this helps.
    PS:Reward points for useful answers
    Regards,
    Yoga
    Edited by: Yogalakshmi on Feb 27, 2008 6:14 AM

  • Mimic SAP Tcode PT03 output screen for work schedule

    Hello
    I have a requirement to create a web dynpro java application which can mimic standard SAP transaction "PT03" output screen.
    i.e. View employee work Schedules..
    Now I do not have any Calender UI element which I can use.
    What could be best approach going forward.
    Please note that creating an IAC iview or SAP Transaction Iview is already out of scope for us because of client constraints...
    Please manage some time to look into this HCM transaction PT03 and advice me how can I mimic this in web dynpro.
    I am concerned about the "View Work Schedule" screen which has a calender type display where information about employee is getting displayed in individual cell of calender.
    Below is screenshot for page I need to Mimic..
    [Screenshot|http://www.freeimagehosting.net/image.php?e387a02d16.png]
    Thanking you in anticipation.

    I didnt' got you Sir....
    You are refering to Java Calender API !
    http://download.oracle.com/javase/1.4.2/docs/api/java/util/Calendar.html
    or there is some webdynpro calender API also...!!
    Well the whole scenario has to work as below...
    1. User will fill in some input form from portal (Web Dynpro java view)
    2. Clicks on submit button...
    3. Webdynpro java application calls an RFC....
    4. Output is rendered in calender format .....or any other format......which is informative enough to user.
    I am not using CE....

  • Selection rule for work schedule

    Hi experts ,
    Anyone know the meaning of the selection rule ?
    Rule        D.ty.wkdy            D.typ.Sat.            D.typ.Sun
    01            1 1111111           1 1111111          1 1111111
    02              Blank                      Blank                    Blank
    03             1 1111111               1111111              1 1111111
    10             1 1111111            1 1111111        1 1111111
    Why there is blank in front ? and some blank in between ?
    Anyone can explain to me ?
    Thanks in advance.
    Chris.

    Hi friend,
    Check:
    Time Management -> Work Schedules -> Period Work Schedules -> Define Period Work Schedules
    btw, you should check factory Holiday calendar (Tcode: SCAL) and generate Work schedule for year.
    IMG: Time Management -> Work Schedules -> Work Schedule Rules and Work Schedules -> Generate Work Schedules in Batch
    Regard,
    Michael.

  • Issue: PSG grouping for Work schedule

    Hi ,
    I want to create a work schedule with PSG grouping for workschedule as 70, I have tried to copy an existing-  none are available under the same grouping.
    I have tried using the create button though is creates a dws with grouping as 00, which shows as a non editable field.
    please advise on the issue
    Thanks and Regards,
    Prakash

    Hi,
    you want to create a workk schedule with grouping 70 ?
    then why are you copying the existing one where you can give all the entries by going new entries.... and do it..
    regards,
    mohammed

  • Rule Variants for work schedule

    Hi All,
    How to create rule variants for the below work schedule rules
    A Shift timings 06 am to 15.00 Hrs and Sunday holiday
    B Shift timings 15:00 to 23 Hrs and Monday holiday
    C Shift Timings 23:00 to 06:00 and Tuesday holiday.
    I have created break Schedule and work schedule rules and
    I want to assign rule variants for the above work schedules.
    This is for Indian scenario.
    Kindly help me out in this regard

    Hi,
    What exactly you are looking for rule variant coz variant is for a rule which assists to define few custom process like reduced working hours, conditions on current day holiday class next day holiday class and weekday.
    Please brief the requirement.
    Regards,
    Rajesh

  • Time zone for dbms scheduler

    Dear buddies,
    begin
    dbms_scheduler.create_job (
    job_name => 'BACKUP_marsdb',
    job_type => 'EXECUTABLE',
    job_action => 'D:\Oracle_Backup_data\Details\script\MarsDB\MarsDBBackup.bat',
    start_date => '27-May-2010 05:54:00 PM Singapore',
    repeat_interval => 'FREQ=daily; interval=1',
    comments => 'Backup marsdb'
    end;
    I am not getting it working on the required time. How else can I amend it?
    Please advice.
    Accept my thanks in advance.
    Nith
    Edited by: user645399 on May 27, 2010 5:59 PM

    Dear Ogan
    Showing the output for one of the earlier jobs which I created;
    131     147     11-MAY-10 04.39.38.405000 PM +08:00     SYS     TEST_JOB          SUCCEEDED     0     11-MAY-10 04.39.38.030000 PM +08:00     11-MAY-10 04.39.38.030000 PM +08:00     +000 00:00:00     1     19,679          +000 00:00:00.00     
    I scheduled them somewhere early in the morning and now I am not sure how I should read the time given in the output. Is it 4.39 PM?
    Thanks
    Nith
    Edited by: user645399 on May 27, 2010 6:32 PM
    Edited by: user645399 on May 27, 2010 6:33 PM

  • Session Time Out For UNLOGGED USER During Search -pls help

    Hi,
    The problem lies in searchresultscontroller.java/searchcontroller.java file under search/web/handler of an application that supports educational note sharing.
    The problem is that -
    When I search with query strings in different fields(as you will find in the above mentioned java files)..the keywords in resourcedto and get some files as search results.
    Then I click on one of the file from within the search result and visit the file.
    Here if I m logged in as an user, and the session time out is set to 1 minute in the web.xml file of the web folder not the admin folder then when I hit the BACK TO SEARCH button it easily goes back to the previous search result page along with the queries string that I had input previously.
    The problem is that when I m NOT LOGGED in as an user, and I've performed a search with queries and other dropdowns in the search panel, I get the search result page, I visit the file by clicking on one of them but when I hit the BACK TO SEARCH button I don't see the previous search result page from where I had navigated to view the file.
    Please suggest on what changes shall I make in the code so that even if I m not logged in as an user, I get back to the search result page on hitting the BACK TO SEARCH button from the file view page.Sir I m herein pasting the code of the searchresultscontroller.java file, but please feel free to ask for anyother file whose code you might want to see.
    SEARCHRESULTSCONTROLLER.JAVA FILE CONTENT-
    package com.mgh.sps.search.web.handler;
    import java.util.Map;
    import java.util.regex.Pattern;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.log4j.Logger;
    import org.springframework.validation.BindException;
    import org.springframework.validation.Errors;
    import org.springframework.web.servlet.ModelAndView;
    import org.springframework.web.servlet.mvc.SimpleFormController;
    import com.mgh.sps.search.business.facade.Search;
    import com.mgh.sps.common.dto.ResourceDTO;
    import com.mgh.sps.common.util.SessionAttributeKey;
    import com.mgh.sps.common.util.SessionManager;
    import com.mgh.sps.fileusage.web.constants.FileUsageWebConstants;
    public class SearchResultsController extends SimpleFormController {
         * SearchResults Controller
         * @author Muralikrishna.s
         * @Codedondate DD-MM-YY=26-07-07
         * @Usecase/s associated =UC504
         private static final Logger logger = Logger
                   .getLogger(SearchResultsController.class.getName());
         private final static String REG_EXP = "^[A-Za-z0-9]*$";
         private final static Pattern EMAIL_PATTERN_REG = Pattern.compile(REG_EXP);
         * Spring framework method used to hold reference data
         * @param request
         * HttpServletRequest
         * @param command
         * Object
         * @param arg2
         * Errors
         * @return Map
         * @throws Exception
         @Override
         protected Map referenceData(HttpServletRequest request, Object command,
                   Errors errors) throws Exception {
              logger.debug("SearchResultsController.referenceData() method entered:"
                        + request + "," + command + "," + errors);
              SessionManager.setSessionAttribute(SessionAttributeKey.tabIndex,
                        FileUsageWebConstants.TAB_SEARCH, request);
              Search search = (Search) super.getWebApplicationContext().getBean(
                        "searchfacade");
              ResourceDTO resourceDto = (ResourceDTO) command;
              String[] allValues = new String[7];
              if (null != (String[]) SessionManager.getSessionAttribute(
                        SessionAttributeKey.allValues, request)) {
                   allValues = (String[]) SessionManager.getSessionAttribute(
                             SessionAttributeKey.allValues, request);
                   resourceDto.setKeywords(allValues[0]);
                   resourceDto.setCountry(allValues[1]);
                   resourceDto.setUniversityName(allValues[2]);
                   resourceDto.setSubjectArea(allValues[3]);
                   resourceDto.setQualification(allValues[4]);
                   resourceDto.setYearLevel(allValues[5]);
                   resourceDto.setSpecificType(allValues[6]);
              logger.debug("%%%%%%%%%%%%%%%%%qualification%%%%%%%%%%%%%%%"
                        + resourceDto.getQualification());
              String flag = (String) request.getParameter("id");
              resourceDto.setFlag(flag);
              logger.debug("SearchResultsController.referenceData() method exited:");
              return search.retrieveReferenceData(resourceDto);
         * Spring framework method used to hold OnSubmit
         * @param request
         * HttpServletRequest
         * @param response
         * HttpServletResponse
         * @param command
         * Object
         * @param arg3
         * BindException
         * @return ModelAndView
         * @throws Exception
         @Override
         protected ModelAndView onSubmit(HttpServletRequest request,
                   HttpServletResponse response, Object command, BindException errors)
                   throws Exception {
              SessionManager.cleanup(request);
              logger.debug("SearchResultsController.onSubmit() method entered:"
                        + request + "," + command + "," + response + "," + errors);
              Search search = (Search) super.getWebApplicationContext().getBean(
                        "searchfacade");
              Map dynamic = (Map) getServletContext().getAttribute("config");
              ResourceDTO resourceDto = (ResourceDTO) command;
              SessionManager.removeSessionAttribute(SessionAttributeKey.allValues,
                        request);
              //changed by sreelatha on sep21
              //resourceDto.setKeywords(request.getParameter("keywords"));
              //String key = request.getParameter("keywords");
              //logger.debug("&&&&&&&&&&&&& key &&&&&&&&&&&&" + key);
              String keywords = (request.getParameter("keywords"));
              if(null!=keywords) {
                   keywords = keywords.trim();
              resourceDto.setKeywords(keywords);
    //          changes end
              resourceDto.setUniversityName(request.getParameter("universityName"));
              resourceDto.setSubjectArea(request.getParameter("subjectArea"));
              resourceDto.setCountry(request.getParameter("country"));
              resourceDto.setQualification(request.getParameter("qualification"));
              resourceDto.setYearLevel(request.getParameter("yearLevel"));
              resourceDto.setSpecificType(request.getParameter("specificType"));
              String[] allValues = new String[7];
              //changed by sreelatha on sep21
              //allValues[0] = request.getParameter("keywords");
              allValues[0] = resourceDto.getKeywords();
              //changes end
              allValues[1] = request.getParameter("country");
              allValues[2] = request.getParameter("universityName");
              allValues[3] = request.getParameter("subjectArea");
              allValues[4] = request.getParameter("qualification");
              allValues[5] = request.getParameter("yearLevel");
              allValues[6] = request.getParameter("specificType");
              SessionManager.setSessionAttribute(SessionAttributeKey.allValues,
                        allValues, request);
                   if(null!=keywords) {
                   keywords = keywords.trim();
                   String words="";
                   for(int i=0;i<keywords.length();i++) {               
                        String key=String.valueOf(keywords.charAt(i));
                        if(key.contains("*")) {
                                  key = key.replace("*"," ");
                             } else if(key.contains("?")) {
                                  key = key.replace("?"," ");
                             } else if(key.contains("[")) {
                                  key = key.replace("["," ");
                             } else if(key.contains("{")) {
                                  key = key.replace("{"," ");
                             } else if(key.contains("(")) {
                                  key = key.replace("("," ");
                             } else if(key.contains(")")) {
                                  key = key.replace(")"," ");
                             } else if(key.contains("+")) {
                                  key = key.replace("+"," ");
                             } else if(key.contains("\\")) {
                                  key = key.replace("\\"," ");
                             } else if(key.contains(" ")) {
                                  key = key.replace(" "," ");
                             } else if(key.contains("_")) {
                                  key = key.replace("_","_");
                             } else if(!EMAIL_PATTERN_REG.matcher(key).matches()) {
                                  key = key.replaceAll(key," ");
                        words = words + key;
                   keywords = words;
                   resourceDto.setKeywords(keywords);
              SessionManager.setSessionAttribute(SessionAttributeKey.test, search.setInputValues(resourceDto, dynamic), request);
              String name = (String) SessionManager.getSessionAttribute(SessionAttributeKey.tempName, request);
              String flag1 = request.getParameter("id");
              String status="";
              if (flag1 !=null && flag1.equals("loggedInUser"))
              if(name==null)
                        return new ModelAndView();
              if (flag1 !=null && flag1.equals("loggedInUser")){
                   status = "redirect:SearchResults.htm?id=loggedInUser";
              }else if(flag1 !=null && flag1.equals("nonLoggedInUser"))
                   status = "redirect:SearchResultsnlu.htm?id=nonLoggedInUser";     
              super.setSuccessView(status);
              ModelAndView mav = new ModelAndView(super.getSuccessView());
              logger.debug("SearchResultsController.onSubmit() method exited:");
              return mav;
    }

    Cross-posted in many forums. Don't answer this one.

  • Updation Error in "Group Personnel Subareas for the Work Schedule "

    Hello everyone,
    While trying to assign a PS grouping  code to my Personnel Area here, I am facing a problem.
    I can't see them in the table mentioned above .
    Already checked the previous steps in Enterprise structure i.e creation PA and PSA, they are displayed properly in respective tables but I can't find them here in grouping for work schedule.
    Could any one of you be kind enough to throw some light on possible errors and their solutions.
    Thanks & Regards,
    Vibhu

    Hi,
    Just now I am able to sort out this problem, Actually we need to carry out "Maintain User Parameter" activity under 'Personnel Administration'
    IMG Steps are as follows :
    SPRO => Personnel Management => Personnel Administration => Basic Settings => Maintain User Parameters
    Following screen will come up
    here select the country you like to work on (in my case it is India)
    Select Continue
    A pop up will come stating "Parameters created for India"
    Select Continue
    User profile screen will come up
    Save it
    Now go to time management section of IMG
    Go to "Personnel subarea grouping"
    Personnel areas belonging to your country grouping will be displayed on screen.
    Thanks,
    Vibhu

  • Mapping of Planned Working Time to Work Schedule

    Hi ,
    I have the following query.
    For a partiular employee 'abc' , i check his planned working time from 'IT 0007' .
    From the planned working time how can i get the work schedule in coding , ie for an employee in IT 0007 how do i write a code to read his work schedule ?
    Can anyone please tell me from where is the work schedule mapped to the employee number? (ie which table or field)
    Thanks,
    Rohit

    Hi Rohit,
    The relavant code would be:
    tables : PA0007.
    select SCHKZ from pa0007 where pernr EQ lv_pernr (and the begda and endda constraint) into lv_wrksch .
    This is I think what you would want. Also the master table for work schedules is T508A, but the mapping for pernr and work schedule is done in IT0007.
    Hope this helps.
    Vivek
    PS: Plese <b>reward points </b>if useful.

Maybe you are looking for