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.

Similar Messages

  • How to get the personnel plan work schedule

    Hi,
    I write a report ,need get the personnel plan work schedule of the input month.
    for example:
    at input screen : I input : 2007-01  and pernr:10000001;
    I hope get the plan work schedule days (rusult :25 work days)of  the  person 10000001  at  January 2007 .
    Now I find some HR TM functions ,such as :
    HR_PERSONAL_WORK_SCHEDULE
    HR_PERSONAL_WORK_SCHEDULE_PNP
    but I don't know how to test , I had try many times ,but not get what I want . so I want to know if have any other function can make me get what I want .

    Hi Olivia,
    tables: ptpsp.
    parameters:
    pernr type pa0001-pernr,
    begda type pa0001-begda,
    endda type pa0001-endda.
    data:
    i_ptpsp type table of ptpsp.
    <b>CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE'</b>
           EXPORTING
               <b> PERNR             = PERNR
                BEGDA             = BEGDA
                ENDDA             = ENDDA</b>
              KUG               =
              REFRESH           = 'X'
              WORKING_HOURS     = 'X'
              SWITCH_ACTIV      =
              MODIFY_ENTRIES    = 'X'
              I0001_I0007_ERROR = '0'
         IMPORTING
              WARNING_OCCURED   =
           TABLES
              I0000             =
              I0001             =
              I0002             =
              I0007             =
              I0049             =
              I2001             =
              I2002             =
              I2003             =
      <b>          PERWS             = I_PTPSP</b>
         EXCEPTIONS
              ERROR_OCCURED     = 1
              ABORT_OCCURED     = 2
              OTHERS            = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    table <b>I_PTPSP</b> is having all the data u needed..

  • Planned delivery time in Scheduling agreement and MRP

    Hello,
    Do you know is it possible to determine system so that MRP run will consider the planned delivery time from the scheduling agreement line instead of material master? Now the system read planned delivery time from material master when creating schedule lines automatically by MRP-run.
    Regards, jaana

    This can be customized in
    SAP Customizing Implementation Guide
    -> Production
    --> Material Requirements Planning
    ---> Planning
    > Procurement Proposals
    > Define External Procurement
    Here you can select the indicator "Scheduling according to purchasing info record or agreement" either at plant or MRP group level.

  • Is planned delivery time is considered in scheduling agreement ????

    Hi experts
    problem is that the schedule lines (for external procurement) generated from MRP are not taking the "" Planned delivery time into consideration"". System is only taking the G.R processing time.
    I have mentioned the Planned delivery time in .
    1) Scheduling agreement for 1 day.
    2) In material master for one day.
    3) In info record 1 day.
    e.g Suppose req date is 13.07.2008. MRP run date 4.07.2008.
    a) Planned delivery time = 1 day . B) G .R processing time = 3 days.
    Now when i run the MRP on 4.07.2008.
    Schedule line is generated on - 10.07.2008
    Please Guide . How i can take care of that time which is requiered at vendor ends.
    Regards
    Rahul Bhardwaj

    Go to OPPQ for that plant
    Click on "External Procurement " tab and check if you have maintained any planned delivery time?
    Tick indicator " Scheduling info record/agreement " (This will take Planned del time specified in scheduling info rec or agreement)

  • Schedule Agreement - Planned delivery time

    Can you still use planned delivery time when using Scheduling Agreements?  Or does this field need to be set to 0 for the delivery lines to get created properly when using JIT/FRC schedules?  If we cannot use Planned delivery time, is there another field that can be used to hold the Vendors lead time.  We want to take this into consideration when determining the end date of the Scheduling Agreement.

    Hi,
    the planned delivery time field on the material master is designed to be used when it cannot find the correct data from the info record. It should always contain the planned delivery time that should be applied if the vendor is not specified.
    the same field on the info record should contain the planned delivery period for the appropriate vendor.
    This field does not have to be 0 if you are using JIT etc.
    Steve B

  • Planned working time changed and we need to change work schedule for multip

    Hi All
    I have 2 senarios on time mgmt
    1.We have a transfer absence quota where this can be used in day off but it count day offs.It has to show the Calendar days and absence days equal.I am not getting this when i tried 
    I have a scenario that company management wants to cahnge the planned work timings due to whether for multiple work schedules which already exsist and running.How we can change these new timings and can generate work schedule in single shot/config change?
    Can any one through light on these two?
    Thanks in advance

    Any body plz give me a clue.
    Final Out put should be
    "Finally check the Abs Days and Calendar days are diff, but  the requirement is both should be same."

  • Time Management - Work Schedule /Absence Quota / Part-time quota generation

    Hi Experts,
    Need your help!
    We have a requirement where we need to create distinct work schedules for each irregular / part-time work pattern and the number of work patterns we have identified is more than 1000.  We are using report RPTQTA00 to generate quota. We have used work contract, employee sub-group & employee payscale group in the QUOMO feature to get the base entitlement picked up. We have defined base entitlement for the full time workschedules with 37.0 / 38.5 hours and there is a reduction rule which reduce the absence entitlement for part time employees as per the employement percentage in IT0007. Now we have a scenario where we have created a work schedule with different no of hours for each day of week (M-4, T-6, W-4, TH-6, F-4, S-OFF, SU - OFF); this work schedule is treated as full time work pattern by the system and quota is generated as full time work schedule refering to the QUOMO settings, but as per my client employees with this work schedule have reduced hours of working hours (24 hours, not 37.0 or 38.5 hours)and hence it should be treated as part-time employees, and the quota generated should be proportionately reduced. I have very limited scope to create any ESG or PSG as we do not have any distinct emplyee sub-groups maintained for full-time and part-time employees and the project has already gone-live with payroll/time. It is worth mentioning over here that we are recording absence through ESS and it takes into account the daily planned working time maintained in IT0007, so we are very particular to keep it as accurate as possible.
    I would really appreciate if somebody can please suggest any possible solution for the above issue, or guide me on what would be the best way to tackle it. I can give more details in case anybody need to have a better understanding of the issue to suggest a solution.
    Thanks in advance
    Sujit

    Hi Kathy,
    Yes, i have found the solution to it. I do not know whether it will fit into your situation or not, but i got two solutions for my issue mentioned above, please check it may help:
    1) To use capacity utilization field in IT0008 to get the FTE hours and defining the reduction rule of absence quota based on the capacity utilazation percentage.
    2) There are three user exits available in the standard report RPTQTA00, i have used one of them to write my own rules for the calculations (deduction rule)
    Do let me know if i can help you in any respect. Thanks.
    Regards,
    Sujit

  • Error when create Infotype 0007-Planned Working Time of Personnel data

    Hi Experts,
    I'm creating Infotype 0007-Planned Working Time for Personnel data then having a error below.( I created Work schedule rule and Gennerated it).
    Feature structure cannot be recognized, please see documentation
    Message no. P0568
    Diagnosis
    Cause 1:
    The structure of the feature is not saved in the feature directory.
    Cause 2:
    The feature structure is not defined in the program that reads the feature.
    Cause 3:
    The feature that the program expects does not match the actual feature structure.
    Procedure
    Cause 1:
    Please advise your system administrator that all features must be regenerated. Please note that this generation must take place in client 000 first, and then in all other clients (report RPUMKF00 or the Generation function in the feature maintenance transaction (transaction PE03)).
    Cause 2:
    The feature structure must always be defined in the program reading the feature (see documentation for program RPUMKC00).
    Cause 3:
    Please contact your system administrator
    I did using T.Code PE03 in Client 000 but I don't know what is Features?
    Please tell me how solves it ?
    Thanks so much.
    Dungnv

    infotype 0007 reads two features
    SCHKZ  - Default value for Shift indicator
    TMSTA     DEFAULT VALUE FOR TIME MANAGEMENT STATUS
    Please have a look at both these features

  • Number of weekly working hours 48 exceeded error in Planned Working Time

    Hi,
    I have a group of employees called labors who work all 7 days a week, 10 hours a day so I have created the work schedule accordingly. When I maintain the Planned Working Time infotype, the system gives a warning message "Number of weekly working hours 48 exceeded". In table T77S0, value of PERCK is set to D & DAYWK is set to 700. Please guide me to solve the problem

    Hi,
    VJ for which country are you implementing this? Some countries have regulations that a person's working time may not exceed XX hours.
    cheers
    Ajay

  • No infotype record 0007(Planned working time) on 03/07/2011

    Hi,
    In our scenario, Time sheet is integrated with work order and while submiting we are getting an error :
        "No infotype record 0007(Planned working time) on 03/07/2011".
    Where as I checked infotype 0007 but it is maitained with proper data.
    Please suggest what could have gone wrong and why this error is coming?

    I am assuming 03/07/2011 in your problem refers to March 07, 2011.
    Please check: Has the work schedule in IT 0007 been generated? Check transaction PT03 in your production system and see if you can display the work schedule for the month.
    If it has not been generated, you will need to generate it for the month.
    If it has been generated, please check the details for the day in question (03/07/2011). Please make sure that the DWS and PWS are all consistent with the configured values. Run teams, too often, try and create different schedules by changing the DWS value in a PT01 run.

  • MRS 700 planning board alternative working schedule

    Hi MRS-colleagues,
    There is a button in the planning board "alternative working schedule. If I highlight one resource, Ican define an alternative working schedule for this resource, based on a period HR-subtype and daily working schedule.
    My question is, if you assign this alternative working schedule to a resource, then the display and calculation of the availibility will be changed for the respective period. A business case for this could be, that you have to schedule more work to a technician than his availibility allows. The benefit compared to a attendance time allocation is, that you can create a daily work schdule and assign it for a period instead of creating attendances manually. Is that correct?
    Do you have guuys have some practical cases, where this functionality is used? Are there any "bad consequences" of the usage and can I just use it permanently and then remove the "transfer availiblity" tag from the HR Transfer report?
    BR
    Olaf

    Hi,
    As you said the purpose of alernative workschedule and the HR report are same. There are no impacts if you use this button. Apart from the actual workschedule if you want to assign some more work to a technician you can do through this. This will not greyed out the planningboard for that period. on the top of availability in the gantt chart, it will be appear as a bar to identify the type of work you has assigned.
    Regards
    Satish

  • TS4510 i5 ios 6.1 do not disturb, its working all time, not follow schedule.

    My i5 ios 6.1 hv problem with do not disturb, its working all time, not follow schedule.

    agility-gordons wrote:
    any fix in the works?
    No one here would have any way of knowing.  Apple rarely announces plans for future updates.

  • Infotype "Planned Working Time";

    hi gurus,
    i need to create a report to check infotype "planned working time"
    and to check if workschedule exists
    please let me know how to go bout its logic.
    thanks in advance.
    anuj

    to check for the work schedule status
    you just need to hit 1 field for selection crteria and ie,pa0007-schkz Work Schedule Rule .
    and the given below code  can get you what you want
    tables:pa0007.
    parameter:p_pernr like pa0007-pernr.
    data: itab type table of p0007 with header line.
    start-of-selection.
      select * from pa0007
      into corresponding fields of table itab where pernr = p_pernr.
    if itab-schkz = ''.
        message 'data is not  maintained' type 'E'.
    else.
    loop at itab.
      write:/ itab-pernr, itab-schkz.
    endloop.
    endif.
    hope this will solve your problem
    thankx
    bhanu....

  • How to fix an error  (related to work schedule rule) in Time evaluation ?

    Hi experts,
    I am getting an error while running time evaluation - PT60.
    Find the log
    Log:TimeEvaluation                                                                                General data                                                                       
    Schema ZM04 Time Evaluation Without Clock Times
    00753402 Christoudas Natalie
    Customizing error in work schedule rule 1 VM 01 5MTWTF Person rejected: 00753402
    How to fix it? Its urgent.
    Be assured of points for useful answers.
    Rajesh

    Hi All,
    I have checked work schedules and work sc. rules. everything looks fine. Reason being fine, same work schrdule rule, i.e. 5MTWTF is used for other employees, whose payroll area, personnel area, personnel subarea, employee group and employee subgroups are same.
    Why it is throwing error for one employee 753402.
    I am providing you more information. In table V_T569r, if u select recalculation category as time evaluation, it is mentioned as 01.01.2003. Initially, one action called "Conversion take on" has been maintained as on 01.03.2002, where employee had payroll area -99 (payroll irrelevant) and personnel subarea - DAYY.
    Then on 17.03.2008, another action ran "Conversion initial reassignment" where payroll area changed to "MT - monthly", subarea changed to DAYF. At that time PDC recalculation date in infotype 0003 was 01.03.2002 which was before recalculation date, i.e. 01.01.2003.
    Time evaluation was throwing 2 error messages. one was solved by changing PDC recaluation date to 17.03.2008. But other error related to work sc rule 1 VM 01 5MTWTF still occurs. 
    Can some body now provide some useful information?
    Thanks
    Rajesh

  • Calculating the planned delivery time in calendar days or working days

    Hi,
    It seems that there is a way to calculate the planned delivery time in calendar days instead of working days.
    When I use the "Planned delivery time calculation" (WPDTC), in Evaluation Options, I got the message :
    "Note that follow-on applications are currently interpreting the planned delivery time as calendar days.
    If they should be interpreting the planned delivery time as working days, you need to modify these applications. If the planned delivery time should be calculated in working days, there needs to be a factory calendar in Customizing with the calendar ID Country of vendor."
    When MRP create a PR -with MDBT, MD03 or MD01- I want my Planned delivery time to be in working days.
    I can't manage to make that "If the planned delivery time should be calculated in working days, there needs to be a factory calendar in Customizing with the calendar ID Country of vendor."
    I would appreciate your help.
    Thanks
    PYR

    Hi,
    I understand that it makes sense that vendors calendar has to be different (compared to my plant).
    But, I still don't understand why in the SAP help, they say "If the planned delivery time should be calculated in working days, there needs to be a factory calendar in Customizing with the calendar ID Country of vendor."
    It seems that planned delivery time may follow a calendar.
    Thanks,
    PYR

