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

To find start date

Hi All,

i'm having a requirement where i have to find the start date when the end date and duration are given.

The duration can be in years or months or weeks.

Is there any function module to calculate the start date, in which ever units the duration is given?

Thanks & Regards,

Anil.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 07, 2006 at 12:06 PM

    hi

    try this fm

    <b>START_TIME_DETERMINE</b>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 07, 2006 at 12:09 PM

    Hi,

    <b>1) Number days known</b> : Start_date = end_date - days

    DAYS = 7 * NO OF WEEKS

    2) For others chcek this

    -


    Date Manipulation

    RE_ADD_MONTH_TO_DATE

    CALCULATE_DATE

    ADD_TIME_TO_DATE

    DATE_TO_DAY

    CCM_GO_BACK_MONTHS

    BKK_ADD_MONTH_TO_DATE

    Give the difference in Days and Time for 2 dates

    FIMA_DAYS_AND_MONTHS_AND_YEARS

    Get number of days. Year, Months between two dates.

    RH_GET_DATE_DAYNAME.

    <b>for any Date realted FM</b>

    http://72.14.207.104/search?q=cache:ZbQsSxuRZp4J:www.geocities.com/victorav15/sapr3/abapfun.htmlFunctionalModuleINABAP&hl=en&gl=in&ct=clnk&cd=1

    click on date

    <b>Mark Helpful Answers</b>

    regards

    Message was edited by: Manoj Gupta

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 07, 2006 at 12:11 PM

    Use function module START_TIME_DETERMINE, & populate the below values to that.

    DURATION 10

    UNIT D (days)

    FACTORY_CALENDAR US (country specific

    calander)

    Changing parameters Value

    END_DATE 06/07/2006

    END_TIME 07:09:14

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 07, 2006 at 12:20 PM

    Hi Ganesh & Srikanth,

    thanks for your reply.

    My problem got solved by your answers.

    Thanks & Regards,

    Anil

    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.