Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Query Related findout the Monday's date

Former Member
0 Kudos

Hi All,

can you suggest me, any standard FM to findout the weekly Monday date.

Means as importing parameter i will pass any date. so i want passing parameter date week's Monday date.

Example: i pass the date 01.08.2007 then FM will return Monday date(30.07.2007).

Thanks

Amit

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Use this function module.

BWSO_DATE_GET_FIRST_WEEKDAY

Please mark points if the solution was useful.

Regards,

Manoj

3 REPLIES 3

Former Member
0 Kudos

hi,

check the fm

BWSO_DATE_GET_FIRST_WEEKDAY

regard,

Navneeth K.

Former Member
0 Kudos

Use this function module.

BWSO_DATE_GET_FIRST_WEEKDAY

Please mark points if the solution was useful.

Regards,

Manoj

Former Member
0 Kudos

hi,

interested, one sulotion is you can set a reference date, for example, 30.07.2007, then you check the day intervals between this with the date you import, let it be 22.08.2007, then the day intervals is 22.08.2007 - 30.07.2007 = 23, since

23 mod 7 = 2, you know the monday is 22.08.2007 - 2 = 20.08.2007.

so all you need is to develop a form that calculate the day intervals.