Need support - Writing PCR (To find missing clock-in and clock-out)

Hi Gurus,
I need support on writing PCR on below scenario.
Scenario:
Need to determin missing clock-in and clock-out punches and generates LOP for the same.
Regards,
Raji

Hi,
In this case you need to build logic like the follow.
Assumptions: mulitiple time pairs are there.
First check employee present or not, then check data coming through time events or not then check first pair after that take HRS value as start time of first pair if yes store day balances in ABCD. in case of No check Last pair take end time store in as day balance BCDE. after that based on day balance values genearte wagetypes in another PCR.
Note: in same PCR you can store wage type aslo.

Similar Messages

  • Finding missed sequence numbers and rows from a fact table

    Finding missed sequence numbers and rows from a fact table
    Hi
    I am working on an OLAP date cube with the following schema:
    As you can see there is a fact transaction with two dimensions called cardNumber and Sequence. Card dimension contains about three million card numbers. 
    Sequence dimension contains a sequence number from 0 to 255. Fact transaction contains about 400 million transactions of those cards.
    Each transaction has a sequence number in 0 to 255 ranges. If sequence number of transactions of a card reaches to 255 the next transaction would get 0 as a sequence number.
    For example if a card has 1000 transactions then sequence numbers are as follows;
    Transaction 1 to transaction 256 with sequences from 0 to 255
    Transaction 257 to transaction 512 with sequences from 0 to 255
    Transaction 513 to transaction 768 with sequences from 0 to 255
    Transaction 769 to transaction 1000 with sequences from 0 to 231
    The problem is that:
    Sometimes there are several missed transactions. For example instead of sequence from 0 to 255, sequences are from 0 to 150 and then from 160 to 255. Here 10 transactions have been missed.
    How can I find all missed transactions of all cards with a MDX QUERY?
    I really appreciate for helps

    Thank you Liao
    I need to find missed numbers, In this scenario I want the query to tell the missed numbers are: 151,152,153,154,155,156,157,158,159
    Relative transactions are also missed, so I think it is impossible to get them by your MDX query
    Suppose this:
    date
    time
    sequence
    20140701
    23:22:00
    149
    20140701
    23:44:00
    150
    20140702
    8:30:00
    160
    20140702
    9:30:00
    161
    20140702
    11:30:00
    162
    20140702
    11:45:00
    163
    As you can see the sequence number of the last transaction at the 20140701 is 150
    We expecting that the first transaction of the next day should be 151 but it is 160. Those 10 transactions are totally missed and we just need to
    find missed sequence numbers

  • Clock in and clock out issue

    Hi All,
    I am looking for  a solution for the below issue. Please help me out
    Clock in and clock out details from third party terminal are stored in SAP in IT2011.
    My requirement is if the duration between first clock in and last clock out is less than 4 hours system should consider as LOP for that day.
    can you please let me know if I should a PCR or any other way.
    Regards
    Vish

    You can do as below:
    Normally time type 0000 is used for normal attendance hrs in time schema PCR's like TP09, TP10, TP11.
    Before CUMBT function, call a PCR using ACTIO to do as below:
    If the daily value is time type 0000 < 4.00, insert a w/t for LOP absence hrs for the day.  The hrs can be as per the business rules:
    a)from IT 7 -  provided IT 7 has the correct data from WSR and WSR is correct.
    HRS=IDAHRS           daily hrs 
    or
    HRS=IWEHRS  HRS/5    weekly hrs/5
    or
    b)from the DWS for that day
    HRS=S        -DWS hrs including any substitution
    See example below assuming 0000 time type for normal attendance hrs, 8001 time w/t for LOP hrs.
                 D   HRS=D0000    HRS?4
    <                HRS=IDAHRS  ADDZL8001
    In payroll,
    - Time w/t's from time eval are imported by ZLIT function (usually in XT00 sub schema).
    - PCR XPPF and its sub PCRs this w/t hrs can be used to reduce the partial pay factors e.g. /801 used to reduce the payments like basic pay, etc. 
    - PCR XVAL uses these factor w/t's to reduce the payments.

  • Is it possible to have Clock in and clock out times in weekly view

    Hi,
    We have Daily View and Weekly View in Record Working Time iview in ESS.We can set the Clock in and Clock out times in Daily view if we check the With Clock Times checkbox in Data Entry Profile.But we want to have same Clock in and Clock out in Weekly view without any developement.
    If it not possible thru config how much will be the Development Effort
    Thanks
    Bala Duvvuri

    Siddharth,
    can you please elaborate this
    Thanks
    Bala Duvvuri

  • Is it possible to have clock in and clock out in weekly view

    Hi,
    We have Daily View and Weekly View in Record Working Time iview in ESS.We can set the Clock in and Clock out times in Daily view if we check the With Clock Times checkbox in Data Entry Profile.But we want to have same Clock in and Clock out in Weekly view without any developement.
    If it not possible thru config how much will be the Development Effort
    Thanks
    Bala Duvvuri

    Hi Bala
    You can have clock in and clock out in a weekly view.
    you have to change the data entry profile settings.
    In general settings tab in data entry profile click the with clock times button and maintain the Period type to 02 in time settings tab.
    And you can view the weekly entry in clock in and clock out.
    Ravee
    +91.99206.33669

  • Time Report required to capture clock in and clock out.

    Hi All,
    We have requirement where in we need to present the following details in the report to the client:
    1) Clock in
    2) Clock out
    3) PLanned working hours
    Pls let me know if there is any standard report for the same or any sap query that can be copied and used.
    We are using negative time management with the Time management status as 7.
    Points would be awarded.
    Thanks,
    Deepali

    Hi Deepali,
    RPTCORDBVIEW (Display Clock-In/Out Corrections (Database)): You can use this report to view all information about the clock-in/out corrections that have been entered.
    Could you please follow the link bellow for more the details:-
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/79/e71940a65ec442e10000000a1550b0/frameset.htm
    Hope this info was helpful to you..
    Regards,
    Sagar.

  • My iPad has been stolen, I need some help with the Find my iPhone app and iCloud please

    Hello people.  I have (had) an iPad 1 (wifi only) - which was stolen two days ago.  It's locked with a passcode but I am worried that someone will be able to get into it.  I've got the Find app installed on my iPhone 4S and it shows that both my iPad and stolen iPod are offline.
    Q - if either the iPad or the iPod goes into an unlocked wifi area, will I be notified on my phone?
    Q - can anyone actually break into my iPad as it is locked?
    Q - how does iCloud work in terms of the info that's on my iPad - photos etc that I don't want to lose?
    Q - I've reported this to the police - does Apple need to know?
    I'd be very grateful for any advice, many thanks in advance

    What To Do If Your iDevice or Computer Is Lost Or Stolen
    If your Mac, iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should do in advance - before you lose it or it's stolen - and some things to do after the fact. Here are some suggestions:
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T, Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. Lost or Stolen iPhone? Here’s What to do
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on MobileMe
      3. OS X Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
    Third-party solutions for computers:
      1. VUWER 1.5.4
      2. Sneaky ******* 0.2.0
      3. Undercover 4.7
      4. LoJack for Laptops Premium Mac
      5. STEM 2.1
      6. MacPhoneHome 3.5

  • How do you find missing titles, effects, and generators in final cut pro x?

    Actually, that's only one of two questions...
    ONE
    When I attempt to export a movie, uncompressed, not through Compressor and not sharing to an Apple device, I get an error saying my Project has "missing or offline titles, effects, or generators."
    There is a little yellow warning triangle next to the project name.
    But there are no little yellow warning triangles next to anything in my libraries, and everything plays through in the Timeline.
    Before exporting, how can I identify the supposedly missing elements???
    TWO
    After attempting to export the same movie via the Share item to an iiPhone, i received a Quicktime Error: -50.
    Interpretation, please?

    I recently added a new plugin (mObject) and was experimenting with it. I decided to create a "temporary" library on my root drive since it's the fastest in my setup. I prefer to have major files like the library at the top level of my drives, and for the internal drive, that's outside my User folder. That's when all the trouble started.  I would manually start a render and FCPX would not stop... would not completely render the clip... I would get "dashed" orange render lines over the clip. The only way to stop the rendering was to add something new to the storyline (that includes going into background tasks and trying to stop or pause the rendering from there!)  Once I moved the library back into my user folder (and inside Movies), all the rendering problems stopped.
    The only connection I can make is that FCPX is getting hung up on user permissions and the "current user". A lot of these issues started when I upgraded to a new iMac and restored all my old software (from the previous iMac) from Time Machine. It made me alter my user name for the new machine and I had some segments on this new machine with the older user permissions which I had to manually change to the new username in many cases.
    If you have strict (user only) permissions on your RAID, try loosening them or make sure that you add your username to the list with read/write permissions. (? perhaps.)

  • Is there any way to speak with an actual person at verizon support. i could not find a phone number and the chat is always unavailable?

    is there anyway to speak with

    Dial *611 from a cell phone or (800) 922-0204; when you get the phone tree, press 4 for Other and say Agent.

  • TS1702 How can I get a refund for an app that I accidentally purchased. It's called "Flash Drive Pro". I was feeling sleepy while trying to find apps to download and try out. Can I get a refund?

    I accidentally downloaded a paid app, while laying down on my sofa and while fighting to stay awake. But I fell asleep and woke up just in time to see me press "Yes" on the "Are you sure" question (at least the way I remember it).
    Are all sales final, or can I get a refund?
    signed
    a big dummy.
    Ray Feliciano
    [email protected]

    You can plea your case here:
    http://www.apple.com/emea/support/itunes/contact.html

  • Clock-in and Clock out timings in ESS

    Hi,
    My client want to display the Clock-in Clock-out timings recorded at the terminal (we are not using CATS) to be displayed in ESS portal.Pleae let me know where (in which node) and how to do this.
    Thx
    J

    You can use Clock in clock out iview which is standard available in EHP5 too, It displays clock in events from Teven!
    ie 2011 infotype
    check here more
    http://help.sap.com/erp2005_ehp_05/helpdata/en/25/340b0507434193adbfe3f8fc8896c7/frameset.htm
    do the customisaiton in PTCOR trans code in backend!

  • I need to be able to find domain controllers that have been removed from the domain but never demoted

    I need to find domain controllers that have been removed but never demoted.
    Here's the story...
    I came on an Active Directory administrator for an organization which has 600+ domain controllers, most running Server 2003, but I have some Server 2008R2. Throughout all this time the organization has had DCs that have stopped working, crashed or failed
    for some reason and all the IT department has done is created another domain controller name it the same thing with an (A), (B) appended to the name and then never removed any of the failed controllers from the directory.
    Thing is this has been going on for quite some time, don’t know for sure how long as I am still trying to clean up DNS replication problems and have been having to go around and reset machine passwords for the forest. What I need to be able to do is to script
    something that will return all the failed DCs so that I can go into the directory and use NTDUTIL to clean the machines. I don’t want to go into the directory and remove a machine that’s still out there. No one in the organization has a list or record of failed
    machines.
    You can see this may be a gargantuan task, but I need to be able to make it easier on 
    myself by finding the machines first and cleaning out DNS, cleaning the DCs out of the “Sites” and cleaning them out of the directory.
    Appreciate any help I can get…

    Hi,
    Thanks for posting in the forum.
    Regarding your question, maybe we should remove these orphaned DC from AD, please try to refer to the following articles to perform the cleanup task.
    How to remove completely orphaned Domain Controller
    http://support.microsoft.com/kb/555846
    Complete Step by Step to Remove an Orphaned Domain controller
    http://msmvps.com/blogs/acefekay/archive/2010/10/05/complete-step-by-step-to-remove-an-orphaned-domain-controller.aspx
    Metadata Cleanup of a Domain controller
    http://sandeshdubey.wordpress.com/2011/10/12/metadata-cleanup-of-a-domain-controller/
    Here is a similar thread as reference, hope it helps.
    Remove References of a Failed DC/Domain
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/87516188-731a-4b7f-a4cc-06ce4ad27b19/remove-references-of-a-failed-dcdomain
    Best Regards,
    Andy Qi
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Andy Qi
    TechNet Community Support

  • Finding Missing Time Interval in SQL

    All 
     Need help with SQL to find Missing Time Interval. 
    My query returns data as given below  
    Data1
     Column      StartTime    EndTime
    =======   =======   ======= 
    T2               9:00          18:00T3               20:00         23:00 
    Data2
     Column      StartTime    EndTime
    =======   =======   ======= T1               15:00          20:00
    T3               20:00          07:00 
    Take above output, I want to find Time Not on my Data in 24 hours from First StartTime on each Data Set.
    Example: Data1
    First StartTime: 9:00 AM (T2 record)
    Add 24 hours, which will be 9:00AM Next day.
    Expected Result to get missing time interval for Data1
    18:00 - 20:00
    23:00 - 9:00 (next day)
    For Data2 Expected result
    7:00 - 15:00 Next Day
    Database version: 11g
    Anyone come across to calculate missing time interval? Can I use PL/SQL for this like pipeline function?
    Any help/directions/references I highly appreciate.
    Thanks in advance.
    Karth

    One way of finding Missing Intervals:
    alter session set nls_date_format = 'DD-Mon-YYYY HH24:MI:SS';
    with data as
      select to_date('28-Jun-2013 09:00', 'DD-Mon-YYYY HH24:MI') start_time, to_date('28-Jun-2013 18:00', 'DD-Mon-YYYY HH24:MI') end_time from dual union all
      select to_date('28-Jun-2013 20:00', 'DD-Mon-YYYY HH24:MI') start_time, to_date('28-Jun-2013 23:00', 'DD-Mon-YYYY HH24:MI') end_time from dual
    select start_time, end_time,
           case when lead(to_char(start_time, 'HH24'), 1, (select min(to_char(start_time, 'HH24')) from data)) over (order by to_char(start_time, 'HH24')) not between to_char(start_time, 'HH24') and to_char(end_time, 'HH24')
                  then to_char(end_time, 'HH24:MI') || ' - ' || lead(to_char(start_time, 'HH24:MI'), 1, (select min(to_char(start_time, 'HH24:MI')) from data)) over (order by to_char(start_time, 'HH24:MI'))
                else
                  null
           end period
      from data
    START_TIME                END_TIME                  PERIOD      
    28-Jun-2013 09:00:00      28-Jun-2013 18:00:00      18:00 - 20:00
    28-Jun-2013 20:00:00      28-Jun-2013 23:00:00      23:00 - 09:00
    Time information need not be stored in additional Varchar fields, if you have Date Column. You can use Date fields that store Date and time both.
    Another way of approaching this problem is with Connect By Clause or Model Clause. Use the search functionality to find solutions using those methods too. However, in my opinion, this method is the quickest of all.

  • I cant find my ipod 5 and its dead

    I cant find my ipod 5 and its out of battery and i dont have an app that can help me find it what shud i do?
    F

    The only thing you can do, get up and go look for it, just like it was a lost set of keys. Good luck!

  • I upload Adobe Flash but I'm constantly told I have a missing plug in and need to install. This happens again and again. I am finding no solution.

    I upload Adobe Flash but I'm constantly told I have a missing plug in and need to install. This happens again and again. I am finding no solution.

    Do not follow links from error messages; go direct to Adobe's site and download the latest version from there.
    10.3.181.26 is the latest version - added this week.
    Message was edited by: noondaywitch

Maybe you are looking for

  • How do I setup a keyboard shortcut for an item in the Services menu?

    In every Application, under the application menu is a "Services" folder. I would like to be able to setup a keyboard shortcut for one of these services (namely Skype). I am a heavy user of the "Services > Skype > Call" command and I would love to hav

  • FAQ: How do I go about learning ActionScript 3.0?

    Here are a few hand-picked resources for getting started with AS3  that hopefully will give new users confidence to try ActionScript and to  know that they are looking at some of the best resources for learning  it. These are all video tutorials. Cod

  • What is the limited number of users?

    What is the limited number of users?

  • I am unable to open a Zip file I downloaded.

    I play an online golf game at www.wgt.com and to help my playng I downloaded an app from www.wgt.4fan.cz it is WGT Caddy PRO. I am unable to open the file. From reading the answers to other questions concerning opening Zip files, I downloaded Unarchi

  • Availability date for WLS 5.10 SP9 ?

    Is there a planned availability date for WLS 5.1 SP9, specifically the 128-bit version ? I could of sworn that I've seen a page on BEA's site that listed the scheduled releases dates for the service packs, but I can't seem to find it any longer. Has