Employees who are 21 years of age or over AND work 35 hours or more a week

Hi,
I need to extract the employee details who are 21 years of age or over AND work 35 hours or more a week.
Where can i find the weekly working hours?

Thanks Yuvraj....
I queried as below to find the working hours..(in my instance HXT_TIMECARDS table is null)
SELECT COUNT (ppf2.person_id)
FROM per_all_people_f ppf2,
per_all_assignments_f paaf2,
pay_all_payrolls_f pay2
WHERE TRUNC ((SYSDATE - (ppf2.date_of_birth)) / 365) > 21
AND ppf2.business_group_id = 1646
AND ppf2.person_id = paaf2.person_id
AND ppf2.business_group_id = paaf2.business_group_id
AND paaf2.frequency = 'W'
AND paaf2.normal_hours > 35
AND TRUNC (SYSDATE) BETWEEN ppf2.effective_start_date
AND ppf2.effective_end_date
AND TRUNC (SYSDATE) BETWEEN paaf2.effective_start_date
AND paaf2.effective_end_date
AND ppf2.business_group_id = pay2.business_group_id
AND pay2.payroll_id = paaf2.payroll_id
AND TO_DATE (:p_date, 'DD_MON-YYYY') BETWEEN pay2.effective_start_date
AND pay2.effective_end_date
Actually my business requirement z to find count of employees who are 21 years of age or over AND work 35 hours or more a week and i need to use d parameter 'reporting dtae' Reporting date is used to determine the payroll period date..
so i passed d parameter b/w effe.strtdate nd eff.end dt of payroll table is that right?
Thanks,
Vijay

