Payroll : Mid Month joining

Dear Experts,
Generally Payroll will be generated based on Payroll area ( Example D1 ) for group of employees.
But one Person ( Ex : Person No - 1000 ) joined in one company in mid of the month and he belongs to same Payroll area ( D1)
how can we run Payroll the payroll for that employee ( Person No - 1000 )?
Thanks in advance.
Regards.
Sudheer

Hi ,
Run payroll as usually as you have done previously, the new joining employee will be picked up automatically by the payroll driver. He will be paid from the date of joining (on prorate basis).
for ex employee total sal for full month is 1000 if he joins on 15 of the month after running payroll he will get 500.
Thx
jinnu

Similar Messages

  • Wrong display of No. of days worked in Payslip for mid-month joining

    Dear Experts,
    We use PE51, form editor for payslip for indian payrol. Our issue is when an employee joins mid of the month or say 4th of any month, still in payslip it shows no. of working days as 30/31 days instead of actual days worked. But pay results are correctly being calculated on factoring basis.
    Please let me know how to resolve it, we use PCR ZNP1 for factoring which is written as follows
    ZNP1 Partial factors for India - /801(CD), /802(WD), /803(WH),/804(Nom)
          /801 Partial period factor 1
            RTE=TKSOLL Set
            RTE-TKAU** Subtraction
            RTE*KGENAU Multiplication
            RTE/TKDIVI Division
            ADDWT *    OT   Output table
          /802 Partial period factor 2
            RTE=TASOLL Set
            RTE-TAAU** Subtraction
            RTE*KGENAU Multiplication
            RTE/TADIVI Division
            ADDWT *    OT   Output table
          /803 Partial period factor 3
            RTE=TSSOLL Set
            RTE-TSAU** Subtraction
            RTE*KGENAU Multiplication
            RTE/TSDIVI Division
            ADDWT *    OT   Output table
          /804 Partial period factor 4
          /805 Partial period factor 5
          /806 Partial period factor 6
          /807 Partial period factor 7
    Please guide, if i need to modify it for getting correct working days display in payslip
    Regards
    Tan

    in that case the Requirement is to display no of working days of employee in a month
    Here working days means
    Total Calendar Days - Unpaid days - Paid days =  working days ( please check the said one again since i have inculded the paid days and unpaid days if u want u can remove paid days)
    so in order to fetch this
    we need Calendar days that is TKSOLL
    Unpaid days   check the technical wage types /845  Paid days /846  ( you can have custom wage types too)
    Copy a wage type from standrad overtime wage type  that will be  1555
    The PCR is as follows
    NUM=TKSOLL  (calendar Days)
    NUM-E  /846      Paid days
    NUM-E /845
    ADDWT 15555
    Use ACTIO function and insert it any where in Sub Schema XT00

  • Problem in Payroll (mid month payment)

    Dear All,
    We have Monthly Payroll type. But I have to make incentive and some arrears payments in mid of May, 2010 that is after the execution of April Payroll and before execution of May Payroll.
    Please suggest how this can be done?
    Regards,
    Kanupriya

    Hi Kanupriya,
    You need to some configuration in the SPRO path provided below.
    SPRO --> Payroll --> Payroll - USA --> Off-Cycle Activities
    Then maintain 0267 with off cycle reason
    Run off cycle Payroll using off cycle reason
    The go to Work bench for Off-cycle - Transaction Code PUOC_10
    Clik on History tab - chceck result - and Save result.
    Regards
    Venu

  • Mid Month Joining-PF Basis Calculation

    Hi All,
    I have an emplyee whose joining is in the 3rd week of the month 23.04.2011.
    His basic is 25000, 8 days working basic is 6667.
    I want to restrict his PF contribution to PF at 780 his actual contri coming as 800, 12% of basic.
    Here i want that system should maintain his PF as 780 not 800.
    I tried marking Eligible pay Or Pf BAsis Which ever is less but of no use.
    I have already gone through the Threads which suggest to go through User Exit: Override Employer Pension Basis.But it is not for PF Basis.
    If any PCR is available for the same ?
    Can any body guide me on the same?

    Hi,
    the system is working fine if the person is present in the trust the full month by selecting the Eligible Pay Or PF base pay
    which ever is  less.
    But when it comes to joining in the end of the month say 23 or 25th of the month & the employee is present in the trust for 8 or 5 days & if i try to take the basic as 6500 although the basic is higher than 6500(actual basic 25000, ,8 days-6667),if i select the
    Eligible Pay Or PF base pay which ever is  less,either it doest take the 6500 consideration or it calculates PF as 208.
    Puting the RT details here when  Eligible Pay Or PF base pay which ever is  less is selected.
    /101 Total gross                                                             11,223.33
    /111 EPF Basis                                                                6,666.67
    /112 ESI Basis                                                                 11,223.33
    /113 ESI Basis N                         26,666.67                    11,010.00
    /114 HRA Basis                                                              6,666.67
    /115 COA/CLA Bas                                                         9,973.33
    /116 Gratuity Ba                                                            6,666.67
    /117 Superannuat                                                         6,666.67
    /120 Nom. ExGrat                         26,666.67                  6,666.67
    /121 Nom. ExGrat                         26,666.67                6,666.67
    /124 Mon Reg Inc                                                           9,973.33
    /125 Mon Irr Inc                                                             1,250.00
    /128 Leave Encas                                                           6,666.67
    /129 Voluntary R                                                           25,000.01
    /134 Annual Non-                                                          1,250.00
    /136 1DSD Basis                                                             6,666.67
    /137 1DSD Basis                                                             6,666.67
    /138 Form 217 2(                                                           11,223.33
    /139 VPF Basis                                                                6,666.67
    /140 LWF Basis                                                              6,880.00
    /3F1 Ee PF contr0101                                                     208.00
    /3F3 Er PF contr0101                                                    245.00
    /3F4 Er Pension 0101                                                   555.00
    /3F5 Ee Mon PF c                                                          208.00
    /3F6 Ee Ann PF c                                                           8,788.00
    /3F7 EDLI contri0101                                                   3,333,335.00
    /3F8 EDLI adm ch0101                                                66,667.00
    /3F9 PF adm chrg0101                                                7,333,337.00
    /3FA PF basis fo0101                                                 1,733.00
    /3FB PF Basis fo0101                                                 6,667.00
    /3FC Pension Bas0101                                                 6,667.00
    /3FJ VPF basis f0101                                                 1,733.00
    /3FL PF Basis fo0101                                                 6,667.00
    /3I1 Deduction u                                                     8,788.00
    /3I2 Gross amoun                                                     8,788.00

  • Basic Pay Split not happening for Mid Month Joining

    Hi Gurus,
    I am facing a problem running a payroll where the employee who is hired at the middle of the month the net pay should be half. But in my case the employee is getting a full month pay.
    I have Hired an employee on 20th of February.
    Planned working Time Status "0" No time Evaluation
    My Payroll Area is Monthly
    The Payroll Period is 25th to 24th of next month
    Pay date is 27th
    I am running payroll on 24th Feb the RT displays the net payable amount for the full month instead of  5 days Payment which is from 20 Feb to 24 feb.
    I have set the start dates in the following infotypes 0000, 0001, 0002, 0007, 0008 as  Start Date: 20th February  current year.
    I have assigned all my wage types the following Processing class:
    PRCL 1 Specification 3     WType included in valuation basis /001 and /002
    PRCL 10 Specification 1     Reduction with factor /801
    And PRCL 30 and 41 also are assigned appropriate specifications.
    Please guide how can I do it.
    Best Regards,
    KPJ

    Thanks Surisetti I resolved myself..if you could throw some light as the amount is not being calculated exactly..
    The month has working hrs 192.
    the amount in /001= 66 and /002=52
    The base salary is 10000 SAR
    and the TSSOLL= 39.5 for days from 20 Feb to 24 Feb
    So, Amount will be calculated /001 mutilply TSSOLL i.e (66 X 39.5)or
    /002 Mutiply 39.5 i.e (52 X 39.5)
    How would that be calculated...
    In general when base is 10000 SAR and monthly working hrs are 192
    10000 Divide by 192 is equal to 52 which is exactly equal to /002
    and now worked hrs in period 20 feb to 24 feb are 39.5
    So, basic should be (52 X 39.5)= 2,057 SAR
    The amount calculated in system is different ...could u please throw some light why its not calculating exact amount to be paid..
    Thanks & Regards,
    KPJ

  • PF- Mid month employees

    Hi all,
    I am facing some issue in the provident fund for the Mid month joined employees. As per the client requirement, SAP is not calculating. I need your help in this.
    For all the employees we are maintaining the IT 0587 has whichever is less.
    I go through some of the threads, still now I am not able to put condition in the PCR.
    Ex: Employee hired in the month of april 15.04.2014 his Basic salary is 10,000 rps.  When I run the payroll basic salary is prorated with the amount 5333.33 for 16 days in the april month. But, PF should calculate based on the amount 5333.33 but in the output it is showing as 416.
    Actually, PF should deduct 640 rps but it is showing 416 rps. 224 rps different amount is coming. How to resolve this one.
    Regards,
    Vijay Kumar

    Hi,
    When employee joins in the middle of the month The provident fund will prorate on Rs 6500 according to PF Act and standard rule that was defined in SAP as per act. You cannot change the rule that has defined in standard.  The user exist cannot be the right solution for this. The user exist which are there it will not override the standard functionality. The best way is to go according to Act that was defined in SAP.
    Incase if you want Rs 780 to be deducted for the first month for mid month joinee employees This can be done by manually inputting the data in additional payment wage type There are several ways to adjust the amount. You can either create a PF Adjustment wage type in additional payment for mid joinee employees to adjust the amount.

  • Mid month joiners PF Projection Issue

    Hi Team,
    We have an issue with respect to PF Projection for the employees who joined in mid month. We are on actual basis as an income tax projection.
    Employee joined on 16.04.2014 and his basic is 20,000 rupees. Since he joined in mid month his PF will be deducted as 1200. Now the system is projecting under Aggregate chapter VI as  1200+2400*11 = 27600 which is incorrect. It should do as 1200+1200*11 = 14400
    We are not sure why system Is behaving weird. If anybody come across this situation, please let us know.
    Thanks and Regards,
    Siva.

    Hello,
    Please note that proration in case of mid month termination and joining
    will be applicable to PF eligible pay alongwith EPF basis.
    This is the standard behaviour of the system.
    Please go through the below explanation on the proration of PF
    PF will be prorated if there is a mid month joinee or mid month
    termination. In Case of LOP the Eligible Pay is not prorated.
    If the pension basis is eligible pay which is maintained in T511P in the
    constant PFBAS and currently having the value as 6500 then, in the case
    of mid month joining  6500 gets prorated for the number of days employee
    was in the trust.
    In the case of mid month joining/leaving or transfer scenarios, the PF
    Basis will be correspondingly prorated and so the contribution
    calculated will also be prorated.
    If the customer doesn't want this pension basis to be prorated then a
    User Exit: Override Employer Pension Basis has been provided in payroll
    function INEPF. The name of the exit is EXIT_HINCALC0_002. This exit is
    in the enhancement HRINCEPF. We request you to go through the
    documentation of this user exit at
    Payroll India   > Statutory Social Contribution   > Provident Fund   >
    User Exit: Override Employer Pension Basis
    With Regards,
    Chetan

  • Pension issue Mid Month Leaving

    Dear All,
    As per rule sustem should deduct mid month joining/leaving/absences or transfer scenarios, the Pension/PF Basis will be correspondingly prorated. But our system is not doing this. In RT table i have found 3FC Pension Basis for Er c 01/2010                    0.00           6,500.00.
    Employee leaving date is 14.04.2010. system is picking pension amout as 541. Last year it was coming right.
    Please suggest.
    Ashwani

    Dear Jayanti,
    We required prorata basis pension in case of left employees and system is not doing this. This is the issue. As per our PF experts Pension amount should come on prorata basis for left employees in case they left mid of month.System is doing prorata basis last year but from this year it is deducting 541. I am giving two RT cases of different years.
    RT table for year 2010. DOL 26.04.2010
    /111 EPF Basis              01/2010                    0.00           8,750.00 
    /139 VPF Basis              01/2010                    0.00           8,750.00 
    /3F1 Ee PF contribution     01/2010                    0.00           1,050.00 
    /3F3 Er PF contribution     01/2010                    0.00             509.00 
    /3F5 Ee Mon PF contribution 01/2010                    0.00           1,050.00 
    /3F6 Ee Ann PF contribution 01/2010                    0.00          12,600.00 
    /3F9 PF adm chrgs * 1,00,00 01/2010                    0.00              96.25 
    /3FA PF basis for Ee contri 01/2010                    0.00           8,750.00 
    /3FB PF Basis for Er Contri 01/2010                    0.00           8,750.00 
    /3FJ VPF basis for Ee contr 01/2010                    0.00           8,750.00 
    /3FL PF Basis for Er Contri 01/2010                    0.00           6,500.00 
    /3F4 Er Pension contributio 01/2010                    0.00             541.00
    /3FC Pension Basis for Er c 01/2010                    0.00           6,500.00
    /3FB PF Basis for Er Contri 01/2010                    0.00           8,750.00
    /3FC Pension Basis for Er c 01/2010                    0.00           6,500.00
    /3FJ VPF basis for Ee contr 01/2010                    0.00           8,750.00
    /3FL PF Basis for Er Contri 01/2010                    0.00           6,500.00
    /3R3 Metro HRA Basis Amount 01/2010                    0.00           8,750.00
    1BAS Basic Salary           01/2010                    0.00           8,750.00
    RT table for year 2009. DOL 27.10.2009
                                                                                    /111 EPF Basis              07/2009                    0.00           9,016.13
    /139 VPF Basis              07/2009                    0.00           9,016.13
    /3F1 Ee PF contribution     07/2009                    0.00           1,082.00
    /3F3 Er PF contribution     07/2009                    0.00             628.00
    /3F5 Ee Mon PF contribution 07/2009                    0.00           1,082.00
    /3F6 Ee Ann PF contribution 07/2009                    0.00           8,822.00
    /3F9 PF adm chrgs * 1,00,00 07/2009                    0.00              99.18
    /3FA PF basis for Ee contri 07/2009                    0.00           9,016.00
    /3FB PF Basis for Er Contri 07/2009                    0.00           9,016.00
    /3FJ VPF basis for Ee contr 07/2009                    0.00           9,016.00
    /3FL PF Basis for Er Contri 07/2009                    0.00           5,452.00
    /3FB PF Basis for Er Contri 07/2009                    0.00           9,016.00 
    /3FC Pension Basis for Er c 07/2009                    0.00           5,452.00 
    /3FJ VPF basis for Ee contr 07/2009                    0.00           9,016.00 
    /3FL PF Basis for Er Contri 07/2009                    0.00           5,452.00 
    /3R4 Non-metro HRA Basis Am 07/2009                    0.00           9,016.13 
    1BAS Basic Salary           07/2009                    0.00           9,016.13 
    Now please suggest what to do. where is the problem  ? If have also checked EXIT_HINCALC0_002 but nothing written in it.
    With Regards
    Ashwani

  • Mid month Hiring payroll

    Hi,
    There is a scenario, when we hire a person in mid month, so how payroll driver will calculate its payroll.
    Do we need to run payroll twice for this employee.
    Regards,
    Kumar

    Hi,
    If it is monthly payroll, no need to run payroll in mid month, we can run the payroll as usual like end of the month(whenever we are running payroll that date).
    For mid month of joinging employes, system will take care with the help of INP1 rule for india, XPPF rule for internaational.
    No need to run twice payroll.
    Based his/her joining date payment will be happen.
    Regards
    Devi.

  • Mid Month Transfer Issue in Payroll

    Hello All
    Good Day!
    We have two payrolls defined, Payroll A and Payroll B and both has separate Legal entity but Business Group for both Payroll is same. We are having an issue when employee transfers from Payroll A to B or vice versa as mentioned below :
    1) Lets assume Employee transfers from Payroll A to Payroll B as on 17 Oct 2012.
    2) As Business Group is same , employee remain in the same BG.
    3) So we tried to terminate the employee as on 17-Oct-2012 and re-hired as on 18-Oct-2012 in the Payroll B. We need two IRP5 (tax certificate) so we need to terminate the employee from one payroll and reinstate in new payroll.
    4)) We have most of the recurring element configured to Terminate as Last Standard Process so all the recurring elements ended as on 31-Oct-2012, i think this should have been Actual Termination Date but as Payroll is running from last 2 years so this will be too big to change now.
    5) Now when we process the payroll as on 31-Oct-2012, employee got full month salary in Payroll A which is not correct as employee worked up to 17-Oct-2012.
    6) To avoid full month Salary, we changed the Last Standard Process to 17-Oct-2012 so all elements ended as on 17-Oct-2012 but now when we process the payroll as on 31-Oct-2012, employee is getting picked up but no element processed and no balance generated. Don’t know why ?
    Could you please provide your input as what is the best practice to handle this mid month transfer ?
    Thanks
    Gaurav

    Hi, Gaurav..
    6) To avoid full month Salary, we changed the Last Standard Process to 17-Oct-2012 so all elements ended as on 17-Oct-2012 but now when we process the payroll as on 31-Oct-2012, employee is getting picked up but no element processed and no balance generated. Don’t know why ?
    =>I guess.. The "Final Process Date" set as 31-Oct-2012 when you end this employee, isn't it?
    Actual Termination Date will let person end at this date, that's mean person record's effective_end_date will equal to the Actual Termination Date and create a new person record after Actual Termination Date.
    Last Standard Process Date let all elements ended as this date.
    Final Process Date means you can process payroll run before this date, and the assignment record's effective_end_date will equal to Final Process Date. That's why your payroll run includes this person. There's no elements because all elements ended on 17-Oct-2012, system doesn't get any element on 31-Oct-2012.
    Best Regards,
    Changhua

  • IT0007 Change Mid Month/Payroll error

    Geeks,
    I have a situation wherein I need to change the WSR of a employee mid- month - which I did thru PA30 by creating a new IT7 with start date as 14 july 2014 (below is the overview screen shot of IT7 after change)
    With Basic as 5000, I ran his payroll from 01-july 2014 to 31-july 2014, but when I look the form, its displaying Basic as 3518 (I haven assigned any unpaid or LOP). Can anybody help me out in knowing wht mistake m I doing?
    regards
    Tahir

    In the IT to or from INP1, I can see that the Partial Period Parameters WageTypes /801, /802, /803 and /806 all total 100% (or 10.000,000), while /804 totals 70.37% and /805 totals 174.19%.
    In the IT from XVAL, it can be seen that all valued WageTypes were done so by using /804.
    I am not familiar with Payroll for India, but here are a two questions :
    1 - If your Payroll Schema includes function PRINT with Par1 = NP and Par2 = PART, check your Partial Period Parameters and try to identify why /804 totals 70.37%. 
    2 - What kind of Absences or Attendances has the employee to justify that ratio?
    You have mentioned that "Basic Salary" WT 1000 has Pr.Cl.10 with value 04, meaning that Partial Period Parameter /804 will be used for the factoring of that WT, and that is what happens. 
    The solution to your problem lies in understanding why the factors /802 and /804 are identical for the first portion of the payroll period but are different for the second part of the period.
    3   /802   01     40 740,74
    3   /802   02     59 259,26
    3   /804   01     40 740,74
    3   /804   02     29 626,63

  • How to handle mid month proration in a calendar to month payroll

    Appreciate if some 1 can help in handling the mid month proration in a calendar to month payroll.
    i.e if an employee desides to quit his job by giving a 24 hours notice say in the middle of the month, then how can one handle such cases in monthly payroll calculations?
    Plz help me......!
    regards

    1. Create a Proration Event Group grouping all the events (here date track update on assignment_status_id of per_all_assignments_f). Attach the event group to elements that you want to prorate.
    2. Write a Proration Formula (Formula Type Payroll Run Proration) sth like this.
    inputs are pay_value,
    proration_start(date),
    proration_end(date)
    l_days = days_between(prorate_end,prorate_start) + 1
    pay_value = pay_value * l_days / 31 /* instead of hardcoding 31 u can get the days_between period start and period end db items */
    return pay_value.
    3. Attach the above proration formula to the elements that you want to prorate ( element screen > proration tab)
    Hope this helps.
    Regards,
    sharath

  • Income tax issue for mid month joinees

    Issue 2:
    For New (mid month) joinee at the first month gross salary is calculated based on the earned salary amount *12 months (or no. of remaining months for financial yr end), but in my client income tax deducted based on the actual salary (not earned salary) from the first month onwards.
    For example :
    Employee X,
    Joined date 15.08.2011,
    Actual salary = 1,00,000 INR.  Earned salary for 15 days = 50,000 INR.
    While Start Payroll for the period 5th (August) 2011. The WT /416 Gross salary = 4,00,000 (50000*8). Based on this gross salary income tax calculated, But I want to calculated the gross at first month (august 2011) based on follows,
    Gross salary : August month earned salary = 50,000 + Actual salary per month =1,00,000*7 =7,00,000.
    Gross salary = 7,50,000 INR.
    Please give me some solution
    Thanks and regards
    Mohan .V

    Hi Param Dayal,
    New issues rise Now....
    For New (mid month) joinee at the first month Exemption U/S 10 is calculated based on the Conveyance Allowance amount *12 months (or no. of remaining months for financial yr end), but in my client income tax Exemption U/S 10 based on the actual salary (not earned salary) from the first month onwards.
    For example :
    Employee X,
    Joined date 15.08.2011,
    Conveyance Allowance = 800 INR. Earned Conveyance Allowance for 15 days = 400 INR.
    While Start Payroll for the period 5th (August) 2011. The WT /130 Exemption U/S 10 = 3,200 (400*8). Based on this Conveyance Allowance The Exemption U/S 10 calculated, But I want to calculated the Exemption U/S 10 at first month (august 2011) based on follows,
    August month earned Conveyance Allowance = 400 INR + Actual Conveyance Allowance per month =800*7 =5,600.
    Exemption U/S 10 = 6,000 INR.
    Please give me some solution
    Thanks and regards
    Mohan .V
    Edited by: mohantamilan on Sep 26, 2011 2:52 PM

  • PF calulation wrong in mid month joiners

    Dear Experts
    As per the client requirement PF Contribution on "Eligible pay or PF basis which ever is less" i.e Basic 6500 and Contribution 780/- only.
    But in case of any one joined in Mid month with basic salary 9000 in this case PF calculation showing wrong (calculating on working days)
    I want to deduct 780/- as PF Contribution for mid month joiners also.

    Hi Mallikarjuna,
    With "Eligibility pay or PF Basis whichever is less" option selected, PF contribution is the minimum of below 2 components
    1. Actual basic salary of the employee
    2. Eligible pay of the employee (eligible pay is INR 6500 and is maintained in constant PFBAS)
    SAP by default pro-rates both these components for mid month joinees. Lets take an employee with DOJ 11.04.2014 and basic pay 12,000.
    1. Pro-rated basic salary = 8,000 (12,000/30*20)
    2. Pro-rated eligible pay = 4,333.33 (6,500/30*20)
    PF calculated by SAP in this case is 12% of 4,333.33 = 520
    Solution:
    I understand that you do not want the eligible pay to be prorated. i.e. the PF contribution in above case should be 12% of 6,500 = 780
    To achieve this, you will need to implement the user exit EXIT_HINCALC0_002 (Override Employer Pension Basis) in the Enhancement HRINCEPF. Replace the pro-rated eligible pay with the actual value of constant PFBAS in this. Refer the documentation in the below node of SPRO
    Payroll>>Payroll:India>>Statutory Social Contribution>>Provident Fund>>User Exit: Override Employer Pension Basis
    Regards
    Ravi Patni

  • How to prorate mid month emp termination

    hey all,
    i have some employees that are being terminated as of 15th Jan 2009 some as of 20th Jan 2009. How can one handle such situations in the basic salary calculation formulas in payroll.
    all your comments are welcomed!

    There was no proration logic.
    So i went thru the R12 Help and i came across a sample formula that has given me some idea now this formula is working only when the employees join in the mid-month and it doesn't work for mid-month termination.
    Please note the salary is not hourly its daily computation but payroll is callander month.
    We have International HRMS (i.e. XX_LEGISLATION)
    Following is the formula:
    ALias ASG_GRADE as Emp_Grade
    ALIAS BASIC_PAY_IN_USD_AMOUNT_IN_USD_ENTRY_VALUE AS BASIC_US
    ALIAS EXCHANGE_RATE_USD_PAY_VALUE_ENTRY_VALUE AS EXCHANGE_RATE1
    default for BASIC_US IS 0
    default for Emp_Grade is 'A'
    default for actual_salary is 0.0
    default for EXCHANGE_RATE1 is 0
    default for prorate_end is '01-JAN-1900' (date)
    default for prorate_start is '01-JAN-1900' (date)
    default for PAY_PROC_PERIOD_END_DATE IS '01-JAN-1950' (date)
    default for PAY_PROC_PERIOD_START_DATE IS '01-JAN-1950' (date)
    inputs are Pay_amt(number),Pay_amt_TZS(number),Pay_amt_USD(number),prorate_start (date), prorate_end (date), actual_salary (number),day_in_Month(number)
    if (Emp_Grade='S1' OR Emp_Grade='S2' OR Emp_Grade='S3' OR Emp_Grade='S4' OR Emp_Grade='SA' OR Emp_Grade='SB' OR
    Emp_Grade='SC' OR Emp_Grade='SD' OR Emp_Grade='SE' OR Emp_Grade='SS') then
    if not(BASIC_US was defaulted) then
    actual_salary =(BASIC_US)
    l_amount = (BASIC_US)
    message = 'Proration Start Date ' || TO_CHAR(prorate_start, 'DD-MON-YYYY')
    IF (prorate_start was defaulted) then
    prorate_start date is defaulted when no pro ration occurs. Therefore we
    should just return Salary.
    l_amount = l_amount
         Pay_amt=(l_amount)
         Pay_amt_USD=(l_amount)
         Pay_amt_TZS=(l_amount*EXCHANGE_RATE1)
    else
    l_days = days_between(prorate_end , prorate_start)+1
    day_in_Month=days_between(PAY_PROC_PERIOD_END_DATE,PAY_PROC_PERIOD_START_DATE)+1
    l_amount = (l_amount * l_days) / day_in_Month
         Pay_amt=(l_amount)
         Pay_amt_USD=(l_amount)
         Pay_amt_TZS=(l_amount*EXCHANGE_RATE1)
    return l_amount, message,Pay_amt,Pay_amt_TZS,Pay_amt_USD
    Appreciate all your responses/help/assistance!

