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

GET_WEEK_INFO_BASED_ON_DATE

Former Member
0 Likes
2,036

Hi all,

I want a FM which is RFC enabled like GET_WEEK_INFO_BASED_ON_DATE to

get thr first day and last day of the week for a give date

Thanks

Sukumar

Hi all,

I want a FM which is RFC enabled like GET_WEEK_INFO_BASED_ON_DATE to

get thr first day and last day of the week for a give date

Thanks

Sukumar

5 REPLIES 5
Read only

Former Member
0 Likes
1,577

Hi

check the fun modules

GET_WEEK_INFO_BASED_ON_DATE

HR_GBSAP_GET_WEEK_DATES

HR_GBSMP_GET_WEEK_DATES

HR_GBSPP_GET_WEEK_DATES

HR_GBSSP_GET_WEEK_DATES

WRITE_WEEKDAY_AND_DATE

Regards

Anji

Read only

0 Likes
1,577

Hi,

Those FM s you given are not remote enabled.

I want RFC enabled ones.

Thanks

Sukumar

Read only

Former Member
1,577

Hi Sukumar,

I dont think there is any RFC enabled FM to get that info. What you can do is create a wrap around (copy) of FM GET_WEEK_INFO_BASED_ON_DATE and make it RFC enabled.

<b><REMOVED BY MODERATOR></b>

Lokesh

Message was edited by:

Lokesh Aggarwal

Message was edited by:

Alvaro Tejada Galindo

Read only

Former Member
0 Likes
1,577

Hi Sukumar,

use WEEK_GET_FIRST_DAY to get the first day of the week.

<b><REMOVED BY MODERATOR></b>

Satish

Message was edited by:

Alvaro Tejada Galindo

Read only

d_fraccon1278
Discoverer
0 Likes
1,577

Try this method cl_gho_common_utilities=>get_week_info_based_on_date.

Regards