Maybe you are looking for

  • Select query taking too much time to fetch data from pool table a005

    Dear all, I am using 2 pool table a005 and a006 in my program. I am using select query to fetch data from these table. i.e. example is mentioned below. select * from a005 into table t_a005 for all entries in it_itab                    where vkorg in

  • Network drives randomly disconnecting, unable to reconnect

    I have been having an issue with network drives randomly disconnecting. When I try and reconnect using the Connect to Server dialog, the share is greyed out. My current workaround has been to open up terminal and run umount /Volume/Share_Name, and I

  • Color tint shifts constantly during isight recording

    I recently updated from a 13" aluminum MacBook to a 13" MacBook Pro. When I record the video of the isight camera, the lighting color constantly shifts from red to green to red etc. Very annoying. It didn't do this with my 1 year old MacBook. The Mac

  • Not starting BIOS

    I have a problem with my HP HDX16 ..i won't boot from bios...apppear this image and then i press esc or f8 or f9 the only available command say paused...or doing nothing for hours..what happens?just reinstal my OS two weeks ago...  my model is HP HD

  • Multiple Groups display ion same line

    Hi I have an XML template where there 4 groups. Currently it is displaying each group on each line. But I want on the same line all of the groups except the first one. How to accomplish this. current format G_Buyer: Buyer_name G_Vendor: Vendor Name G