Hire Date + 6 months - loop

What is the best way to handle the following:
I have a 'date of hire' and I need to find the anniversary date of the next performance review.  A performance review is held every 6 months.    How do you handle this for employees that were hired sometime ago (say 1974)?   Thanks in advance

Not exactly working like I need it to.   Perhaps I didn't explain it correctly.
If hired 5/18/74 I need to add 6 months to the month and date but change the year to current or next year
Examples:
hired on 5/18/74 his next scheduled 6 mo review would be 11/18/2009       bring the yr part up-to-date
hired on 3/1/09   his next scheduled 6 mo review would be 9/01/09            current yr
hired on 9/1/09   his next scheduled 6 mo review would be 3/1/2010           next yr
Thanks, Sandy

Similar Messages

  • Customer Exit for Number of Days from 1 st Apr to last date of Month Enter

    Hello BI Experts,
    I have a requirement to count the number of days from 1 st April of current year to the last date of month entered.
    For example : The use will enter say July 2010 or 003.2010  (as Fiscal Year Variant is V3 ).
    Today is 14 July ...So we have to first find out the end date of the July month ie 31 st July
    Then go to 1 st April 2010.
    Now calculate the Number of days between 1 st April to 31 st July 2010.
    I consider I have to create two Customer Exit variable
    as below
    1 st customer exit Bex variable  say  ZLY_MTH  ( Last day of Month Entered)
      and i_step = 1
    2 nd Customer Exit BEx Formula variable say ZF_NUMDAYS ( Number of days between two dates)
    i_step =1 .
    Please provide me the logic for the above two.
    Thanks in Advance.
    Regards,
    Amol Kulkarni

    PSUDEO CODE:
    1. Initially LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'ZMONTH'.
    2. Get the Month input using VAR_MONTH2 = LOC_VAR_RANGE-LOW+4(2)
    3. Now calculate Month+1: VAR_MONTH2 = VAR_MONTH2 + 1 (Refer **)
    4. Now calculate the Current Year: VAR_YEAR = LOC_VAR_RANGE-LOW+0(4).
    5. Get the 1st Day of the Month (VAR_MONTH2):  CONCATENATE '01' '/' VAR_MONTH2 '/' VAR_YEAR INTO L_S_RANGE-LOW.
    6. SUBRACT 1 (0DATE) from this DATE (This will give the logic for last day of the current month)
    Insert this code also for using the date conversions
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
              EXPORTING
                INPUT  = VAR_MONTH2
              IMPORTING
                OUTPUT = VAR_MONTH2.
    Pls. check out this logic. Guess it would solve your need.
    Thanks,
    Arun Bala

  • Display data in month wise

    Hi all,
    I have my data in the table as date wise. I need to sum this data in month wise.
    Can anyone tell me how to do it. Is their any fm to do it or any sample pgm of this kind.
    For ex my output should be like this :
    field1 field2 Month1 Month2 Month3 Month4 ..
    Waiting for reply,
    Regards,
    Priya

    hi priya,
    First of all sort the whole set of values as per date wise into an internal table.
    Sort the table as per the date .
    CONCATENATE PR_MONTH '01' INTO W_FIRST_DATE.
            CALL FUNCTION 'LAST_DAY_OF_MONTHS'
              EXPORTING
                DAY_IN            = W_FIRST_DATE
              IMPORTING
                LAST_DAY_OF_MONTH = W_LAST_DATE
              EXCEPTIONS
                DAY_IN_NO_DATE    = 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.
                  W_DATE = W_FIRST_DATE.
    With this try to determine the first and last days of the month
    From where u want to start .
    Capture the month field from date field into pr_month.
    Set the first date of the month to 01 like 02/01/2006
    Suppose u had 02/02/2006 as the first occurance of the date then
    U r trying to determine the first date and last date of ur feb month for the year 2006 .
    Now 02/01/2006 and 02/28/2006 are determined by this process .
    Set date_low  = 02/01/2006 .
        Date_high = 02/28/2006.
    Now into ur select statement capture the fields between 02/01/2006 and 02/28/2006 just like range .
    U can use select between or range
    ,so this covers all the fields for feb ,
    Use collect on ur final output table which will give u the final sum values.
    Now next field is say 03/10/2006 , then use the same process to capture the values .
    Itab say is containg date fields
    Logic is
    Loop at itab.
    Month = itab-date+(x)
    At new month.
       Perform operation .
    Endat.
    Endloop.

  • Query Hire date in a PCR

    Hi,
    Could you help me in querrying hire date in a PCR.
    I need to differentiate b/w EEs who joined from 1st-15th of a month to the ones who joined in the later part of the month.
    Any help is highly appreciated.

    Hi,
    what about this quick idea - use VARSTREDAY in PCR rule and make 01, 02, . . . .31 as a result from query. Continue with wtriting the rows and choose some time type. Store the value 1 into the time type. Then put a HRS query with the chosen time type before the VARST - it will prevent the rule to check itself over again. Store the time type into SALDO. If you generate qoutas according to some time types, then the time type can also be stored in the PCR rule with Varst. Then you need to solve roll-over if the qouta needs to be generated the next year.
    ex.
    HRS=BZZZ1
    HRS?1
    = nothing
    VARSTREDAY
    01 HRS=1
    01 ADDDBZZZ1
    01 HRS=1
    01 ADDDBQBAS (time type for qouta base)
    It is not some smooth solution but it should work.
    Cheers
    xDracula

  • Can not pass data after while loop

    Hello.
    I have created a VI for my experiment and am having problem passing data outside a while loop to save on an excel file. The VI needs to first move a probe radially, take data at 1mm increment, then move axially, take data radially at 1mm increment, then move to the next axial position and repeat. It would then export these data to an excel file. The VI is a little complicated but it's the only way I know how to make it for our experiment. I have tested it and all the motion works correctly, however I can not get it to pass the data after the last while loop on the far right of the VI where I have put the arrows (Please see the attached VI ). Is it because I'm using too many sequence, case, and while loops?  If so, what other ways can I use to make it export data to the excel file?
    Any help would be appreciated. 
    Thank you,
    Max
    Attachments:
    B.Dot.Probe.Exp.vi ‏66 KB

    Ummmm .... gee, I'm not even sure where to begin with this one. Your VI is well .... ummmm... You have straight wires! That's always nice to see. As for everything else. Well... Your fundamental problem is lack of understanding of dataflow programming. What you've created is a text program. It would look fantastic in C. In LabVIEW it makes my heart break. For a direct answer to your question: Data will not show up outside a while loop until the while loop has completed. This means your most likely problem is that the conditions to stop that specific loop are not being met. As for what the problem is, I don't even want to start debugging this code. Of course, one way to pass data outside of loops is with local variables, and hey, you seem to be having so much fun with those, what's one more?
    This may sound harsh, and perhaps be somewhat insulting, but the brutal truth is that what I would personally do is to throw it out and to start using a good architecture like a state machine. This kind of framework is easy to code, easy to modify, and easy to debug. All qualities that your code seems to lack.
    Message Edited by smercurio_fc on 08-17-2009 10:00 PM

  • HR-PA Personnel Administration Adjusted Hire date not in std extractor?

    All,
    Does anybody know if the dates in PA0041, like adjusted hire date, Original hire date, Severance date, etc are available in extractors?  I have been doing BW for some time, but am new to HR.  I don't want extend the 0employee data source with these dates unless I have to.  Any advice would be greatly appreciated.
    Kind Regards,
    Chris

    Savornin,
    Thank you very much for your reply.  It was very helpful to me.
    Kind Regards,
    Chris

  • HT1689 since doing the 7.0.4 update i notice that my mobile data has doubled and i am running out of data mid month.  I've disabled apps s not many running.  Any suggestions?

    since doing the 7.0.4 update i notice that my mobile data has doubled and i am running out of data mid month.  I've disabled apps s not many running.  Any suggestions?

    I am having the same issue even with the newer 7.1. I have a 1-100 KB data push on both my husdand's and my phone every hour on the hour (i.e. my will be at :23 of the hour and his will be at :13 of the hour and it will change). This is whether we are on a WIFI and with all apps, background refreshes, push notifications, etc turned OFF.

  • When I pre ordered my iphone 6 i was told I was going to get an additional 1 gig of data per month for a year.  It even shows it on the receipt i received with the phone.  When will I see that reflected on my account.  I have had my new phone for a week a

    When I pre ordered my iphone 6 i was told I was going to get an additional 1 gig of data per month for a year.  It even shows it on the receipt i received with the phone.  When will I see that reflected on my account.  I have had my new phone for a week and used tons more data than usual and am hoping that will save me this month.

    concretedonkey, I'm glad you were able to take advantage of this offer when you ordered your new iPhone 6. I can certainly review your account to ensure this was added for you. Please reply to the direct message I have sent you.
    AndreaS_VZW
    Follow us on Twitter @VZWSupport

  • Stock report with value and qauntity for given date not month wise

    Hi gems,
    can any body give me the standard report for Stock value and qauntity for given date not month wise at storage location level

    Hi
    check the report S_P00_07000139 with the option inventory and raw material report- detail and selection date (from, to date same). List will give opening & closing balances with goods movment and their values.
    Thanks

  • Scheduling Agreement –delivery date in month format -  MD04

    Dear experts,
    Scheduling Agreement, forecast delivery schedule.
    When I enter a delivery date in month format, the system, during processing, automatically checks the factory calendar and proposes the first valid working day as the delivery date. ( Yes. I know it is a SAP standard )
    My requirement is automatically checks by the system  the last  working day as the delivery date.
    Could you tell me what are the settings i need to check to resolve this issue?
    Thanks in advance
    artur

    As pointed out already above you need to use a periodic lot sizing procedure.
    Use Lot sizing procedure P, Lot size indicator K and Scheduling =2
    As per your requirement, you need to create a calendar using MD25 with Months (Workdays) as a calculation rule with 1 as the period in the box provided.
    After a MRP run the delivery date would point to the last day of the month.
    But the requirement is a bit surprising as say for a requirement on the 1st of the month you will have the delivery showing up on the last day of the same month. Under what circumstances do you have this requirement as a valid one in your business case?

  • First Date of the Given date and month

    Hi Evryone,
    I want to extract first day of the given date.
    For Ex: i aam giving date "30-jan-2013" but i want to show "01-jan-2013".
    In Oracle, Trunc function behaving mentioned above. So i need appropriote function in HANA to get the FIRSTDATE....
    I observed HANA Given last_date function but what about First_Date function? can i use it?
    Regards,
    Chandrakanth

    Hi Chandrakanth,
    Did you have a look on this blog:
    SAP HANA: Get the First Date and the Last Date of Month from a Given Date | WuaWua
    There is LAST_DAY in HANA but not FIRST_DAY.
    Since last day of the month may vary but first day of the month will always be '01'. Hence they may not have added that function.
    So either you can follow that approach in the blog or you can simply replace the day '01'.
    Regards,
    Krishna Tangudu

  • How to find out the Hire date of an employee?

    Hi All
    What is effective date, Latest start date and other date fields which are are used when we create a new employee?
    What is the difference between hire date and joining date?
    How to find out the Hire date and joining date of an employee?
    Regards
    Rahman

    The effective dates are related to date tracking. The effective start date shows when this version of the record became effective.
    The Hire Date, or Latest Satrt Date shows the date on which the employee was last hired. If he was hired before from 01/01/01 to 31/12/01, then left but was hired again from 01/01/07, the Latest Hired Date would be 01/01/07 and the First Hired Date would be 01/01/01.
    When using Oracle HR, datetracking allows you to either correct data (because it was wrong or incomplete), or update it (because a time effective change took place e.g. got married).
    The[b] effective dates show when a record was updated. So, if an update was made on 07/02/07, and the update datetrack option was used, the current record would have its effective end date set to 06/02/07 (the day before the update) and a new version would be created with the updates and an effective start date of 07/02/07.
    Hope this helps.

  • How to Convert Date to Month in Database which is pointing to EBS, Not DWH.

    Hi Friends,
    We are planning to create reports in OBIEE and the Source is EBS. That means, we don’t want to depends on Datawarehouse and Informatica and OBIApps. We just create some reports and they are pointing to EBS database.
    For testing purpose, we have taken one HR Report and it containsthe below columns:
    Month (Dim)
    Revenue Per Employee Headcount (Fact)
    Average Cost per Active Workforce Headcount (Fact)
    In my little investigation, we found that Revenue column is coming from EBS: GL_BALANCES. And we configured W_Day_D base table in DAC as there is no Month column in EBS (Not sure).
    *** Coming to my problem, how can I call Month column in my database pointed to EBS. How to convert Date to Month in my database.
    I could be wrong but anyone please look into this issue.. How can I create columns for that exact OBI report in EBS database instead of DwH.
    Thanks in Advance..
    Raghu Nagadasari

    Hi Veeresh,
    You are right. Here, no need of using W_DAY_D table, but, we need all the stuff from the table and to explain my problem i have taken that table as an example. Now, we ran scripts for W_MONTH_D and W_DAY_D tables with EBS columns. So, we are getting data for the tables. In the same manner we have to create scripts for the below tables.
    W_GL_ACCOUNT_D
    W_GL_OTHER_F
    W_STATUS_D
    W_MCAL_DAY_D
    W_EMPLOYMENT_STAT_CAT_D
    W_WRKFC_BAL_A
    W_DAY_D (Completed)
    W_MONTH_D (Completed)
    But, we are not aware of EBS Tables and their columns much. So, we are back tracing from RpD --> DAC --> Info --> EBS for each and every column and its taking much time.
    So, if anyone of you facing the same issue, please share the EBS tables for the corresponding OBI tables, which are mentioned above.

  • Benefits: Employee Eligibility: Hire Date Override

    Hi, I have defined employee eligibility to use Hire Date Override to read from IT0041. However, when I run transaction HRBEN0001 for enrolment (i use this as default plan), I do not see the plans being offered if the selection date is before the Hire Date Override date (only shows if it is after). Can I configure such that I can see these plan offers, but with validity period reading from the Hire Date Override date?
    Example of the problem:
    Hire Date Override Date: 01/02/2008
    If
    a) Selection Date: 01/01/2008
    -> Plans not offered
    b) Selection Date: 01/02/2008 or later
    -> Plans are offered
    Note: the configuration in IMG is set such that the option for "Immediate Enrolment" is selected in the eligibility rule
    thanks

    Which user exit?
    Is the problem I'm having in fact the standard feature? Because I dont have this problem when I'm using IDES...
    Thanks for the help

  • Help in retreiving database data using a loop

    Hi, new here, please help me with my problem.
    In my database table, (SQL) I have 2 coloumns AgtName and Tier1.
    Within this table there are these data
    AgtName Tier1
    a b
    b c
    c d
    d NA
    e b
    My orginal plan was to use JSTL to retreive the data in a loop function. It will search the second coloumn and retreive data in a zigzag style. It would also stop when the data is NA
    An example is when the search paramater is 'a', it would retreive the data like this ' b c d NA'
    If it is 'e', it would be 'b c d NA'
    These are my codes
    <c:choose>
    <c:when test="${param.search!=null}">
    <sql:query var="result2" dataSource="${dataSource}">
    select * from testinzigzag
    where Name like ?
    <sql:param value="${param.search}" />
    </sql:query>
    <c:forEach var="row2" items="${result2.rows}">
    <c:choose>
    <c:when test="${row2.UpperTier!='NA'}">
    ${row2.UpperTier}
    <c:set var="loopVar" value="${row2.UpperTier}" />
    <!-- Start:You will have to start the coding part here -->
    <c:choose>
    <c:when test="${row2.UpperTier!='NA'}">
    <sql:query var="result3" dataSource="${dataSource}">
    select * from testinzigzag
    where Name like ?
    <sql:param value="${row2.UpperTier}" />
    </sql:query>
    <c:forEach var="row3" items="${result3.rows}">
    ${row3.UpperTier}
    <c:choose>
    <c:when test="${row3.UpperTier!='NA'}">
    <sql:query var="result4" dataSource="${dataSource}">
    select * from testinzigzag
    where Name like ?
    <sql:param value="${row3.UpperTier}" />
    </sql:query>
    <c:forEach var="row4" items="${result4.rows}">
    ${row4.UpperTier}
    <c:choose>
    <c:when test="${row4.UpperTier!='NA'}">
    <sql:query var="result5" dataSource="${dataSource}">
    select * from testinzigzag
    where Name like ?
    <sql:param value="${row4.UpperTier}" />
    </sql:query>
    <c:forEach var="row5" items="${result5.rows}">
    ${row5.UpperTier}
    </c:forEach>
    </c:when>
    </c:choose>
    </c:forEach>
    </c:when>
    </c:choose>
    </c:forEach>
    </c:when>
    </c:choose>
    <!-- End: You will have to end the coding part here -->
    </c:when>
    <c:when test="${row2.UpperTier=='NA'}">
    No Upper Tier
    </c:when>
    </c:choose>
    </c:forEach>
    </c:when>
    </c:choose>

    Sorry for the doublepost, continuing from the last post
    I can only code it in a way that it is not done in a loop. Assuming i have 50 tiers, I would not to do it 50 times. Is there a way that I can do it in a loop?

Maybe you are looking for