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....

Similar Messages

  • 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

  • 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.

  • 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

  • Start of planned working time in Time Statement

    Hi experts,
    I have a issue with Time Statement Form, the problem is that i don't know how to make appear sobeg (Start of planned working time) and soend (End of planned working time)
    ¿Does anybody know how to solve this?
    Regards,
    dpungitore.

    WPBP is a clauster table which contains the combined data from Infotypes 0, 1, 7, 8 and 27. Hence it also have IT0007 data. You can check the same in cluster results. In WPBP same field is named as DIVGV (Working Hours per Payroll Period) which you can use.
    But i i am not sure why it is not wrking with P0007. Can u pls check if you have an entry in T514K as P0007 for your molga.
    Also pls check the 'Output length' in the change single field screen.
    I have tried with WPBP - DIVGV with output length 10 just to simulate your scenario and it works for me.

  • How to make Planned working time Override Substitution ?

    Dear Friends,
    The User wants to make Planned working time to always OVERRIDE / PREVELANT on substition.
    Is it possible ?
    Thanks,
    Sri

    Dear Friends,
    The User wants to make Planned working time to always OVERRIDE / PREVELANT on substition.
    Is it possible ?
    Thanks,
    Sri

  • Op PPINC, attendance reason, over or above planned working time frame.

    Hi all,
    We need to automatically generate attendances/absences from the att/abs reasons from time events. So we are using TD80 rule and V_T705A.
    It works OK for almost all cases, except when the attendance is over or above the planned working time frame.
    I've read TD80, R555D, PPINC, PPINU help, and I can't find the solution.
    i.e. working time is from 12 to 7pm hs. and the employee was present from 8 am to 7 pm, so i need to generete an attendance from 8 am to 12.
    Any help?
    Thanks a lot.
    Laura

    we need to automatically generate (through time evaluation, using td80 rule and V_T705A table), attendances/absences (it2002 and it2001) from the att/abs reasons from time events (it2011).
    We are already doing this, for attendances /absences within the planned working time frame and it's working OK.
    The problem is that, when the attendance is over or above the planned working time frame, stdandard function send an error message:
    u201CError entry no. 28 Error when generating abs./att.
    02.05.2011 Processing terminated for EE 00000077 RUBEN ALFONS QUIROGA MAYAu201D.
    I understand, this control must exists for abscences outside the working time frame, but it seems not to be logical for attendances (it can be  done through PA61).
    Example:
    Working time for an employee is from 1 pm to 7pm hs.
    The employee was present from 8 am to 7 pm, so we need to generate an attendance (it2002) from 8 am to 1 pm.
    The system allows to do this, through standard transaction PA61, so, I think it should be possible to do the same, using time evaluation too.
    Iu2019ve already tried with the different variables for operations R555D, PIPNC y PPINU, but I could not find a combination that works properly for this case.
    Besides, help documentation about PPINU function says u201CABSENCES of less than one day are never generated over and above the planned
    working time frame. It would not be possible to enter these records online either.u201D
    But unfortunally, it says nothing about ATTENDANCES over and above the planned working time frame.
    Hope I have clarified.
    Thanks a lot!!
    Laura

  • 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.

  • 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."

  • ShiftSubstitution(2003) / Planned working Time(0007)

    Hello Evryone,
    Our client side , employees will come different shifts ,so every week they have to change the shifts and the manager will assign shifts through portal.
    So my question is where we have to assign or change shifts in 0007 infotype or 2003 infotype .
    we are not going to maintain shift rotating we have generated all shifts according to their timings these work schedule manager will use to change shifts for thier employees
    So how to do in which infotype manager can assign shifts
    0007 or 2003???
    which is correct\
    thanks in advance
    nitu

    They have to choose IT 0007....
    Each shift to be recognised as a normal shift and values to be populated in IT 0007 so that the capacity level passes to IT 0008 for payroll..
    Yes, Manager should maintain this for every employee whom he wants to work in  a particular shift.. Hope yr portal has such a facility.. cos MSS has this facility wherein Manager can choose employees reporting to him...
    Once the manager chooses the shift for every employee and saves the record, the details should get synchronised into SAP system (for this check with your portal guys.. they should help u on this)..
    2nd option : once the manager saves the record, an e-mail can be generated to the Time Administrator and he needs to maintain the shift under work schedule manually... this is not recommended as it is a tedious process..
    Regards,
    Nima

  • User exit (PBO) does not work for IT0107 (Planned working time Belgium)

    Hello,
    I have written a simple code in program ZXPADU01 in order to default a field of IT0107 (part of IT0007 for Belgium). However, my field is not defaulted to the correct value.
    The problem seems to be a
    CLEAR P0107
    statement in module "default" of dynpro MP010700 (screen 0100):
      if psyst-ioper = insert and PSYST-IINIT = YES.          "XEOPH0K010351
        clear p0107.
        SELECT SINGLE * FROM T5B9G WHERE PERSG = P0001-PERSG
                                   AND   PERSK = P0001-PERSK.
        IF SY-SUBRC NE 0.
          CLEAR T5B9G.
        ENDIF.
        IF p0107-BESTE IS INITIAL.      "RIB12Jun01
          PERFORM READ_BESTE USING p0107-BESTE.
          IF p0107-BESTE EQ SPACE OR 549BRC NE 0.
            p0107-BESTE = T5B9G-BESTE.
          ENDIF.
        ENDIF.                          "RIB12Jun01
        IF p0107-BERGM IS INITIAL.      "RIB12Jun01
          PERFORM READ_BERGM USING p0107-BERGM.
          IF p0107-BERGM EQ SPACE OR 549BRC NE 0.
            p0107-BERGM = T5B9G-BERGM.
          ENDIF.
        ENDIF.                          "RIB12Jun01
        IF p0107-BEREG IS INITIAL.      "RIB12Jun01
          PERFORM READ_BEREG USING p0107-BEREG.
          IF p0107-BEREG EQ SPACE OR 549BRC NE 0.
            p0107-BEREG = T5B9G-BEREG.
          ENDIF.
        ENDIF.                          "RIB12Jun01
    *   Set defaults from features
        perform set_DefbyFeat using    p0007
                                    psyst-ioper
                                    psyst-iinit
                           CHANGING p0107.
      endif.
    Prior to the clear statement, table p0107 contains my default values, but the statement clears those values...
    Any idea how to solve this?
    Many thanks in advance!

    Problem is solved with OSS note 1376481.

  • Route of the PCR Request - Changing Working Time

    There is a standard 'PCR - Personnel Change Request' form  called 'Change Working Time' (SPWT) This change request enables managers to request that an employee’s work schedule rule and employment percentage be changed in the Planned Working Time infotype (0007). 
    What is the route of this request, i.e. HR for authorization? Directly to the infotype in R/3?
    Thanks

    Any ideas?

  • Working time...

    Hi,
    In IMG orgnization managment i found working time which is used for defaulting working times for organization unit,positions or work centers.
    so plz tell me what is the exact use of this & where can we see the effect of it.
    is it possible to use this setting instead of IT 0007 for assignment of planned working time to positions?????
    plz rply back.

    IT 1011 is working time infotype under OM.This is used for the organizational objects (organizational units, positions, work centers) in your enterprise, if you do not want to restrict working times with rule values. In this way, you can specify a specific working time for individual positions or organizational units and their subordinate organizational objects.
    You can define working times of subordinate positions according to the inheritance principle using organizational units. By defining work schedule groups, you can determine, according to which employee group or subtype a position belongs to, the working time that it is assigned.
    The advantage of this is that if the working time of several positions change, there is less data input if all the positions are assigned to a work schedule group.
    However you should use SCHKZ to assign work schedule to employee. This is helpful since you can make decision criterias as per your client need.
    Hope this help. Pls assign points if this helps you.
    Sanghamitra

  • 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

  • Time pair on Planned working hours 0

    I want to generate time pair for days where planned working hours is 0.  how can i do that do i have to write a rule to generate time pairs on day with hours 8 (fixed if it is a off day) because if anybody takes PL on off day and CL on off day then i have to generate 8 hours of attendance during time evaluation.  By default system is not generating any time pairs and hence i am not able to generate 8 hours.  Plz guide.

    I can generate time types but the problem is that time type will be a generic time type and will be applicable to all absence classes with operation VARST or OUTTP.  Until I have a time pair on a non working day and if that time pair is generated then it can be read using RTIPA OR PTIPA variables. 
    Otherise for every absence type it will generate 8 hours but I want 8 hours to be generated wtih PL and CL only.  If i give LOP or LWP then also system is generating 8 hours time type which is wrong.  So until I generate a time type for the off day i cannot read 2001 or TIME PAIR TABLE. 
    Kindly guide.

