Employment period Calculation

Hi,
How can we calculate the employment periods of an employee, in my case after completion of one year an employee is going to get eligibility of plans. for this how can i proceed.
With Regards,
Sushma.

Hi
<b>Where you have to calculate ?</b>
<b>Is it going to solve by report ?</b>
You just doing it manually then .
it will going to solve by just simple coding.
It should be done automatically and give you desired result choose automatically the paln pay accordingly then there is other way.
<b>Exactly why you are using it ?</b>
Manoj Shakya.
<b>Reminder : Points should be given on answers.</b>

Similar Messages

  • AR/AP & SALES for period  CALCULATION on top of 0FIAR_C03/0FIAP_C03

    hi,
    i want to create DSO/DPO report on top of 0FIAR_C03/0FIAP_C03 line item cube .so please tell me in detail on how to calculate account recievable/account payable  & sales for the period calculation by just  having credit and debit as keyfigures.  Please specify in detail
    Expect a quick reply...
    Thanks & Regards,
    Montz
    Edited by: montz2006 on Aug 2, 2010 7:33 PM

    Guys  ,
    Plz reply....

  • "Previous Period" Calculation

    I'm building a 12 monthl trend reports in Deski and need to call a previous period value (which i halve already retrieved in the query) into a current period calculation. The example would be "Installation Revenue divided by Previous Period Installations".  Is there an easy way to do this?

    You try to create a variable using the "Previous" function in Deski and use this variable in your calcualtion.

  • Calculation of employment period

    hi experts,
    can u please tell me how can we use this infotype???

    Hai....
    try this FM...
    HRCM_MATRIX_SERVICE_TIME

  • Grace period calculation Issue

    Hi Gurus,
    in oba3 i created a tolerance group for which the grace period is 3.
    i assigned this tolerance group to my customer,so that the due date is extended to 3 days from the due date.
    i have a payment term which gives 5% cash discount when paid within 15 days and item due in 15 days.
    i have a customer invoice whose baseline date is 18.08.2010. The item should be due only on 18.08.2010 + 15 + 3 = 05.09.2010, with the cash discount.
    05.09.2010 is a sunday.
    my query is, my customer decides to pay the item on next business day,06.09.2010,monday and looses his cash discount. which should not have happend.
    how can we solve this issue.ie, the due date calculation by adding grace period should exclude weekends and public holidays.
    what i have tried is, maintaining entry in obba for my house bank which calculates the value date.
    but it didn't prove succesufull. i am using f-28 to manually clear the customer invoice created using f-22.
    someone sleep over this and help me
    thanks and regards,
    ficoguy.

    Hi,
    Try function module HOLIDAY_GET, snippet of code:
    CALL FUNCTION 'HOLIDAY_GET'
           EXPORTING
                holiday_calendar           = 'ZA' - (Country e.g. South Africa)
                factory_calendar           = 'ZA' - (Country e.g. South Africa)
                date_from                      = HOLIDAY_DATE_FROM
                date_to                           = HOLIDAY_DATE_TO
           IMPORTING
                returncode                      = return_code
           TABLES
                holidays                          = holiday_tab
           EXCEPTIONS
                factory_calendar_not_found = 1
                holiday_calendar_not_found = 2
                date_has_invalid_format    = 3
                date_inconsistency         = 4
                OTHERS                     = 5.
    Regards,
    Vuyo

  • Fiscal period calculation

    Hi,
    I have a requirement wherein I need to get the following information.
    I have a Fiscal period for Post_period1 which refers to the MARV-VMGJA/ MARV-VMMON,  and another Fiscal period as  Post_period2 which refers to  MARV-VMMON.
    I need to find out the fiscal period by deducting the posting period2 from posting period1
    e.g. 2010/03 is the post_period1, 12 is post_period2 . I want the value which will be  "2010/10 - 12". How can I achieve this?
    Regards,
    Vaishali.
    Edited by: Vaishali Rautray on May 21, 2010 4:40 PM

    Does the below thread helps you, check?
    Re: Posting Period Date Calculation
    Regards,
    Jilan

  • Arbitrary time period calculation.

    How to do time series calculations for custom time series which are not sequential.
    We have time period called diet which is not sequential like calender date Example given below :-
    May 2012 Diet starts from 24/04/2012 to 16/06/2012 And May 2011 Diet starts from 01/02/2011 to 31/05/2011 diff
    100 50 50
    we need to compare May 2012 diet to May 2011 diet and create a difference column and also need to calculate variance on this. Also need to add other dimension like geography and status
    For this i tried to use Ago function but it wont allow us to calculate as they are not sequential
    Let me know if there is any solution.
    Thanks
    prabhu

    Any one on this ....

  • Inserting an employment period (rehiring/leaving) between two existing ones

    Hi experts,
    I'm coming across another limitation of PA and even if i have very little hope i'm interesting in getting your views on the matter.
    We deal with a large number of fixed term contracts. It can happen for instance that a number of short terms contracts are proactively entered into SAP, for instance contract A from 01.05.2009 to 15.05.2009 and contract B from 10.06.2009 to 20.06.2009. Now it can happen than we need to insert an additional contract within those 2 existing ones, let's say contract Z from 25.05.2009 to 03.06.2009. The user should therefore operate a rehiring action and then a leaving action again. The thing is the system doesn't let you do so and issues an error message following a check on employment status.
    Has anyone any good idea about how to go around this ? Except of course suppressing all future actions and recreating, which i would want to avoid obviously :o)
    Thanks,
    Sylvain.

    for this u need to configure an action   employee inactive  action in  PA40  in before that check the below documentation
    for this scenario u can use the status as 1  which is customer defined
    Employment Status
    Definition
    Status indicators for personnel actions.
    Use
    The three status indicators have the following meanings:
    1. Customer defined: Not used in the standard system. You can use
    this indicator according to your requirements.
    2. Employment: 0: Employee not with company
    1: Employee with company, but inactive2: Employee with company, but as retiree
    3: Employee active in company
    3. Special payment: 0: Special payment: no entitlement
    1: Special payment: standard wage type
    2: Special payment: special wage type
    This special payment indicator is only relevant for the country
    versions of Austria and Spain.
    Procedure
    Each action is assigned the three status indicators STAT1 (customer defined), STAT2 (employment), STAT3 (special payment) in the customizing system.
    When a personnel action record is created, the system automatically fills the Customer defined, Employment and Special payment fields if the action affects the employee's status.
    The first record of the Actions infotype is assigned the status specified in the customizing system. All other records
    have the same status indicator as the new personnel action if this is not BLANK in the customizing system.
    have the same status indicator as the previous record if this is BLANK in the customizing system.
    This applies to all three indicators.
    Edited by: Sikindar on Apr 23, 2009 1:35 PM

  • Posting period calculation

    Hi all,
    I have time characterstics Posting period (0fiscper3).........and i have hierarchy on this.......FY QUATERLY.........
    Now my requirement is in report i need two cloumns one with PRESENT QUARTER and one with PREVIOUS QUARTER...........how to achieve it?
    I tried to create a user entry variable for present quarter but for prvious quarter u cannnot specify offset value, as the option is greyed out.
    Please help

    Hi,
    In one cloumn use the variable whcih has current quarter.
    For previous quarter, create a restricted key figure and restrict it on quarter and give offset value -1.
    Hope this helps...

  • Due this period calculation at report

    hi
    for FI aged debit report i want use this column due this period.
    suppose due date is 10/01/2009  if i enter date 12/01/2009 need to show due date is 2 days ?
    like how can get this at report

    HI Suneel..
    Check this...it can give u some idea...
    no of days caluculation in report
    Regards,
    Debjani...

  • Time Period Calculation

    Hi Experts,
    My requirement is I have equipment 'E'  and this is assigned to some work from 8am to 2 pm.
    If it is again assind to work for the same period or time period which is in touch with between 8 am and 2pm. I have to giva a error.
    Is there any function module to calculate this.
    Or Please send some logic.
    Thanks & Regards,
    B. V. Rao
    Edited by: bala virupaksha on Nov 7, 2008 12:41 PM

    Hi,
    Hi Surabh,
    I am also doing that.
    Are you trying in the internal table? The logic should be via Database table.
    so you need to create a DB table with fields like
    equipment
    start_timestamp  " - Not just time
    end_timestamp           " - Not just time
    To find if the time clashes between already given time, you can build logic like looping through all the timestamps of the given
    equipment and ...
    if new_start_timestamp > db_start_timestamp and
      new_start_timestamp < db_end_timestamp.
       "  stop from proceeding.
    elseif new_end_timestamp > db_start_timestamp and
             new_end_timestamp < db_end_timestamp.
       "  stop from proceeding.
    elseif new_start_timestamp < db_start_timestamp and
             new_end_timestamp > db_end_timestamp.
       "  stop from proceeding.
    else.
    " You can proceed
    endif.
    Cheers,
    Kothand

  • Difficult time period calculations

    I have a monthly report where I have to add up periods of time between different records, without counting any overlapping time twice. Each record has its own start and stop date/time. The length of time from each record's start to its stop can be anything from 1 minute to the entire month. So for example, if there was 1 record that covered the whole month, I wouldn't need to look at any other records, because the whole month is covered. But if not, then I have all these pieces of time covering various parts of the month, some overlapping, some not.
    If A starts at 1/1/01 0800 and
    stops at 1/1/01 1200, and
    B starts at 1/1/01 0900 and
    stops at 1/1/01 1300, then I want to see the combination of these 2 as 5 hours. Other records C, D, ... could be entirely within this time period, or completely disjoint, or partially overlapping it. Again, I can't count any overlapping time twice. I have some lengthy code that does the job, but it takes a long time to run, because I create temp records that reflect the time periods found so far, and I don't add any new temp records that overlap the ones already created. It takes a long time to do all the comparisons. Anybody have any clever ideas for doing this faster?

    Mike,
    I believe this should work for you:
    DECLARE
    CURSOR c1 IS
    SELECT start_date, end_date
    FROM test_table
    ORDER BY start_date;
    v_total_time NUMBER := 0;
    v_start_date DATE;
    v_end_date DATE;
    BEGIN
    FOR r1 IN c1 LOOP
    IF r1.start_date > NVL (v_end_date, r1.start_date - 1) THEN
    v_start_date := r1.start_date;
    ELSIF r1.end_date > v_end_date THEN
    v_start_date := v_end_date;
    END IF;
    IF v_start_date IS NOT NULL THEN
    v_total_time := v_total_time + (r1.end_date - v_start_date);
    v_start_date := NULL;
    v_end_date := r1.end_date;
    END IF;
    END LOOP;
    DBMS_OUTPUT.put_line ('Total time: ' &#0124; &#0124; TO_CHAR (v_total_time) &#0124; &#0124; ' Days.');
    END;
    /

  • Curent period calculation

    gUYS
    I am trying to calcualte amounts which is for that whole year from when user enter the value
    say user enter  as 06-2007 ...then i want to calculate all value from 06- 01 ..2007 and similarly if they enter 10-2007 ...then i want all cumulated value to the begining of the year... that is 10-2007 to 01-2007
    is there ant sap customer exit available?

    Create a customer exit variable, named WYTENT.
    Let say the upper value (entered by the user) will be entered in a single mandatory variable, named WVO_MTHS
    and code this into the ZXRSRU01program.
      when 'WYTENT'.
        if I_step = 2.
          loop at I_T_VAR_RANGE into loc_var_range
          where vnam = 'WVO_MTHS'.
            clear l_s_range.
            concatenate loc_var_range-low(4) '01' into l_s_range-low.
            move loc_var_range-low to l_s_range-high.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'BT'.
            append l_s_range to e_t_range.
            exit.
          endloop.
        endif.

  • Actual sales qty forecast quantity in a single period calculation

    hi experts,
    i have a report requirement to display the report in below format in bex.
    Jan-05     Feb-05     Mar-05     Apr-05     May-05     Jun-05     Jul-05     Aug-05     Sep-05     Oct-05               
    ACT     ACT+FC     FC     FC     FC     FC     FC     FC     FC     FC               
    3,361       3,807       4,833       4,069       4,491       5,935       4,776       4,926       6,386       6,898            
    312       342       457       381       393       544       439       445       634       676                                                          4,340       5,029       5,132            4,890           5,011             4,910             4,111            2,367             4,432
    say for example we are february
    in the bex report it has to display Actual sales qty for jan and act+forecast for feb and remaining months till december it has to display forecast quantities.
    how can i achieve that in bex?
    NOTE: ACTUAL SALES QTY, FORECAST QTY are two different keyfigures.
    regards

    ******Actuals
      when 'ACC_SAL'.
          if i_step = 2.
            loop at i_t_var_range into st_var_range where
                                        vnam = 'UV_CAL'.
              st_range-sign = 'I'.
              st_range-opt  = 'BT'.
              st_range-low  = st_var_range-low. "cper.
    **** Get Current Week.
    *DT = DT - 27.
              CALL FUNCTION 'DATE_GET_WEEK'
                EXPORTING
                  DATE         = DT     "SY-DATUM
                IMPORTING
                  WEEK         = week
                EXCEPTIONS
                  DATE_INVALID = 1
                  OTHERS       = 2.
    **** Get previous week
              DT = DT - 7.
              CALL FUNCTION 'DATE_GET_WEEK'
                EXPORTING
                  DATE         = DT   "SY-DATUM - 7.
                IMPORTING
                  WEEK         = PRV_WK
                EXCEPTIONS
                  DATE_INVALID = 1
                  OTHERS       = 2.
              if  week+4(2) = 01.
                st_range-low  = PRV_WK.
                st_range-high = PRV_WK.
              else.
                st_range-high = PRV_WK.
              endif.
              append st_range to e_t_range.
            endloop.
          endif.
    *******Forecast
        when 'UNCONDDP'.
          if i_step = 2.
            clear: st_range, st_var_range.
            loop at i_t_var_range into st_var_range where vnam = 'UV_CAL'.
              st_range-sign = 'I'.
              st_range-opt  = 'BT'.
              CALL FUNCTION 'DATE_GET_WEEK'
                EXPORTING
                  DATE         = SY-DATUM
                IMPORTING
                  WEEK         = week
                EXCEPTIONS
                  DATE_INVALID = 1
                  OTHERS       = 2.
              st_range-low  = week.
              st_range-high = st_var_range-high.
              append st_range to e_t_range.
            endloop.
          endif.

  • BPC75NW - Periodic Amount Not Calculating for records with blank YTD value

    We are on BPC75NW SP6 and have a YTD consolidation application.  Data is loaded on a monthly basis uising a process of importing data files from supplying systems and then loading them into BPC using the data manager append function with a transformation file.  YTD amounts are as expected and 'most' periodic amounts are also calculated correctly via MDX mesures in reporting.  However, in situations where we have a P&L YTD balance in one month (say January) and then in the next month (February) there is no longer a YTD balance in that P&L account, no record is loaded for February YTD and the system is not calculating any February periodic amount.  Example:
    January - Load $100 to a P&L Account which is the YTD amount
    The January YTD amount = $100.
    The January Periodic amount = $100.
    February - Load no record to the same P&L account as above (as the YTD amount is now 0)
    The February YTD amount in the system is blank
    The February Periodic amount in the system is blank (This should be a NEGATIVE $100)
    As a possible work around we have also tried to load a 0 to February.  The data manager package shows the record as loaded successfully but since it is a 0 it really does not put it into the database. 
    Surely someone out there has already hit this situation and is willing to share the solution.
    Thank you,
    Vicki S.

    This problem was resolved by installing SAP Note 1405993 - MDX: Error: Invalid MDX command with
    CURRENTMEMBER.  The current text on the note does not describe our error but SAP will not extend the text to cover this issue. 
    Prior to installing this note, the following other notes were also installed but they did not fix the periodic calculation issue.  Under SAP's advisement we are going to leave them however as 'they should not have any side effects':
    1529720 MDX: No data for calculated member and metadata reference
    1590976 MDX: Incorrect data for IIF
    1584196 MDX: Calculated members and different dimensions
    1528374 MDX: System error GET_PRPTY_VALUE-02-
    I will now close this message.
    Vicki Shrontz

Maybe you are looking for