Calculate Avg basic of an employee

Dear Friends,
Is there any function module where I would get the avg of BASIC from IT0008 for the past 10 months ? Can anybody help me in developing this logic ? This is very urgent.. Please help me.
Regards
Radha Madhav

Hi,
The BAPIs suggested in the earlier replies read the Basic Pay from the Employee Master Data.. If you want the average of what the employee actually got paid over the last 10 months, you will have to read it from the Payroll Results.
Regards,
Suresh Datti
P.S. I guess you are still new to SDN.. PL reward all helpful answers(against your other open threads too)

Similar Messages

  • Calculate Avg  for the given months based on the no. of days in months

    Dear Experts
    I  have a report in which there is a characterictic claenderyr/month.The Input paramter is claenderyr/month which is restricted by a variable of type interval. i mean user will enter calenderyr/month as interval say 012010 to 06.2010. Now I have to calculate Avg sale Qty for the given months based on the no. of days for the given range of months. How I can achieve this in BW Query. Pl. advice
    Dinesh Sharma

    Hi,
    Create formula for the sales qty.
    maintain the exception aggregation as average based on calday
    Best Regards,
    M.H.REDDY

  • Can we create routine for PO excise duty should calculate at basic amount

    Dear All,
    can we create routine for Purchase order excise duty should calculate at basic amount not after discounted value.
    actually at per current  scenario  system is calculating excise duty after discount base amount, but
    we want to write a routine/scenario excise duty should calculate at basic value not after discount value.
    Regards
    chandrashekar

    Hi,
    In my opinion you have two alternatives to resolve your problem:
    1. To customize some special solution for this; this can be made by adding a new pricing condition similar with the VAT pricing condition (let's call it ZMWS); this pricing condition should be as absolute value and accepted as manual in the document / pricing procedure
    2. Something similar to your solution (I have used this for some customer) to have in the credit memo two lines, one with VAT and one without VAT; the one without VAT should have a negative price = price from the line with VAT.
    For this second solution I would recommend you to have two different special materials "DUMMY" materials, lets say "DUMMY without VAT" and "DUMMY with VAT"
    BR,
    Valentin

  • How to calculate the salary of the employees when they are differentiated by monthly and hourly basis

    Hi all
    How to calculate the salary of the employees when they are differentiated by monthly and hourly basis
    How can we write the logic though sql
    Thanks in advance

    (case when pay_basis like 'HOURLY'
    then PROPOSED_SALARY_N*pay_annualization_factor
    when pay_basis like 'ANNUAL'
    then PROPOSED_SALARY_N*pay_annualization_factor
    end )
    I was actually trying to write the logic in this way but it was not calculating in correct format for hourly paid employees

  • System doesnt calculate avg as per the period

    i have one query, this is the most crucial issue going on at my firm
    Please advice
    Suppose there is an item.its purchased all round the year from jan to dec
    ORG in which its being purchased and transacted, issued, received is using avg costing method
    so all round the year it would have moving average, which would be varying ..
    now in dec , i decide to transact that item in a back date, say for example march..
    in this case, the system should take the avg cost that was in march or should it take the avg cost which is currently in the system.
    and if it should take the avg that was in march, than all preceding months avg should be updated.
    If it takes decembers current avg, than also all avg from march till dec should be updated by the system
    Please advice wats the correct logic and system action
    thanks
    Muhammed

    use fm hr_hk_diff_bt_2_Dates
    pass gbdat from pa0002 and sy-datum to calculate the age as per system date
    br,
    vijay

  • How to calculate avg value in bex

    Hi all
    I have a requirement
    I want to run a query for a particular period say 0032005.
    in the query output value will display for all prior period in different column. for perod 003
    it will display value for 001 , 002 ,003. and
    at the last column  i want calculate the avarage for this 3 period. these should be dinamic.
    if i run this query for period 0052005. query will display value for period 001 ,002 ,003,004,005 and last column will display avarage for the 5 period.
    i am able to diaplay each prior period in different column that is fine. but i am not abel to calculate the avarage column.
    example
    selection screen :
    fiscal period : 0042005
    Query output
    Char 0012005 0022005 0032005 0042005   Avg
         88        99     77       66     (889977+66)/004
    Please any one know about please help with steps.
    Thanks

    I have a requirement
    I want to run a query for a particular period say 0032005.
    in the query output value will display for all prior period in different column. for perod 003
    it will display value for 001 , 002 ,003. and
    at the last column i want calculate the avarage for this 3 period. these should be dinamic.
    if i run this query for period 0052005. query will display value for period 001 ,002 ,003,004,005 and last column will display avarage for the 5 period.
    i am able to diaplay each prior period in different column that is fine. but i am not abel to calculate the avarage column.
    example
    selection screen :
    fiscal period : 0042005
    Query output
    Char 0012005 0022005 0032005 0042005 Avg
    88 99 77 66 (889977+66)/004
    I got the resolution as bellow.
    In the Characteristic Property Set it as Suppress Result Rows-> Never. For the key figure Set Calculate Result Rows-> Average of All Values.
    yes it is working fine . but there is a small problem in the column heading for this colume is displying as overall result. but values are displying as a avg value. how can i change it.
    why i ahve to create a text variable. please explain

  • Calculate incentive and reimbursement of employee?

    Hi all,
    I want to calculate the incentive and reimbursement for the employee.
    I am having various g/l account no.s separately for incentive and reimbursement also.
    I am referring t-code fbl3n.
    I want to know if there is any standard fms, or anything like that that will accept my fiscal year date 01.04.2011 to 31.03.2012 ,
    and have parameters for noted items , normal items, parked items, and give me the list for the incentive and the reimbursement????
    Of what else, how can I implement this??
    Regards
    Tarun

    Hi ERP,
    Ya I am using the report with selection screen parameter employee no. and the date.
    So you mean to say i will have to use the payroll cluster ( pc_payresult ) for getting the incentive and the reimbursement???
    I am using an fm named as
    CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
            EXPORTING
              clusterid                    = w_relid
              employeenumber               = ls_tds_1-pernr
              sequencenumber               = w_seqnr            "'00003'
              read_only_international      = 'X'
              filter_cumulations           = 'Y'
            CHANGING
              payroll_result               = it_result
            EXCEPTIONS
              illegal_isocode_or_clusterid = 1
              error_generating_import      = 2
              import_mismatch_error        = 3
              subpool_dir_full             = 4
              no_read_authority            = 5
              no_record_found              = 6
              versions_do_not_match        = 7
              error_reading_archive        = 8
              error_reading_relid          = 9
              OTHERS                       = 10.
    for the payroll cluster results.
    So is it in this that the reimbursment and incentive are also coming??????
    if so under which wage types they are coming???
    Regards
    Tarun

  • Abap-Hr :  Calculate actual basic  pay earned

    Dear Experts,
    I am new to ABAP HR...
    my requirement is : I want the actual basic pay earned ( after L.O.P ) by an employee for a
    particular month,  we view the actual basic pay earned in PAY_RESULT.
    Regards
    Karthik

    Hi ,
    Can you please try F.M 'HR_ECM_CALCULATE_SALARY'.
    Thanks,
    Guru.

  • Calculate avg for each record

    Hello,
    what i want is: i have a table
    SCHOOLBOY (id, first_name, last_name, ...)
    and another table
    MARKS (id, schoolboy_id, discipline_id, mark, mark_type). a schoolboy
    on a discipline (e.g. Maths), a schoolboy can have more marks. i wanna calculate the avg of the marks, but for each schoolboy. then, for example i wanna generate a report containing the first name, last name of the schoolboy, and near, the average of the marks.
    how can i calculate the avg of all marks for each schoolboy ?
    Thanks!
    Edited by: Roger22 on 06.06.2009 01:43

    ok, so i post a working case
    create table schoolboys(
    id  numeric(10)     not null,
    first_name   varchar2(50)    not null,
    last_name    varchar2(50),
      CONSTRAINT sch_pk PRIMARY KEY (id)
    insert into schoolboys values (1, 'John','Michael');
    insert into schoolboys values (2, 'Sorin','Wayne');
    insert into schoolboys values (3, 'Aaa','Bbb');
    insert into schoolboys values (4, 'ccc','ddd');
    create table marks(
    id  numeric(10)     not null,
    schoolboy_id integer not null,
    discipline_id integer not null,
    mark number(2) not null,
    mark_type char(1) not null default 'O',
       constraint fk_schoolboyid foreign key(schoolboy_id) references schoolboys(id),
       CONSTRAINT pk_marks PRIMARY KEY (id)
    insert into marks values (1, 1, 4, 10,'O');
    insert into marks values (2, 1, 4, 9,'O');
    insert into marks values (3, 1, 4, 8,'O');
    insert into marks values (4, 3, 2, 10,'O');
    insert into marks values (5, 3, 2, 9,'O');so i created the tables, also i inserted some values. in my example i wanna calculate the avg of the marks for each schoolboy (in this case for 1 and 3) on a specific discipline_id. in that table i can have many schoolboys with many marks at more disciplines. i wanna calculate, for each schoolboy the avg of the marks on a specific discipline.
    Thank you

  • How can i configure hourly rate 9.5 to calculate automatically basic salary

    Dear All,
    Can anyone help on hour to get the hourly rate 9.52 to automatically multiply the monthly hours 173.90 to get the Basic pay monthly amount for hourly employees.
    Regards

    @akspecs -- Yes I was rapidly coming to the same conclusion, thanks.
    Besides, I figured I ought to do it properly and learn how to actually configure and use WINE as it should be, from the command line!
    In the meantime however I'd actually mitigated this problem by committing the ultimate sin -- I installed Windows natively in it's own partition and set up a dual-boot (bring on Steam for Linux so I can remove this evil!).
    It's not even really a 'classic' dual-boot because with my EFI / UEFI mainboard (once I'd got the Windows DVD to play nice) it meant no need to hassle with boot chaining in grub / syslinux etc. Now I have 2 'native' EFI boot options (stored in my mainboard's NVRAM) it's just a case of hitting the button to bring up the boot-menu during POST, then selecting which OS I want to boot -- Arch by default of course!

  • How to Calculate Avg Stock

    Hi Experts,
    User wants to see Avg stock in the report
    say stock values are as following
    MONTH-StockReceipts- Sales- Closingstock 
    1-          365-     12-     353
    2 -          0-     89-     264
    3-          0-     80-     184
    4-          0-     110-     74
    5-          0-     12-     62
    6-          365-     24-     403
    7-          0-     110-     293
    8-          0-     12-     281
    9-          0-     67-     214
    10-          0-     90-     124
    11-          0-     100-     24
    12-          0-     24-     0
    if user enters 01.01.2011 to 31.12.2011
    Avg stock  should be 189.6(this is the avg of closing stock)
    in this example total Stock Receipts 730, Sales 730 and Clsoing stock on 31.12.2011 is 0.
    in the Report along with this Avg stock there are other key figures also.
    how can we calculate the avg stock value based on every month closing stock between the time interval.
    say if user enter 01.01.2011 to 31.12.2011 then i ahve to consider the 12 periods closing stock
    Regards,
    Chandra

    Dear Chandra,
    Are those months 1 2 3... all selections? i.e there is no calmonth out of the structure isn' it? Then yes my reply doesn't work.
    Because the formula is wrong.Not the key figure .I think you don't have to create lots of key figures.This unique key figure of closing stock is restricted by the user's input and takes the value of everything between that input.E.g if the user inputs 05.02.2011-17.08.2011 then the key figure must take the sum of the values of closing stock between that date, in my opinion.
    Now let me correct the formula, you must divide this key figure to the number of months(forget about the average, it was wrong). And number of months between the user input interval must be calculated by the ABAP code i.e a user exit variable.
    Hope it helps,
    Sunny

  • Report to calculate avg response time for a transaction using ST03.

    Hi Abap Gurus ,
    I want to develop a report which calculates the average response time(ST 03) for a transaction on hourly basis.
    I have read many threads like in which users are posting which tables/FM to use to extract data such as  dialog step and total response time .
    I am sure many would have created a report like this , would appeciate if you can share pseudo code for same.Any help regarding the same is highly appreciated...
    Cheers,
    Karan

    http://jakarta.apache.org/jmeter/

  • OBIEE report to calculate avg daily demand by month and product line

    Hello,
    I have a requirement to calculate the average daily demand by month for each product line.
    Each Manufacturing Org has the list of working days for the month.
    Mfg Org
    Month
    Working days
    M1
    Jan-14
    23
    M1
    Feb-14
    20
    M1
    Mar-14
    21
    M2
    Jan-14
    20
    M2
    Feb-14
    20
    M2
    Mar-14
    20
    The data for demand in fact table is by day, Item, Org, Dem Qty
    Item rolls into Product Line
    Based on when the MRP plan was run the number of working days for the month reduces.
    So for eg if the MRP plan was run on 15 Jan then the number of working days reduced to 13 days.
    Then the average demand for Jan will be all demand in Janurary/ # of working days left in January ie 13
    The the average demand for Feb will be all demand in February/# of working days in February.
    So how can I dynamically calculate the average daily demand by Org and product line based on when MRP plan completion date
    Any pointer highly appreciated
    Thank you

    What else you need?
    looks like you got #working days for the month, use that metric as of jan 15th

  • How to Calculate Seniority of an Employee in Time Evaluation????

    Hi All,
    I am working on Carry Forward of the Vacation Quota from one year to the next.
    The number of hours of the Vacation Quota that an Employee could carry forward to the next year is based on the Seniority of the employee.
    My question to you all is:
    How do I calculate the Seniority of an employee in Time Evaluation, say using a PCR or so???
    Any suggestion from you on it is highly welcome.
    Looking forward to hear from you soon.
    Regards,
    Aslam

    You can write your PCR by quering on the IT0041 date type - Hire Date.

  • Logic to calculate average number of employees per day...

    Hi,
    In an internal table, i have employee number, start date, end date.
    This table shows employee's start and end dates for a cost center.
    Now, the requirement is to calculate the average number of employees available per day for a given period...
    Lets asume that we would like to calculate average number of employees per day for a given period of 30 days (01.01..2009 to 30.01.2009)....
    The above table will have around 20 employees with their start and end date.
    Among these 20, some may be present between 1st to 10th Jan only..
    In such case, How to calculate average number of employees per day in such case?
    Can anyone help me out with a rough sketch of logic for this calculation?
    Thanks in Advance,
    Pavan

    My Logic:
    1) First choose dates from which date to which date you are planning to calculate. [Here i am trying to calculate from Jan 1st 2008 to till date - March 3rd 2009 = So total days = 427 days]
    2) First try to count number of days worked in organization by each employee. [Lets take employee a = 10 days, b = 182 days, c = 427 days].
    3) Then total all the number of days. [abc = 10182427 = 619 days].
    4) Total number days / Total number of days worked = 619 / 427 =  1.44 employees per day.
    Employee     Emp-Start Date     Emp-End Date     No. of days
    a             Jan 1st 2008     Jan 10th 2008     10
    b             Jun 1st 2008     Jun 30th 2008     182
    c            Jan 1st  2008     3rd March 2009     427
              Total No. of days                     619
         From Jan1st 2008 to Till date 3rd March 09          427
              619 / 427 =     1.449648712
    I tried take simple example to recheck the above scenario is correct or not. If 'n' number of employees worked for an organization in a year (365 days) is 730. then per day = 730 / 365 = 2 employees per day worked for organization.
    I am not sure my logic is correct or not ... just tried like above.
    Regards,
    ~Satya

