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

SAP week - Finding dates

I have SAP week number input in my report. From that, how can we get the start date and end date for that week. Can anybody tell me the table where the details of sapweek is getting stored .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2004 at 07:50 AM

    Use FM : <b>WEEK_GET_FIRST_DAY</b>

    To get end date, I could not find any FM, but this is what you can do,

    Subtract 1 day from first day

    Use <b>DATE_CONVERT_TO_FACTORYDATE</b> , and use <b>CORRECT_OPTION</b> as '-' to get last day of previous week. You need to put factory calendar as well. For plant-specific, factory calendar, you can get it from Table <b>T001W</b>.

    Regards,

    Subramanian V.

    Message was edited by: Subramanian Venkateswaran

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 22, 2004 at 07:53 AM

    Possibly Fuba 'WEEK_GET_FIRST_DAY' may solve this.

    Kind Regards

    Klaus

    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.