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

End date of the Week

Hi Experts,

Is there an ABAP function that will return the "end-date" of a given week.

Thanks for the help.

Best Regards,

Rose

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on May 08, 2007 at 08:30 AM

    Hi Rose,

    Good ... Check out the following function modules

    Get a date

    <b>DATE_GET_WEEK Returns week for a date

    WEEK_GET_FIRST_DAY Returns first day for a week

    RP_LAST_DAY_OF_MONTHS Returns last day of month

    FIRST_DAY_IN_PERIOD_GET Get first day of a period

    LAST_DAY_IN_PERIOD_GET Get last day of a period

    RP_LAST_DAY_OF_MONTHS Determine last day of month</b>

    Good Luck and thanks

    AK

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 09, 2007 at 07:23 AM

    Hi Rose

    Why not there are many function Modules to help you out.

    WEEK_GET_LAST_DAY

    It returns the last day of the week..It might give you the solution for your problem i hope..

    PLEASE REWARD...

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 09, 2007 at 07:28 AM

    Hi

    WEEK_GET_LAST_DAY

    Regards,

    Sreeram

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 01, 2007 at 12:21 PM

    Hi maybe this FM can help you:

    CALL FUNCTION 'GET_WEEK_INFO_BASED_ON_DATE'
    EXPORTING DATE          = SY-DATUM
    IMPORTING WEEK          = 
              MONDAY        = 
              SUNDAY        = 
      .
    

    regards, steffen

    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.