Application Development and Automation 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: 
Read only

Week end date

Former Member
0 Likes
787

what is the functionmodule to calculate week enddate

1 ACCEPTED SOLUTION
Read only

RoySayak
Active Participant
0 Likes
705

Hi Vinay,

Here are some week rekated function module... it may be helpful to you,

WEEKDAY_GET Calendar: Get day of the week

WEEKNR_GET Calendar: Fetch Week Number

WEEK_GET_FIRST_DAY Calendar function: Return first day for a week

USE LASTDAY = FIRSTDAY+6

Regards,

Sayak.... "reward points if it is helpful"

5 REPLIES 5
Read only

Former Member
0 Likes
705

Hi,

GET_WEEK_INFO_BASED_ON_DATE

Regards,

Read only

Former Member
0 Likes
705

RH_REQUEST_ON_WEEKENDS

SLIM_GET_START_END_DAY

IDOC_INPUT_POS_END_OF_DAY

Read only

Former Member
0 Likes
705

USE FM : WEEK_GET_FIRSTST_DAY

AND TO

Get last day of the week.

USE

last_day = first_day + 6.

Read only

Former Member
0 Likes
705

Hi Vinay,

WEEK_GET_FIRST_DAY For a given week (YYYYMM format), this function returns the date of the Monday of that week.

try using this function module...

some other function modules may be helpful...

DATE_COMPUTE_DAY Returns a number indicating what day of the week the date falls on. Monday is returned as a 1, Tuesday as 2, etc.

DATE_GET_WEEK will return the week that a date is in.

DATE_IN_FUTURE Calculate a date N days in the future.

DAY_ATTRIBUTES_GET Return useful information about a day. Will tell you the day of the week as a word (Tuesday), the day of the week (2 would be Tuedsay), whether the day is a holiday, and more.

reward if helpful

Read only

RoySayak
Active Participant
0 Likes
706

Hi Vinay,

Here are some week rekated function module... it may be helpful to you,

WEEKDAY_GET Calendar: Get day of the week

WEEKNR_GET Calendar: Fetch Week Number

WEEK_GET_FIRST_DAY Calendar function: Return first day for a week

USE LASTDAY = FIRSTDAY+6

Regards,

Sayak.... "reward points if it is helpful"