Maybe you are looking for

  • Help with Intranet DB app..

    I am looking into Oracle for building an intranet database application for at most 10 users and ~1GB database. I am having trouble determining which licenses I would actually need. I just want to be able to add,edit, and feed sql queries into pre-gen

  • Error message when starting firefox

    since I've installed the latest update (firefox 4.0.1) I get the following error message when starting firefox: '''Type Error: Components.classes [TvPwm Component_CID] is undefined''' I must then click on OK to get firefox to open => very annoying! I

  • Workflow not yet implemented

    Hi Guys When I am trying to launch my workflow in MDM I am getting a error message saying Work flows "not yet implemented" Please guide me with the step I am missing I completed all the basic steps. and I am using Trigger action is Record Add Max rec

  • CM-ImportDriver and Get-ChildItem

    I am trying to use the CM-ImportDriver Cmdlet and running into a problem.  After I import the module, I change my site to ABC1:.  From there, I cannot use Get-ChildItem for a UNC path and the CM-ImportDriver throws an error saying it needs a valid dr

  • Sony 8mm into iMovie

    I have loads of old 8mm tapes to get into my imac but cannot find a good device to do it with in the uk market. I have found the Pinnacle Dazzle or something like that but it dont get a good right up. I have also seen just leads, can the imac do all