Factoring based on 26 days

Hi friends
The client requirement is to calculate payroll based on 26 days flat.  I am sure we will face issues in the month of February where we have only 24 working days and month like March(27 days), April(25 days), May(27 days) and August(27 days). Could anyone please adivse me on the possibile problems which can occur if we go for this.  Would like to understand the scenarios in case if some employees leaves or joins in the middle of the month and what would be the payroll calculation.
Friends please help.
Santhosh.S

Hi
Could you please help me with an example like if the employee join on 12th Feb what would be his salary for that month likewise if an employee resigns in the month of March. 
Regards
Santhosh.S

Similar Messages

  • Calculation of due date based on Business Days for FICA documents

    Hi All,
    I am working on project where SD - FICA integration is in picture. We post some charges through SD and FICA document gets posted on relevant Contract Account.
    Normally we create Sales Order using transaction VA01 and then we do Billing for this Sales Order through VF01. After billng is done, FICA document automatically gets generated.
    We have following requirement to be fulfilled.
    For the SD bills posted as above, I want to calculate due date of these bills based on Business Days for FICA document generated (SAP Standard calculate due date based on Calander days). We can use factory calander for calculating business days in relevant function module.
    I have checked in the system and it seems that event 1330 ( FM - ISU_DUE_DATE_DETERMINE) is not working in this scenario. Is there any other FM which I can use?
    Can anyone help me on this?
    Regards,
    Pradeep

    Hello Praeva ,
    The event 1330 has a sample FM FKK_SAMPLE_1330. It doesnt even have a Standard Function Module.
    You need to create a Installation-Specific FM and put your code to determine the Due Date based on the logic.
    Rgds
    Ram Kumar.

  • OBIEE filter result based on current day of Month

    Dears,
    I am running an exercise to restrict all available data in my table based on current day of month (less than or equal to), what I am having a trouble in is that when I create a variable in prompt (just to test the query) the below sentence works where when adding it the Criteria body an error happens:
    SELECT DayOfMonth(CURRENT_DATE)-3 FROM  "Anysubjectarea" (it works)
    but the below won't:
    Error getting drill information: SELECT  Month("DIM_TIME"."MONTH") saw_1, Day("DIM_TIME"."DAY") saw_2 FROM "AGGR_REVENUE" WHERE ("DIM_TIME"."YEAR_ID" IN (2014, 2015)) AND (Day("DIM_TIME"."DAY") <= (SELECT DayOfMonth(CURRENT_DATE)-3 FROM "AGGR_REVENUE"))
    any help?
    Moreover, I have no rich experience in OBIEE, is not there any place to test the query before applying it? If it's a product of ORACLE, why Select sysdate from dual is not working work???
    P.s: I have no access to create a repository variable

    Hi,
    Why do you want to use a "SELECT ...." in your filter? There is no added value in having a subquery in the filter except a slower analysis in your case.
    Just add a filter to your "DIM_TIME"."DAY" column and check the "convert this filter to SQL".
    And just write your condition there :
    Done !
    In the Administration you have a link named "Issue SQL" where you can enter LSQL and execute it if you want.
    For your last point I guess you are forgetting what OBIEE is ... "Select sysdate from dual" is a query for Oracle Database, OBIEE doesn't "speak" SQL but uses LSQL, so you need to use the correct syntax for LSQL. Also the point of OBIEE is to hide your sources and not be limited by the physical source available in your RPD. Did you try to run a "Select sysdate from dual" against an Excel file? Does it work? Not really (or you have a really smart Excel).
    But if you run the same LSQL against an Oracle DB, an Excel file, an Essbase cube they all give you the same result: that's the power of LSQL, adding an abstraction layer on top of your multiple physical sources and have a single language to interact with all of them ...

  • Prop Factors based on Like Model

    I got a Product A , which uses history of 3 SKU's B, C and D with Like Profile.  When i generate Prop Factors for A, system not able generate Propfactors.  Is it not possible to generate propfactors based on a Like Profile. Any help is appreciated.
    thx
    Jeff

    Thx Dan for your input.  The problem is, When i generate the forecast of Like Model assigned product.  The time based disagg is not working properly.  In a month, if u got 4 full weeks and 1 partial week, the data getting disaggregating equally among all the weeks, including split week.  System is considering the split week also as a full week( With 7 days) and allocating quantity accordingly.  Our disaggregation logic for time based disagg is APODPDANT.  This error we are seeing only for Like Model assigned products only. If i use any regular products, the disaggregation is working fine.  Even though we got the same setting in Test environment and production, the data is getting disaggregating correctly in quality, but its not the same case in Production.  I am not able to come up any logic, why this is happening.
    I tried different options, like,  zeroed out the stat fcst and copied prop factors from different SKU and then generated forcast, still the disagg logic is not working.
    System behaviour:
    Feb 09 got 28 days, the total quantity is 2800, Feb1st is a single day in that split week.  Instead of getting 100, its getting 2800/5 = 560
    Any input is appreciated.
    thx
    Jeff

  • Factoring based on Gross pay

    Dear Experts,
    We have a bit complex scenario regarding mid month joining and separation proration. Its like, Gross salary is reduced by the total absence amount.
    Formula is like: {Prorated Housing (Housing/30days x no.of days no worked)/Hourly Rate (Basic/195) + Total no. of hours not worked}/195 * Gross salary.
    I have been able to segregate this proration calculation of basic and housing by using factor 1 and 3 respectively and both individually has been reduced as per the formula given above i.e. Prorated Housing (Housing/30days x no.of days no worked), Hourly Rate (Basic/195 x number of hours worked).
    Now issue is how we can achieve this reduction on Gross salary scenario with our reduction factors, which is basically assigned wagetype wise in Pr.class 10.

    Hi Promod,
    Yes i can try by reducing directly /101, but issue is here, how we can achieve the reduction formula like
    {Prorated Housing (Housing/30days x no.of days not worked)/Hourly Rate (Basic/195) + Total no. of hours not worked}/195 * Gross salary.
    Prorated Housing (Housing/30days x no.of days not worked)/Hourly Rate (Basic/195)= This is basically calculating absence hours for housing + basic which is again being added with Actual absence hours.
    Please help
    Regards
    Tandrima

  • Currency Translation based on Last Day of the Acquistion month

    Dear all,
                Request to help me in understanding how we can calculate the currency translation rate as per the last day if the acquistion month..
    For Example if the  Acquistion date : 01/01/2008 (mm/dd/yyyy) the currency translation should happend based on the rate maintained as on 31/01/2008.
    Thanks
    Pavan Kumar Prakhya

    First, you will need to convert the actual acquisition date to the end date of the Fiscal Period. This can be done by using two separate Function Modules. First, get the actual Fiscal Period by entering the date and Fiscal Year Variant into the DATE_TO_PERIOD_CONVERT Function Module. Use the Fiscal Year and Fiscal Period from this and determine the end date of the Fiscal Period by using Function Module LAST_DAY_IN_PERIOD_GET with Fiscal Year, Fiscal Period and Fiscal Year Variant as your inputs.
    For the conversion, use the Function Module CONVERT_TO_LOCAL_CURRENCY. The inputs for this would be the last date of the Fiscal Period, the amount to be converted, the from currency code, the to currency code, blank in rate, AS01 in type of rate and X in read TCURR. This assumes, however, that month-end rates (rate type = AS01) have been loaded into your source system and these rates have been transferred to your BW environment.

  • Suggestion :  Have the "Top Users in Forum" report based on 30 days

    Currently, the "Top Users in Forum" listing is based on cumulative points. This means that we will never see "rising stars !".
    If the list were to report based on, say, points earned in the past 30 days, we'd at least be able to note some "rising stars !"
    Hemant K Chitale

    Hemant K Chitale wrote:
    Currently, the "Top Users in Forum" listing is based on cumulative points. This means that we will never see "rising stars !".
    If the list were to report based on, say, points earned in the past 30 days, we'd at least be able to note some "rising stars !"
    Hemant K ChitaleCan Jive handle the extra processing required to maintain both overall points for the persons status AND points in the last 30 days for the Top Users lists, per forum? Jeez, it can hardly handle serving the threads, don't give it more work to do. If we want anything we want the little dotty things back, at least they were useful, unlike the points system.

  • Calculate quantity based on the day

    Hi All,
    I have a requirement to calculate average quantities/day  based on variable entry.
    Date : variable ( range, mandatory)
    Based on the user entry , the report should display quantity
    average quantity on mondays ,
    average quantity on Tuesday ,
    average quantity on Wednesday ,
    average quantity on Thursday ,
    average quantity on Friday ,
    for ex : march 01,2010 - march 15,2010 ( user entry)
    in that date period we have three mondays (1,8,15)
    the report should display average quantity for mondays and so on for otherdays..
    any suggestions on how to proceed...
    srinivas
    Edited by: srinivas reddy on Mar 15, 2010 10:02 AM

    Hi,
    I dont know if others have a better solution, but if I were to suggest something, it would be to create a an infoobject to store the days, include it in your infocube.
    The based on the date, it will populate the day in your infocube. Include this new infoobject into the report, then create restricted key figures using the new day infoobject to restrict.
    Hope you could follow what I suggested and its useful for you.
    regards,
    Gary.

  • Absence days caliculation based on working days  HR ABAP

    Hi experts,
    I am developing one report that is for Variable Bonus report. We are evaluating the data based on the Variable Bonus period  based on Selection-screen. for ex: 01.04.2007 to 31.03.2008
    There is one record in the IT2001 with begin date 26.01.2008 end date 25.07.2008 for the absence type 0620(Unpaid leave). But our Variable Bonus  period is 01.04.2007 to 31.03.2008. I want to calculate absence days for the above record from 26.01.2008 to 01.04.2008 and 26.01.2008 to 31.03.2008 
    Please let me know any function module which gives me exact absence days.
    i have tried RKE_SELECT_FACTDAYS_FOR_PERIOD... but its giving based on factory id but in my requirement the working days differ from each employee ...for ex:  5 working days in a week or 5.5 working days in a week, 6 working days in a week ....for each employee....
    Please suggest me what could be done to achieve this.....
    <REMOVED BY MODERATOR>
    Thanks in advance....
    Sreenivasa Sarma K.
    Edited by: Alvaro Tejada Galindo on Apr 9, 2008 6:02 PM

    Hi sudheer,
         Thanks for your reply. 
          Yes i need to caliculate the absence days based on S_vbpd(vb period from selection screen). but here in IT2001 Absence day are maintained as contract period ... for example..
    vb period   01.04.2007 to 31.03.2008
    start date                  end date
    25.03.2007     03.04.2007
    20.03.2008     05.04.2008
                  01042007                                          31.03.2008
    ___________|___________________________________|_____
    25032007        03042007     20.03.2008                   05.04.2008
    But system caliculating absence days for period 25.03.2007 to 03.04.2007 and 20.03.2008 to 05.04.2008 in infotype IT2001 total but i need absences from VB period start date and contract enddate(01.04.2007 to 03042007) next period (20.03.2008 to 31.03.2008).
    Please help me for the above scenario.....i hope i made it clear my requirement...
    Regards,
    Sreenivasa sarma k.

  • How to fetch the data records in summary format based on previous day

    drop table T1;
    create table T1(Class, Fees_Collected, Submit_Date) as select
    'MBA', 100000, '7/30/2012' from dual union all select
    'Btech', 20000, '7/10/2012' from DUAL union all select
    'MBA', 45000, '8/1/2012' from dual union all select
    'Btech', 55550, '7/31/2012' from DUAL union all select
    'BBA', 250660, '7/30/2012' from dual union all select
    'MBBS', 44556000, '7/31/2012' from DUAL union all select
    'BDS', 420050, '8/1/2012' from DUAL union all select
    'BBA', 30450, '7/30/2012' from DUAL union all select
    'MBBS', 120450, '7/31/2012' from DUAL union all select
    'BDS', 45950, '7/30/2012' from DUAL union all select
    'MBA', 252450, '8/1/2012' from DUAL;My requirment is to fetch the records based on summary format to display the data with following columns -
    Class |Prev Day Traded Value |Prev Day % of Total |Prev Day % MBA
    Note - Previous Day definiton (Buisness Day) = calendar days - (weekends + US Holidays)
    Kindly help me, as i want to keep it customized so that without specifying the hard coded dates ( Previous Day) it runs through and provide me the resultset....
    All of your help and time is highly appericated.

    You mean business days I guess ?
    I use a function (I had to write it myself) <tt><b> next_business_day(p_start_date in date,p_days_count in number) return date </b></tt>
    where I loop forward/backward from p_start_date according to the sign of p_days_count the required number of steps skipping weekends and holidays as the absolute value of p_days_count is mostly under 30 for the rest (at least around here) Oracle's <tt><b> add_months </b></tt> gets it done.
    Regards
    Etbin
    Edited by: Etbin on 6.8.2012 17:55
    Year till date: <tt><b> your_date between trunc(sysdate,'year') and sysdate </b></tt> is it ? http://en.wikipedia.org/wiki/Year-to-date ?
    Edited by: Etbin on 6.8.2012 18:27
    NOT TESTED!
    function next_business_date(p_start_date in date,p_count_days in number) return date is
      steps  number := abs(p_count_days);
      retval date := p_start_date;
    begin
      if p_start_date is null or p_count_days is null then
        return to_date(null);
      end if;
      while steps > 0
      loop
    /* skipping weekends and (yet to be implemented) holidays */
        while to_char(retval,'dy') in ('sat','sun') /* or is_holiday(retval) */
        loop
          retval = retval + sign(p_count_days);
        end loop;
    /* retval contains a business day now */
        retval = retval + sign(p_count_days);
        step := step - 1;
      end_loop
      return retval;
    end;

  • Conditionally Color a row based on the Day of the Week for that row ?

    Hi,
    I have a Table containing some timing entries for each day. I have been trying to format some rows depending on a value in one of the columns for that row. What I would like to achieve is color the cell background gray for every row where the Date found in the first Column isn't a Week Day.
    I have been trying many things by now, but can't seem to figure it out. Does anyone have suggestions ? I have included a screenshot of what I would like to achieve :
    Thanks a lot in advance,
    Stefaan
    Message was edited by: Stefaan Lesage

    Variations on my post linked in Badunit's message here:
    You'll need a second table with one column and as many rows as Table 1 (which contains the dates).
    The formula for Table 2 assumes the dates are in column B of Table 1.
    =OR(WEEKDAY(Table 1::B)=1,WEEKDAY(Table 1::B)=7)
    Enter the formula in the same row as the first data row in Table 1, and Fill it down.
    Rule for conditional formatting for all cells in Table 2: Equals TRUE
    Other instructions as in the linked message.
    Regards,
    Barry

  • Payment terms should calculate Payment due date based on working days

    Hi Experts,
    As we know that standard SAP calculates Payment due date= base line date + number of days maintained in payment terms. In this payment days are considered as calendar days and not the working days.
    Example: If base line date is Thursday, payment terms says 3 days then payment due date is calculated as Sunday ( which is not a working day as per the factory calendar I use). The requirement is that payment date should be calculated as following Tuesday considering Satuarday and Sunday are not working days as per the calendar.
    Can you please suggest how can we achieve this?
    Thanks,
    Ravi

    You can not acheive from config pooint of view but you can use BADI and get the solution
    use BAdI MRM_PAYMENT_TERMS to set terms of payment
    You can use this Business Add-In to change the following fields for the 
    terms of payment in the invoice document header:                        
    o  ZFBDT: Base date for due date calculation                            
    o  ZBD1T: Discount days 1                                               
    o  ZBD1P: Discount percentage 1                                         
    o  ZBD2T: Discount days 2                                               
    o  ZBD2P: Discount percentage 2                                         
    o  ZBD3T: Deadline for net condition                                    
    o  ZLSPR: Key for payment block

  • Urgent : Bill Qty based on Fisrt day of Previous week to current week

    Hi,
    I have to create a Restricted Key figure.
    Bill Qty is to be restricted on a day, which is first day of previous week.
    (1) I have restricted KF, with Current Week SAP exit variable.
    (2) Restricted KF, with Calendar Day (Variable ZDATE, customer exit type).
    (3) I have written Customer Exit in CMOD...
    data: LT_RANGE  type  RSR_S_RANGESID,
          LS_VAR_RANGE like RRRANGEEXIT.
    case i_vnam.
    when 'ZDATE'.
    if i_step = 2.
    break-point.
    loop at i_t_var_range into ls_var_range where vnam = '0CWEEK'.
    data: var1(2) type c,
          var2(4) type c,
          var3 LIKE SCAL-WEEK,
          date1 like scal-date,
          DATE2(10) TYPE C,
          MNTH(2) TYPE C,
          DAY(2) TYPE C,
          YEAR(4) TYPE C.
    var1 = ls_var_range-low(2).
    var2 = ls_var_range-low(4).
    concatenate var2 var1 into var3.
    CALL FUNCTION 'WEEK_GET_FIRST_DAY'
      EXPORTING
        WEEK               = var3
    IMPORTING
       DATE               = date1
    EXCEPTIONS
      WEEK_INVALID       = 1
      OTHERS             = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    MNTH = DATE1+4(2).
    DAY = DATE1+6(2).
    YEAR = DATE1+0(4).
    CONCATENATE DAY '/' MNTH '/' YEAR INTO DATE2.
    lt_range-low = date2.
    lt_range-high = date2.
    lt_range-sign = 'I'.
    lt_range-opt = 'eq'.
    append lt_range to e_t_range.
    endloop.
    endif.
    <b>BUT I AM GETTING ERROR -</b>
    00010004              AError for variable in customer enhancement ZDATE
    Please suggest any idea..
    Thanks
    saurabh

    Hi Saurabh,
    Please try this dample code
    WHEN 'ZDATE'.
    DATA: Z_WEEK TYPE SCAL-WEEK.
    *Determine current week from SY-DATUM
            CALL FUNCTION 'DATE_GET_WEEK'
              EXPORTING
                DATE               = SY-DATUM
              IMPORTING
                WEEK               = Z_WEEK.
    *Determine first day of current week 
            CALL FUNCTION 'WEEK_GET_FIRST_DAY'
              EXPORTING
                WEEK = Z_WEEK
              IMPORTING
                DATE = LT_RANGE-LOW.
    LT_RANGE-SIGN = 'I'.
    LT_RANGE-OPT = 'eq'.
    APPEND LT_RANGE TO E_T_RANGE.
    Regards
    Joe

  • Payment terms based on working days

    Dear colleagues
    I would like to base payment terms on, for example, the last working day of the month, or the last working day of the trimester instead of working with fixed days.
    Would someone know if this is possible and if so, how can that be arranged?
    Thanks and regards,
    Marlies

    Dear,
    as far as I know, this is not possible into the SAP Standard System.
    I'm sorry about it.
    Mauri

  • Set default value based on current day value and setItems in Design studio

    Hello
    I have 2 filters on my dashboard - year and month. The default display of the dashboard should populate current year data. Is it possible to create formula to populate dynamic default value based on the current date using setSelectedValue() ?
    Also, for the calendar month, the items are set as below
    DD_MONTH.setItems(DS_1.getMemberList("0CALMONTH",
    MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 12, "ALL");
    This displays month values as 01/2014, 02/2014 ... How can I change these value to display as January if mm = 01 and February if mm = 02 etc..
    Thanks
    Sirisha

    Hi Victor,
    I have tried using below statment to populate current year as the default selection value for the dropdown. Used it on Startup, but for some reason it loads all the data when the dashboard is opened the first time. Any ideas?
    DS_1.setFilter("0CALYEAR",[Convert.subString(APPLICATION.getInfo().dateNowInternalFormat, 4,6)]);
    Thanks
    Sirisha

Maybe you are looking for