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

Week Number

Hello!

How I can get week number in year?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 10:20 AM

    Hi Andrej,

    Did you search this query on SCN before posting here???

    For Others

    Please refrain answering these type of questions, which are easily searchable.

    Hope you all understand.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 10:09 AM

    Use FM:

    DATE_GET_WEEK

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 10:10 AM

    Hi,

    These FMs wil help

    DATE_GET_WEEK: Returns week for a date

    HR_IE_NUM_PRSI_WEEKS, ISP_COUNT_WEEKS_ROUND_DOWN: number of weeks between two dates.

    Regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 18, 2008 at 10:15 AM

    Hi,

    Use this function modules

    GET_WEEK_INFO_BASED_ON_DATE

    DATE_GET_WEEK

    it returns the Year and no of week in that year, just separate the last 2 values from the return value to get the no of week.

    Regards

    Bala Krishna

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 10:15 AM

    use DATE_GET_WEEK this FM

    Edited by: Sudhir Kancheti on Dec 18, 2008 11:17 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 10:19 AM

    Hi,

    You can Use the FUNCTION MODULE:

    DATE_GET_WEEK.for More details ON these refer this link:

    http://www.saptechies.com/abap-function-modules/.

    Regards,

    Rahul

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 10:31 AM

    Thank's

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 18, 2008 at 04:19 PM

    >

    > Hello!

    >

    > How I can get week number in year?

    The only accepted answer to this question is: "by searching the SDN". All other answers have lost their points to encourage people not to answer this type of question.

    Best regards,

    Jan Stallkamp

    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.