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

Direct function module to convert YEARWEEK to YEARMONTH

Hi Experts ,

I have been googling to finad a direct function module to convert given yearweek (201104) to yearmonth(201101) . But i couldn't find anywhere i hope some body can surely help me regarding this .

currently i am using VELO03_WEEK_OR_MONTH_TO_DATE to get the date from the given year,week and then calculating the month. but There is a risk that i may not get the correct YEARMONTH from this.

Please give me the solution for this problem . the best solution will be greeted with the best.

thanks in advance .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 24, 2011 at 05:47 AM


    maybe fm WEEK_GET_FIRST_DAY can help you to get your month.

    For emaple pass 201117 for week 17 to it, and you get the 25th of April, so your month of the 1st day will be April, but note, that the month of the week's last day will be May.



    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.