Employee Working Continuous Hours Exception Report

Dear Sir,
I am tasked to develop a Employee Continuous Hours Exception Report. An employee is allowed to work 24 hours in a day (2 shift) but must take the next day as rest day. I would like out to find out the employees that worked more than 24 hours in a Continuous.
Refer attached image as a sample
I would only like to pick the records highlight above in the image, because this is an example of the working more than 24 hours continuously.
If annyone can help me with SQL Script to produce the above report.
Marsh Narewec

Dear Visakh,
I just realized that the data of  the image presented above is wrong. The data should have been like this,
As you can see, the date is also shown in TimeFrom and TimeTo fields. Now with this change in data here is the script to create the similar table with data. Appreciate if you can use this table to assist we developing the sql stored procedure.
USE [PNGLIVE]
GO
/****** Object: Table [dbo].[TmpMarshRoster] Script Date: 06/26/2014 18:28:42 ******/
DROP TABLE [dbo].[TmpMarshRoster]
GO
/****** Object: Table [dbo].[TmpMarshRoster] Script Date: 06/26/2014 18:28:42 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TmpMarshRoster](
[EmployeeNumber] [dbo].[udtEmployeeNumber] NOT NULL,
[EmployeeName] [nvarchar](101) NOT NULL,
[DutyDate] [datetime] NOT NULL,
[TimeFrom] [datetime] NOT NULL,
[TimeTo] [datetime] NOT NULL
) ON [PRIMARY]
GO
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A31E00000000 AS DateTime), CAST(0x0000A31E0062E080 AS DateTime), CAST(0x0000A31E01391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A31F00000000 AS DateTime), CAST(0x0000A31F01391C40 AS DateTime), CAST(0x0000A3200083D600 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A32000000000 AS DateTime), CAST(0x0000A32001391C40 AS DateTime), CAST(0x0000A3210083D600 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A32200000000 AS DateTime), CAST(0x0000A322007D3E80 AS DateTime), CAST(0x0000A322009AE840 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A32300000000 AS DateTime), CAST(0x0000A3230062E080 AS DateTime), CAST(0x0000A32301391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A32400000000 AS DateTime), CAST(0x0000A3240062E080 AS DateTime), CAST(0x0000A32401391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A32500000000 AS DateTime), CAST(0x0000A3250062E080 AS DateTime), CAST(0x0000A32501391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A32600000000 AS DateTime), CAST(0x0000A3260062E080 AS DateTime), CAST(0x0000A32601391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A32700000000 AS DateTime), CAST(0x0000A32701391C40 AS DateTime), CAST(0x0000A3280083D600 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A32800000000 AS DateTime), CAST(0x0000A32801391C40 AS DateTime), CAST(0x0000A3290083D600 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A32B00000000 AS DateTime), CAST(0x0000A32B0062E080 AS DateTime), CAST(0x0000A32B01391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A32C00000000 AS DateTime), CAST(0x0000A32C0062E080 AS DateTime), CAST(0x0000A32C01391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A32D00000000 AS DateTime), CAST(0x0000A32D0062E080 AS DateTime), CAST(0x0000A32D01391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A32E00000000 AS DateTime), CAST(0x0000A32E0062E080 AS DateTime), CAST(0x0000A32E01391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A32F00000000 AS DateTime), CAST(0x0000A32F01391C40 AS DateTime), CAST(0x0000A3300083D600 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A33000000000 AS DateTime), CAST(0x0000A33001391C40 AS DateTime), CAST(0x0000A3310083D600 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A33300000000 AS DateTime), CAST(0x0000A3330062E080 AS DateTime), CAST(0x0000A33301391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A33400000000 AS DateTime), CAST(0x0000A3340062E080 AS DateTime), CAST(0x0000A33401391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A33500000000 AS DateTime), CAST(0x0000A3350062E080 AS DateTime), CAST(0x0000A33501391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A33600000000 AS DateTime), CAST(0x0000A3360062E080 AS DateTime), CAST(0x0000A33601391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A33700000000 AS DateTime), CAST(0x0000A33701391C40 AS DateTime), CAST(0x0000A3380083D600 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A33800000000 AS DateTime), CAST(0x0000A33801391C40 AS DateTime), CAST(0x0000A3390083D600 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014041', N'Albert MARI', CAST(0x0000A33C00000000 AS DateTime), CAST(0x0000A33C0062E080 AS DateTime), CAST(0x0000A33C01391C40 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A31E00000000 AS DateTime), CAST(0x0000A31E0062E080 AS DateTime), CAST(0x0000A31E0128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A31E00000000 AS DateTime), CAST(0x0000A31E0128A180 AS DateTime), CAST(0x0000A31F0062E080 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A31F00000000 AS DateTime), CAST(0x0000A31F0062E080 AS DateTime), CAST(0x0000A31F0128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32000000000 AS DateTime), CAST(0x0000A3200062E080 AS DateTime), CAST(0x0000A3200128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32100000000 AS DateTime), CAST(0x0000A3210062E080 AS DateTime), CAST(0x0000A3210128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32200000000 AS DateTime), CAST(0x0000A3220062E080 AS DateTime), CAST(0x0000A3220128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32300000000 AS DateTime), CAST(0x0000A3230062E080 AS DateTime), CAST(0x0000A3230128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32400000000 AS DateTime), CAST(0x0000A3240062E080 AS DateTime), CAST(0x0000A3240128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32500000000 AS DateTime), CAST(0x0000A3250062E080 AS DateTime), CAST(0x0000A3250128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32700000000 AS DateTime), CAST(0x0000A3270062E080 AS DateTime), CAST(0x0000A3270128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32800000000 AS DateTime), CAST(0x0000A3280062E080 AS DateTime), CAST(0x0000A3280128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32900000000 AS DateTime), CAST(0x0000A3290062E080 AS DateTime), CAST(0x0000A3290128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32A00000000 AS DateTime), CAST(0x0000A32A0062E080 AS DateTime), CAST(0x0000A32A0128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32B00000000 AS DateTime), CAST(0x0000A32B0062E080 AS DateTime), CAST(0x0000A32B0128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32C00000000 AS DateTime), CAST(0x0000A32C0062E080 AS DateTime), CAST(0x0000A32C0128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32D00000000 AS DateTime), CAST(0x0000A32D0062E080 AS DateTime), CAST(0x0000A32D0128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32E00000000 AS DateTime), CAST(0x0000A32E0062E080 AS DateTime), CAST(0x0000A32E0128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A32F00000000 AS DateTime), CAST(0x0000A32F0062E080 AS DateTime), CAST(0x0000A32F0128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A33000000000 AS DateTime), CAST(0x0000A3300128A180 AS DateTime), CAST(0x0000A3310062E080 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A33100000000 AS DateTime), CAST(0x0000A3310062E080 AS DateTime), CAST(0x0000A3310128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A33200000000 AS DateTime), CAST(0x0000A3320062E080 AS DateTime), CAST(0x0000A3320128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A33300000000 AS DateTime), CAST(0x0000A3330062E080 AS DateTime), CAST(0x0000A3330128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A33400000000 AS DateTime), CAST(0x0000A3340062E080 AS DateTime), CAST(0x0000A3340128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A33500000000 AS DateTime), CAST(0x0000A3350062E080 AS DateTime), CAST(0x0000A3350128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A33600000000 AS DateTime), CAST(0x0000A3360062E080 AS DateTime), CAST(0x0000A3360128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A33700000000 AS DateTime), CAST(0x0000A3370062E080 AS DateTime), CAST(0x0000A3370128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A33800000000 AS DateTime), CAST(0x0000A3380062E080 AS DateTime), CAST(0x0000A3380128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A33900000000 AS DateTime), CAST(0x0000A3390062E080 AS DateTime), CAST(0x0000A3390128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A33A00000000 AS DateTime), CAST(0x0000A33A0062E080 AS DateTime), CAST(0x0000A33A0128A180 AS DateTime))
INSERT [dbo].[TmpMarshRoster] ([EmployeeNumber], [EmployeeName], [DutyDate], [TimeFrom], [TimeTo]) VALUES (N'014714', N'Nason Regepba', CAST(0x0000A33C00000000 AS DateTime), CAST(0x0000A33C0062E080 AS DateTime), CAST(0x0000A33C0128A180 AS DateTime))
Marsh Narewec

Similar Messages

  • 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

  • Report for work center hours , maintenance order wise for SAP 3.1i version.

    Hi Team,
    We are using older version of SAP, that is SAP 3.1i. Here we don't have any transaction code such as IW47. Is there any other way to get report of work center and work center hours-order wise.
    Please respond.
    Regards,
    Kiran

    Have a look at table AFRU
    PeteA

  • Payroll Exception report not working

    Hi
    I am running payroll exception report with seeded report High Gross and High Net.
    The report runs fine but the output is not matching
    It shows correct current balance but previous balance is always zero.
    Steps i followed:
    1) ran the payroll for previous period
    2) pre-payment
    3) payroll archive
    4) run payroll for current payroll
    5) run the Payroll exception report with seeded Gross
    For double check , i also ran the generate run balance to validate all balances.
    So can you please suggest something or is any specific set up is required for this.
    Thanks
    Makarand

    I found out that the payroll message report is the payroll exception report.

  • Issue with Unpaid Absence for Rotating Shift Employees with Averaging Hours

    We run a biweekly payroll where full time employees are paid based on an 80 hr work shift per pay period.    We have a requirement where employees in production are on a rotating shift.  They may work 80, 88 or 72 hrs per pay period because  their work schedule rule is defined this way.  However, regardless if they worked 80, 88 or 72 hrs, these employees should still be paid based on 80 hrs of work (overtime will be paid extra).  Currently, our system handles it this way.  
    However, a problem comes up when the employee has an unpaid absence for the period. The WT  /801 is calculating a factor that results in incorrect pay.  For example, if an employee has an hourly rate of $10 (biweekly rate of $ 800), with a work shift of 88 hrs and 24 hrs unpaid absence for the period, the rule KPPF is calculating the factor (/801) to be: 64/88 = .7272, and therby paying 581.76 ($800 x .7272).   The calculation of /801 comes from the formula:
          total hrs worked (88) - unpaid hrs (24)
                    total hrs worked (88)
    Given our requirement, the correction calculation for the factor  should be:
      80 - 24    = .7
         80
    and the correct pay should be $560 ($800 x .7)
    I tried modifying rule KPPF, along with KPP0 and KPP1 and was able to make it work to fit our requirements.  However, the modification I made only works when there is only 1 WPBP record.  If there are multiple WPBP records , possibly caused by an personnel action , change of IT0007 or  IT0008 in the middle of the pay period,  it becomes way too complicated to modify the rule to handle each and every scenario.
    If anyone has come across a similar requirement, I would really appreciate if you could assist on how this should be handled.
    Thanks.
    Malou Navera

    Thanks Amosha,  Here is the PCR for calculating the factor during an unpaid absence:
    KPP1 Determine partial period factors (subrule)
          /801 Partial monthly factor 1
            RTE=TSSOLL Set
            RTE-TSAU** Subtraction
            RTE*KGENAU Multiplication
            RTE/TSDIVI Division
            ADDWT *    OT   Output table
    Here are the table values for an employee who is on an 88 hr shift, with 52 hrs of unpaid absence:
    Total period parameter
      Individual divisors for total period
      GSDIVI:          88.00
      GADIVI:          11.00
      GKDIVI:          14.00
    Partial period parameter for WPBP period 01
      Individual divisors for partial period in WPBP period 01
      TSDIVI:          88.00
      TADIVI:          11.00
      TKDIVI:          14.00
    Planned values for period from 01/25/2010 To 02/07/2010
    DWS class: 3           Day type: 0             PHoliday cl: 0
    TSSOLL:         88.00  GSSOLL:      88.00
    TASOLL:         11.00  GASOLL:      11.00
    TKSOLL:         14.00  GKSOLL:      14.00
    Table PARTA
      PParType  No  Valid from  Valid to    KAU**   AAU**   SAU**   KAP**   AAP**   SAP**   KAX**   AAX**   SAX**
      T         01  01/25/2010  02/07/2010    8.00    6.00       52.00     2.00     2.00      20.00    0.00       0.00      0.00
      G         00  01/25/2010  02/07/2010    8.00    6.00      52.00     2.00     2.00      20.00    0.00       0.00      0.00
    In this scenario, /801 was calculated at 40,909.09, it should be 35,000.
    Hoping to hear from you soon.
    Thanks.
    Malou

  • Creating an Exception Report with a Prompt

    All,
    Having difficulties with this report, and I wanted to see if I'm trying to make it do too much.
    Report: Opportunities Exception Report
    Prompt: List of exceptions we are tracking (ie...Custom Field #1 not populated, Source not populated, etc).
    I tried to combine criteria to account for each exception (since each exception is based on a seperate field), but doing so prevents me from then adding a Prompt. I have also created individual reports to account for each exception. I'm wondering what the best approach would be to achieve the results I need?
    Is it possible to:
    1. Combine all individual exception reports (all have same columns, with first column hard-coded to identify which exception type that report contains) into one master exception report, with a prompt on the column that lists the exception type?
    2. Create a prompt to a master report that, when selected, applies exception criteria that is appropriate for what is chosen from the Prompt?
    3. Somehow work with a Master that that has all the exceptions built into the combined criteria, but still gives a Prompt to select which criteria you're wanting to see?
    Thanks in advance for any/all help.
    Regards,
    JT

    Mike,
    Thanks for your response. Looking at the suggestions you gave, the first two wouldn't work for this scenario because of what it is we're trying to do. Essentially, we're just trying to find the missing pieces of data that the Sales Team didn't enter in on an Opportunity. So every report is going to be like this:
    1. Show me ALL Opportunities that do not have field 1 populated. (Exception Type 1)
    2. Show me ALL Opportunities that do not have field 2 populated. (Exception Type 2)
    3. Show me ALL Opportunities that do not have field 3 populated. (Exception Type 3)
    The report with combined analysis worked great in putting these exceptions into one report, but you're limited in what you can do with it.
    I've toyed with the pivot table, but if have a drop down list of the exception types, can I then change the filter of the complete Opportunity list to be the just the one you select?
    Thanks again for your response,
    JT

  • Hello friends, my itunes has stopped working. and the problem report stated the following: Fault Module Name:     KERNELBASE.dll   Fault Module Version:     6.1.7601.17514.................. please can anybody help me?hello friends, my itunes has stopped w

    Hello everybody> my itunes has stopped working and the problem report stated the following:
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    iTunes.exe
      Application Version:    10.5.3.3
      Application Timestamp:    4f14cc3d
      Fault Module Name:    KERNELBASE.dll
      Fault Module Version:    6.1.7601.17514
      Fault Module Timestamp:    4ce7b8f0
      Exception Code:    80000003
      Exception Offset:    0003381b
      OS Version:    6.1.7601.2.1.0.256.1
      Locale ID:    1033
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789
    can anybody help me?

    Are you seeing a similar message when launching QuickTime Player?
    What security software is installed on the computer? Have you tried testing in an admin account or after uninstalling tthe security software?
    Use one of the following articles to guide you through removing iTunes and the related QuickTime files.
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • Placing an exception reporting in a crosstable based on a key figure not "visible" in the crosstable

    Hello Community,
    I've come across the above question. As far as I've experienced, this is not possible. not with an exception reporting created in Query Designer, not in Analysis Office "Conditional Formatting".
    Who can asure my experience or (even better) share different experiences?
    Regards,
    Sarah

    I have no experience with this but...take a look at this SAP Note http://service.sap.com/sap/support/notes/852194 and could you try this option in the BEx query to see if it works:
    Hide (Can be Shown)

  • Exception report

    hi all,
    I'm trying to run jsp page but whenever i run it I get the error message
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/el/ELResolver
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    java.lang.NoClassDefFoundError: javax/el/ELResolver
         java.lang.ClassLoader.defineClass1(Native Method)
         java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         java.security.AccessController.doPrivileged(Native Method)
         java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         org.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:201)
         org.apache.jsp.Hello_jsp._jspInit(Hello_jsp.java:22)
         org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
         org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:157)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)this error for the below code!!!
    <HTML>
    <BODY>
    Hello!  The time is now
    <%
        new java.util.Date();
    %>
    </BODY>
    </HTML>I've already start the server and set the system variables.. every thing should be fine because after I finished the configuration of the apache tomcat 6.0.10 I ran the same code and it worked and now i get this error!!!
    any help please...
    Thanks

    thanks alot... but it is very weird. First it is not written in the steps of the configuration, Second when i finished the configuration I ran the same page and it worked!! why it accepted before and now not.

  • Screen Sharing not working continuously in Mountain Lion

    For some reason, I cannot get Screen Sharing to work continuously. I could not get it to work at all (even though I veried the settings were correct), and after reading some posts here, I rebooted my MacBook Pro and voila! it worked - at least on my home network. However, once I get to work, I can no longer connect.
    Any ideas?

    And how are you trying to connect with your home Mac from work?
    Are you using Apple's iCloud Back-to-My-Mac (BTMM) feature?  It should handle getting through home routers?
    Does you work have a Firewall and proxy servers in place?  They are going to block any attempt at accessing the outside world except via corporate approved networking channels, which frequently do not include Screen Sharing.  If this is the case, I might suggest TeamViewer.com as it has an option for setting a Proxy and if the company has not disabled accessing the TeamViewer.com URL, it might work.
    If no corporate firewall and proxy server, and you are not using BTMM, then do you have a home router?  Did you setup port forwarding for port 5900 from the internet to your home Mac?  <http://portforwarding.com>
    What address are you trying to connect with?  I you have home router you need to use the IP address assigned by your ISP to your home router.  If you do a Google search for "what is my ip address", Google will tell you your Public IP address.  You need this for your home router.
    BTMM and TeamViewer.com avoid the need to know your Public IP, and port forwarding.  Corporate firewalls are a beast of their own, and have to be handled on a case by case basis.  Some will let you get through, some will not.
    If you find you are going to be using the Public IP address of your home router, then you want to get a free dynamic DNS name for you home Mac from No-IP.com or DynDNS.org and then run the dynamic DNS updating utility provided by the dynamic DNS service on your home Mac to keep the dynamic DNS name updated each time your IPS changes your public IP address.

  • Employee works for 4 org units and want to distribute the cost to 4 cost ce

    Hi Experts,
    I am in the implementation phase, requirement gathering.
    I have scenerio where, Employee works for 4 org units and want to distribute the cost to 4 different cost centers.
    so that I can be able to find the exact cost occured for each Org unit.
    Please let me know how to map this in SAP?
    P oints will be rewarded fully
    Kindly dont post if you are not sure of your solution friends.
    Thanks
    Jay

    Hello,
    Infotype 0027 is the standard solution for multiple reporting / multi tasking in SAP.
    but also check which org unit he will be primarily assigned.
    Regards

  • Double payment if employee works on Holiday

    Hi everyone,
    If an employee works on Holiday, I want to pay him double payment, in this case how to pay, what is the procedure.
    Regards
    Gopal

    Hai..
    if u dont have time mgmt, upload a wage type in Infotype 2010 with number of hours and valuate with V-512W_B/ write a rule.
    or simply upload the amt which u want to pay in Infotype 15.
    If u have time evaluation configure OT and valuate in payroll with the help of V_512w_b

  • What is payroll Exception report

    Hi All,
    what is an Exception report in Payroll.

    Please go through the below url...might be useful....
    [http://help.sap.com/saphelp_rc10/helpdata/en/61/6a510f539411d1898a0000e8322d00/content.htm]
    This report lists exception messages (per employee) for a given payroll run. For example, an allowance exceeds the maximum limit for the specified tolerance group.
    Mohan

  • Exception reports within SAP

    I am looking for any information on built-in exception reports within SAP, do these exist? The company I work for typically runs custom reports to identify duplicate payments, receiving errors, missed opportunities based on payment terms, etc. These reports are generated outside SAP. I have been able to use screen MB5S (GR/IR Balances) to isolate over received purchase orders, but I am interested to learn more about the tools that are built into SAP. Any help is appreciated!

    Hi.......
    Welcome to SAP Business One Forum.......
    You can not get the query for inbuilt reports.
    But for some of the reports saved in Query manager by System you get.
    But i would suggest you to create your own SQL queries.....
    More beneficial to you.......
    Regards,
    Rahul

  • How can we configure in MSS to view Employee work schedule?

    Hi,
    How can we configure in MSS to view Employee work schedule?
    Regards,
    Poornima

    Hi,
    Can you please tell me what is your exact requirement?....
    I think in the standard MSS package there is an iview for viewing the workschedule related information like Hours/day, Hrs/week, hrs/month and hrs/year for a position.
    However, if you want to view the workschedule for employee, it can easily be configured through the OADP.
    You can create a custom Function module for fetching the workschedule for each employee and after creating a custom column, add it to any data view.
    Thanks,
    Pinki

Maybe you are looking for

  • Premiere Pro CC crashes on startup! (Still no solution!)

    Whenever I open Premiere Pro CC Trial, it says "Premiere Pro CC has stopped working" I looked around the internet and found a solution that was working for many people, to download the latest AMD drive. So I went and downloaded the AMD 14.4 drive, an

  • Problem with capturing of baselines

    Hi ! I have a problem with capturing of baselines- when the SQL is called from PL/SQL code... For example if I execute in SQL* Plus session alter session set optimizer_capture_sql_plan_baselines = true; exec dbms_mview.refresh('VIEW_CLIENT_KONTO', 'C

  • PDF Version

    Hi all, I am converting my smartform to pdf output using convert_otf; i have no issues here. After generating pdf i need pdf document to be higher than 1.4(open pdf file>File>Properties..here you see pdf producer(which is SAP r/3 release 6.40) and pd

  • X6 MP3 art tag image quality problem

    I'm willing to accept this could be an issue with my media software transferring the MP3s (MediaMonkey - an otherwise excellent application), so I'm asking this question on their forum too. I've recently synced a load of MP3 files from my main PC to

  • Safari 5.0.5 not working on company's wireless

    Safari has worked well with company's wireless network, until I upgraded to 5.0.5. Now I just get "Safari can't open the page." Chrome is still working and the network proxy settings appear to be identical for both browsers. Anyone experiencing this