Similar Messages

  • How to find employees who are missing a particular infotype?

    I am trying to find people who are missing IT 0023 (Previous employer) and IT 0094 (Residence status). How do I find the employees who are missing infotypes. I can easily find people with those infotypes.
    Thanks
    Manish

    Hi
    will give you a hint using data analysis perspective, hope it might be useful for you.
    in data analysis you can get total number of employees (personnel numbers) who have certain characteristics (active employee for example) from PA0000 and then you can compare vs number of employees (personnel numbers) in the record infotypes you want to check.
    download records from PA0023 an PA0094. you may process the data using pivot table. then you can compare which personnel number does not have record in related infotypes.
    use tcode SE16 Data Browser or use sap query
    Edited by: dhenny  muliawaty on Mar 15, 2011 4:52 PM

  • Can employees who are only Approvers have a Blank Cost Center?If Yes..please read

    Can employees who are only Approvers have a Blank Cost Center?
    If Yes, how do we populate the dummy value in T&E if it's not part of our Master Data Cost Center feed.
    Regards
    Sunder

    Hi Sunder,
    The BAdI that needs to be implemented is OTM_EMPL_ORG_ASSIGNMENT, provided you use the new IDOC ODT_EMPL and report OTM_TRIGGER_EMPL_REPL_CE. (For the old IDOC there is a similar BAdI HROTM_EMPL_ORGANIZATION_FILTER.)
    If you already implemented the BAdI in ERP to add the dummy cost center assignment to the employee you just need to create the dummy cost center in CfTE.
    This can be done under
         Master Data Replication -> Manual Replication -> Cost Centers
    There you just can create a file and fill it manually directly within the transaction. Then it needs to be processes and afterwards you should go to the Import Monitor for Cost Centers and Click on button Replicate All. If you filled everything correctly after some minutes the dummy cost center should be created. You can control this under Display -> Cost Centers in the adminstrator cockpit.
    Best regards, Reinhard

  • Does a teacher and student who are homeschooling qualify for the student and teacher pricing?

    Trying to determine if a student and teacher who are homeschooling qualify for the student and teacher rate.

    I believe the school/institution has to be one approved by Adobe.  See the following page for some basic criteria:
    Student software discounts, student eligibility | Adobe
    It does address homeschooling - Homeschool — defined by state homeschooling regulations

  • How many sign-on's are included when I purchase Photoshop and Illustrator? Can more than one person have access on separate computers?

    How many sign-on's are included when I purchase Photoshop and Illustrator? Can more than one person have access on separate computers?

    You have 2 activations and the licenses is tied to you personally and you only. You cannot let other people use your software (unless they are family).
    Mylenium

  • PI Export(PI_INRUN) - picking up few extra employees who are not suppose to

    Hi,
    PI Export - ADDL_PAY_DATA Data Export through PI Export.
    I am exporting ADDL_PAY_DATA Data through PI Export Process for earning codes defined in Definition Table.
    PI Process picking up few extra employees in export file who are not suppose to be in export file.
    Export File has following fields.
    Company - From Custom View based on JOB
    Branch - From Custom View based on JOB
    Department (RC) - From Custom View based on JOB
    Empl ID - From ADDL_PAY_DATA
    REGALLOW - From ADDL_PAY_DATA for Earning Code
    AUTOALLOW - From ADDL_PAY_DATA for Earning Code
    LIEU BEN - From ADDL_PAY_DATA for Earning Code
    NON TAX - From ADDL_PAY_DATA for Earning Code
    Thanks in advance for your help.
    Regards,
    Shanti Nagulapalli.

    bnjr86 wrote:  There have been times when I've walked in there, that I really don't want to deal with VZW anymore and just take my business elsewhere.
    I  wonder if another provider would really be much different?  Read some of the other carrier forums - seems to be the same story everywhere.
    I'm not disagreeing with you - I've found that I am usually more informed about Verizon policies and procedures than some of the reps in our local store.

  • ABAP Query to display top 5 employees who are having highest salary

    How will you write a query in abap to display top 5 emplyeee records who are having Highest Salary Among all the employees.
    Please Reply...

    Hi Kush,
    Before writing any Database Query, always keep 2 important thumb rules in your mind :
    1. Keep the number of data base access small
    2. Keep the amount of data transfer small.
    As you mentioned the Database Table has only 100 records, you can locally buffer the Table. So, make a local buffering and then you can sort the table based on the salary.
    Select *
      from Table_name
    into table gt_itab.
    Sort gt_itab by salary descending.
    Now you can read the  entries one after the another based on the index.
    Have a look at the following code for an efficient performance feature. Goto SE38 and have a look at the ABAP Examples.
    demo_select_some_columns. Package : SABAPDEMOS
    Hope this will help.
    Thanks,
    Samantak.

  • Query to find employees who are managers for 3 or more employees

    Hi,
    I am using emp table in scott schema for this query.
    select * from emp
    where empno in
    (select e.mgr
    from emp e, emp m
    where e.mgr = m.empno
    group by e.mgr
    having count(*) >= 3);
    It gives all employee details where he is manager for more than or equal 3 employees. Please suggest all possible queries which gives same output.
    Thanks
    Raghu

    select * from emp
    select a.empno, a.ename , a.mgr, b.ename reported_to
    from emp a, emp b
    where a.mgr = b.empno
    --start with keyword
    SELECT empno, ename, mgr, LEVEL
    FROM emp
    START WITH empno = 7788
    CONNECT BY PRIOR empno = mgr
    ORDER siblings BY ename;
    -- employee reported to
    SELECT ename || ' reports to ' ||
    PRIOR ename "Walk Top Down"
    FROM emp
    START WITH ename = 'KING'
    CONNECT BY PRIOR empno = mgr
    -- use of PRIOR in different places
    SELECT ename || ' reports to ' ||
    PRIOR ename "Walk Top Down"
    FROM emp
    START WITH ename = 'KING' --'SCOTT'
    CONNECT BY PRIOR empno = mgr
    -- using prior type 2
    SELECT ename || ' reports to ' ||
    PRIOR ename "Walk Top Down"
    FROM emp
    START WITH ename = 'CLARK' --'SCOTT'
    CONNECT BY empno = PRIOR mgr
    -- top down
    SELECT empno, ename, job, mgr
    FROM emp
    START WITH ename = 'SMITH'
    CONNECT BY PRIOR mgr = empno ;
    -- bottom up
    SELECT empno, ename, job, mgr
    FROM emp
    START WITH ename = 'SMITH'
    CONNECT BY PRIOR empno = mgr ;
    --level chart
    SELECT LPAD(ename, LENGTH(ename) + (LEVEL * 2 ) - 1, '_ '), level
    AS org_chart
    FROM emp
    START WITH ename='KING' --'SCOTT'
    CONNECT BY PRIOR empno = mgr
    --Using WHERE clause to eliminate a node.
    SELECT deptno, empno,ename, job, sal
    FROM emp
    WHERE ename != 'FORD'
    START WITH mgr IS NULL
    CONNECT BY PRIOR empno = mgr;
    -- Using CONNECT BY clause to eliminate a branch.
    SELECT deptno, empno,ename, job, sal
    FROM emp
    START WITH mgr IS NULL
    CONNECT BY PRIOR empno = mgr
    AND ename != 'FORD'
    SELECT EName "Employee",
    LEVEL,
    SYS_CONNECT_BY_PATH(ename, ' /') "Path"
    FROM emp
    START WITH mgr is null
    CONNECT BY PRIOR empno = mgr;
    -- 10g features
    -- connect by isleaf
    Select Ename "Employee", Connect_by_isleaf "IsLeaf", Level,
    Sys_connect_by_path (Ename, ' /') "Path"
    From Emp
    Start With Mgr Is Null
    Connect By Prior Empno = Mgr;
    -- connect by iscycle
    SELECT EName "Employee",
    CONNECT_BY_ISLEAF "IsLeaf",
    CONNECT_BY_ISCYCLE "IsCycle",
    LEVEL,
    SYS_CONNECT_BY_PATH(ename, ' /') "Path"
    FROM emp
    START WITH mgr is null
    CONNECT BY nocycle prior empno = mgr;
    -- connect by root
    SELECT ename "Employee", CONNECT_BY_ROOT ename "Manager",
    LEVEL-1 "Pathlen", SYS_CONNECT_BY_PATH(ename, '/') "Path"
    FROM emp
    WHERE LEVEL > 1 and deptno = 10
    CONNECT BY PRIOR empno = mgr;

  • My answer to the friends  who are helping me,but it doesn't work........

    its not working...
    what I did is.....
    I start I tunes ,make connection with IPAD,(hear a signe ) but cannot see on my screen(pc-screen)where the IPAD is ????
    I see only an externe disk and a dvd .......but NO   IPAD
    Ican see up( in the corner)...."I PAD".....I click on it ,and click on "photo's"...
    Then I remove de little"v" by syncronisatie".....and "foto's out "
    I click on "synchroniseren"and thats it ...."
    After this there is nothing anymore;;;;;
    You can help me (maybe) with desings or fhoto's where i can SEE it what i have to do.....or a clear explication in Netherlands or french.....
    What means the words;"synced" and "Photos app" re-sync"?And what means :it:"move/remove/de-select;" in slow motion ....and with more explaining words....
    I'm 70 jrs old ,not good in english and not good in I pads
    of cource it is not easy to work with a IPAD 1 when there is'n an explication in your own language
    Thanks !! and I 'm waiting for more help 
    ANNA-LOUISA

    It makes things easier if you reply on your original thread rather than starting a new one - you should see a 'reply' button at the bottom of each post.
    How did the photos get onto your iPad e.g. were they copied to the iPad from your computer ? If not then you should be able to delete them directly in the Photos app on your iPad. If they were copied from your computer then they are removed from the iPad using the same process as you used to put them onto the iPad :
    Connect the iPad to your computer and select it on the left-hand sidebar (if you are using iTunes 11 on your PC then control-s should get the sidebar to show) :
    On the right-hand side of the iTunes screen select the Photos tab :
    If you just want to remove some folders/albums that you had copied from your computer then de-select them on the list :
    If you want to remove all photos that you had copied to your iPad from your computer then select and sync a folder that doesn't have any photos in it :

  • Get employees salary and worked hours history

    Hi guys,
    I am currently trying to model a control that we would like to implement. In short, we would like to check whether in the past, employees that worked less than a given amount of time per month (say X hours a month) did not receive any salary for that month.
    I struggle to find the appropriate reports that would allow me to do this.
    I saw that the report RPLEHSU0 can display the salary history, but I'm not sure whether this corresponds to the actual monthly wage of each employee.
    Could someome highlight what specific SAP reports would provide me these information?
    Thank you.
    Regards,
    François.

    I think what you need is the data from payroll results. That is only way you can determine if employee has been "paid". IT8 may have a dollar amount but this does not mean employee got paid. Are you using time evaluation and payroll..? You can develop a custom report...to read payroll results...you have to read actual hours worked...and compare with target...and then see if employee has any payment for the corresponding payroll period (s).
    I don't know if there is a one single standard report for this. You can get this in individual reports - get actual hours worked you can use PT_BAL00 which gives the hours worked provided your time evaluation is generating time types/time wage types for hours worked. You can use payroll wage type reporter to get the payment information for a given payroll period...you still have to combine these two to get your final report.

  • Is there a way to import someone else's webhelp project so that I can take over and work on it?

    Someone has worked on a webhelp project using robohelp, but now I am taking it over.  Is there a way to transfer or import her work so that I can work on it, so I don't have to start from scratch and copy her work? 

    Correct me if I'm wrong, but I thought Peter's site contains an article on opening corrupt RH projects only: http://www.grainge.org/pages/authoring/opening/opening_projects.htm
    If you only have a WebHelp output, the steps for recreating a project from an output are listed on Rick's site: http://www.robowizard.com/RoboWizard/MonthlyScry/062004.htm
    The paid method is outlined on http://wvanweelden.eu/product/reverse-engineer-robohelp-project-robohelp-89-webhelp-incl-p ro-output. (Note that this is the one for help created with Robo 8/9. Different versions require a different version of the script.)
    Greet,
    Willam

  • I have been happily using Firefox for years. I soneloaded 5 and after hours of agony deleted Firefox and am using IE. I have tried to download FF 4 but your system won't let me. So either you get me 4 back or I will stay with IE.

    IYou have not intergrated with Yahoo's toolbar and that is a problem for me. My mail will not open. It is only one of many pages, which when I click on, crashes your entire system. In short, nothig works.

    Hi David,
    Thank you for your detailed question. It sounds like the real issue is pdf files. Are there any antivirus/firewalls that might be blocking this specific file type? or are there any preferences in your control panel that might be blocking this?
    Do you have any stored preferences for PDF files in Firefox?
    *[[Applications panel - Set how Firefox handles different types of files]]

  • So who here has Boot Camp fully up and working in Windows 7 Beta 7077 x64 ?

    I've seen lots of guides and everything for installing Windows 7 on apple laptops but they are all very general and do not address this specific issue.
    Personally I've had no problems whatsoever with Windows 7 Beta up until build 7068, but after upgrading to build 7077, I've noticed that despite the Kbdmgr.exe process still running in the background, there's no icon in the system tray.
    Because the bootcamp application isn't working properly I cannot configure my trackpad's multitouch features, nor use any of the keyboard shortcuts like changing volume or screen brightness.
    Looking in device manager it looks like the drivers are all there and installed, I still see "Apple multi-touch mouse" or whatever its called, as well as the webcam etc (which works), but its simply the boot camp software.
    So, has anyone actually got this specific configuration working? Also remember this is 64-bit not 32-bit.

    Upgrade or clean install?
    Microsoft blocks installing Apple services with 7077. And whenever you want to install drivers, use the Troubleshoot Compatibility (control + click).
    I don't have a laptop to try with. My guess, and only a guess, is that any drivers will come with 7 and from Microsoft Windows Update. Either pre-install download from the internet as part of the install, or from normal install, or an update (optional updates available). Lastely, sometimes I've seen those "Alert notices" with links to Intel and other drivers (though even these now seem to be getting included).
    While 7077 runs well, it is unreleased and not a supported build, RC is still weeks away, and some things that worked before don't now. 7068 seemed better than 7000 public beta, but I had more than a couple problems. I did clean install, and have kept 3rd party drivers to a minimum. Applications as well. And nothing from Apple. iTunes 8.1.1 x64 wiped out my optical drives (one internal, one external) in 7068 and never was able even after trying to uninstall "GEAR" drivers. So I'm not tempting fate again.
    If May 5 is RC day, I'd just hold out if you can.

  • ATV 2 stopped working. The connections are good, the remote is paired and working, but the menus come and go off sporadically, and the white light just blinks continuously.

    I bought ATV 2 about two weeks ago.  The setup was easy and I set up my Home Sharing, screensavers, and I was watching Netflix within about 20 minutes.  I had a good week of no trouble and enjoyed the device immensely.  I updated the software when prompted and continued to watch movies and play music.  Then something happened: in the middle of viewing, ATV 2 stopped working, the screen went blank, and the little white light started blinking slowly.  When this happens, the ATV manual "troubleshooting" section merely says, "Apple TV is having problems."  ***?  Strangely, it would come on and act fine for a few moments as if nothing happended (for only a minute or two), then click off again.
    I attempted to RESET the device by using the Down/Menu combo -- nothing -- the white light blinks really fast but still no picture on the TV (just the Apple logo); I unplugged it and plugged it back in -- no fix; then, I RESTORED the device and had to re-enter Apple and Netflix account info, passwords, set up shared photo folders, etc.  Afterwards, it worked.  I watched movies right where I left off and went on with life until a few days ago when I wanted to finish a movie... The movie was going fine - no problems at all - until ATV 2 stopped working again! 
    So, the remote works [it is paired and sends commands as it should], the HDMI connection to HDTV is fine, the stereo receiver connection is fine (for audio, using an optical cable).  But the only thing on the TV is the Apple logo.  Resetting ATV 2 doesn't work; and I could restore it again but that seems like a HUGE waste of time, and something I am not prepared to do each time I want to use the device. 
    What could be the cause?  Wireless interferrence, software/update flaws, need for firmware, or malfunctioning hardware?   ATV 2 is a $100 paperweight until I get answers.

    After some sleuthing online, reading a compilation of Q&As here, and visiting the local Apple Store, I think the problem and "solution" may be found in HOW my ATV2 is connected to my stereo.  For some reason that I have not figured out, when the RECEIVER either switches from one setting to another, it somehow disrupts the ATV.
    The ORDER of how you turn ATV on and off is key.  If you start with everything OFF (ATV, HDTV, stereo Receiver), then turn on the receiver, then turn the HDTV, put the TV to the input setting that is connected to the ATV, THEN turn on the ATV by hitting the Play button on the remote. 
    Note: The ATV light may come on once the HDTV is turned on and put to the correct setting, but you will not see a picture on your TV yet.
    You should be up and running on ATV (without having to reset, unplug or restore). Apparently, I was using my universal remote that essentially turned everything (HDTV, Onkyo Receiver and, by extension, the ATV) on at the same time, confusing ATV and causing that evil blinking white light.  The ATV connection was lost.
    When you are done with ATV, you must put ATV to sleep FIRST... each time. The command is on the main menu, to the far right, at the bottom [Sleep Now].  Once you press Sleep Now, the ATV will go off.  THEN you can turn your receiver/HDTV off (or to whatever other setting you want for watching regular tv, music, etc.).  I was simply switching my HDTV and Receiver 'away' from ATV when I was done... But I would return to a blinking light and no ATV.  The solution above is a work-around that seems to do the trick.
    The thing Apple needs to fix is to make the "Sleep Now" command a simple process on the remote so you don't have to back out of everything you were watching to get to the main menu for the Sleep Now command. Or in the next update Apple merely needs to improve ATV2 so it can work no matter what order you open or close it on a HDTV/Stereo. 
    Note: Other people have suggested that you just hit the select or Menu button to put ATV to sleep, but that did NOT work for me.
    I figured this out through trial and error so I hope it works for you too.

  • Task appearing for users who are not subordinates

    Hi All,
    I have an issue where user is getting approval messages for employees who are not his subordinates.
    I have checked the org structure, everything appears to be ok.
    Can anyone help.

    Dear Deepali,
    Kindly check the workflow settings for your approval process.
    Good Luck.
    Om.

Maybe you are looking for

  • What's new in 6.0.4???/

    Could someone tell me what all is new in this version? Thanks alot!!!!

  • IPod Touch 3rd gen 32gb randomly hides podcasts/music

    About once a month or so I will leave the house with my iPod Touch and find all my podcasts and music missing! When I tap the music tab there is a message in Japanese saying "You have no podcasts/music". So when I get home I have to either restore fr

  • Adobe reader logo on file preview instead of actual preview of pic of scanned item

    when I scan a pic into pc & SAVE it as a pdf, how it is viewed in my file explorer files ("my computer") is w an ADOBE logo. I want to view actual file (actual pic). For example, When I open MY COMPUTER to go into MY DOCS, I see the new scan but it i

  • Nokia 520 switch on button not working

    Ive had a Nokia 520 for only 4 months and its broken as the switch on button does not light up the phone all other aspects of the phone are working.....3 are not interested and are still taking monthly payments for a phone I cant use unless someone c

  • Powerline Adapters- a confusing problem -

    So I've got BT infinity, black box, 2 black powerline adapters. Tv is working fine, so is internet,  and phone line too. but only one of the powerline adapters have 3 lights and the other has one (ethernet) no status etc. please help ? is this an iss