Skip to Content
avatar image
Former Member

how to get weekly/hourly salary of employees?

Hi All,

Iam fresher in ABAP and now iam doing one report in HR. In that report i have to calucalate weekly/hourly salary of employees, but my confusion is how can i deteremine whether that employee is working as hourly / weekly basis?

Anybody can help me ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 09, 2006 at 11:38 PM

    Hi Ranjith,

    In order to know whether the employee is paid hourly/weekly/monthly, you need to do the following:

    1. Get the Employee Group (PERSG) and Employee Sub group (PERSK) from Infotype 0001

    2. Read the table T503 to get ABART (Grouping for Personnel Calc. Rule) for the given PERSA and PERSK.

    Based on the following ABART values you can decided how the employee is getting paid:

    1 - Hourly

    2 - Periodic (wage)

    3 - Periodic (salary)

    4 - Every 14 days (total)

    5 - Weekly (total)

    6 - Two-month period

    7 - Two-month period

    8 - Daily

    9 - Annually

    The above values for ABART are fixed by SAP and cannot be customized.

    Hope this clarifies your doubt.

    Thanks and Regards,

    JP

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Rajith,

      This function module will return different types of employee salary, hourly, weekly, monthly..etc.

      The export parameter from the fn.module P_WEKLY will get you the weekly salary.

      I don't understand clearly about your statement 'but l_zeinh getting like 1, 2 .. numbers '..

      If not solved, please explain clearly with your question.

      Good luck.

      Venu

      Hope it helps. Please close the issue with appropriate points if helpful.

      Good luck.

      Venu

  • avatar image
    Former Member
    Feb 09, 2006 at 01:51 PM

    Hi,

    U can check this field PA0001-ABKRS(Payroll Area)

    this gives whether the employee is working on

    hourly / weekly basis.

    Regards,

    GSR.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ranjith,

      You can get all the info from an employee's Basic Pay Record (0008). The Pay Scale Group should tell you whether the employee is hourly etc.. and the actual Rate is tied to a Wagetype. If you display an employee's 0008 record in PA20, you will get an idea.

      Regards,

      Suresh Datti

  • avatar image
    Former Member
    Feb 09, 2006 at 01:56 PM
    Add comment
    10|10000 characters needed characters exceeded