Maybe you are looking for

  • Enquiry on RMA for Cisco Products

    Hi, Recently i ran into some issue when processing a RMA for Cisco 3925 router. I've RMAed the chassis but the i got the part, it didnt have a system board. When i contacted Cisco, they mentioned that the system board can/must be RMAed separately. Is

  • Specify Pop Up list options via info given from another pop up list.

    Needing to allow someon to select a category from a pop up list, then a field within that category from another pop up list. Hoping that based off the first selection, I can limit the options in the second pop up list to only those applicable so that

  • How to run application on comp. with only jre installed?

    Hi guys! I've written an application and somebody wants to use it. I have an applet too but it does not have full functionality and slower. I am running applications from my desktop using shortcut on javaw.exe file located in jdk/bin folder. No probl

  • WebLogicServer Found undeclared property: url

    We get the following error while trying to create a connection pool using Type 2 driver. The properties file is also attached. Wed Oct 24 14:34:33 IST 2001:<W> <WebLogicServer> Found undeclared property: capacityIncrement Wed Oct 24 14:34:33 IST 2001

  • Drop down in a Table

    Hi All, I have a scenario where I need a drop down in table.It is binded to a context and should be populated with values(yes/no) from the context. But based on the data selected from the other columns it should default to yes or no. and then let use