Maybe you are looking for

  • My iPhone 4 fails to restore. Using iTunes, at step 3 of 4, displays "Restarting Sync" and goes to step 1 of 4, and then forever.

    It all started with a blank screen on a frozen iPhone. Doing the sleep and home button reset seemd to solve the problem, but then the apple logo started to show in the middle of calls, and finally, mail, camera, facebook and pulse apps failed to star

  • How to change net price of order in B2B webshop

    Hi All, I have a requirement where a new input field (discount) is to be added in 'order.jsp' page of B2B webshop in header level. when a user enters some discount in it and clicks 'update' button, the netprice in header should be reduced by given di

  • Can someone help with my start up page ?

    Hi ! I have done very nice page using iWeb 1.1.1 but while trying to make it as a start page, I have changed some removed some index.html on my iDisk and copied there a new page - It is quit complicated... But what I wanted to say is that: http://web

  • Peripherals with AIR Desktop app

    Hi all, I am a college student looking to utilize air for a senior project. I plan on using HTML/CSS/AJAX to build the application and was interested in trying to used a card reader as part of the project that would send information to the applicatio

  • Hard Real time kernel

    Hi, This might not be the right place, but Sun used to sell a real "hard real time", kernel. I cant seem to find any reference to this on their site anymore. Does it still exist ?, can we still buy it ?, where do I go to find out more information ?.