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
Possibly Fuba 'WEEK_GET_FIRST_DAY' may solve this.
Kind Regards
Klaus
Add a comment