Skip to Content
author's profile photo Former Member
Former Member

Function Module for addition in dates - FUll rewards will be given

Hi,

My one requirement is to add 1 year to a given date.

And second one requirement is to add 90 days to a given date.

Can you plese suggest one function module in HR to do the same.

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2007 at 08:47 AM

    Hai..

    where exactly u want to perform..?/ in PA, Time, Payroll..??

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2007 at 08:51 AM

    Hai..

    Fill the required dates with date types in IT 41 & Write a dynamic action

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2007 at 09:34 AM

    HR_99S_DATE_PLUS_TIME_UNIT

    timeunit d = days / m = months / y = years

    f.i.

    CALL FUNCTION 'HR_99S_DATE_PLUS_TIME_UNIT'

    EXPORTING

    i_idate = '19102007'

    i_time = 6

    i_timeunit = 'D'

    IMPORTING

    O_IDATE = odate

    ==> odate = 25.10.2007

    IF : i_timeunit = 'M' ==> odate = 19.04.2008

    IF : i_timeunit = 'Y' ==> odate = 19.10.2013

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.