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

Working Dates in table

Former Member
0 Likes
784

Let's suppose that 1 month has 23 WORKING days.I want to make an internal table with these days . But i don't know for example that the 03/01/07 is the first working day .

How can i do it ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
733

there´s a FM: BWSO_DATE_GET_FIRST_WEEKDAY

this will get you the first day of the Week for a given date.

so just give it the first of your actual month, and see at what date THSI week begins. if it´s not in your actual month, just add 7.

so now you got the first working day in a month.

for the rest you dont us but just a little brain work

6 REPLIES 6
Read only

Former Member
0 Likes
733

use FM CHECK_WORKING_DAY

Read only

Former Member
0 Likes
733

Hi,

refer to the Factory Calander to know the exact working days in a month, or use the HR work schedule rule in time management to get this exactly.

regards,

Anji

Read only

0 Likes
733

Can you be more specific ?

Read only

Former Member
0 Likes
733

Hi,

Please check this FM RKE_SELECT_FACTDAYS_FOR_PERIOD to get working days.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
734

there´s a FM: BWSO_DATE_GET_FIRST_WEEKDAY

this will get you the first day of the Week for a given date.

so just give it the first of your actual month, and see at what date THSI week begins. if it´s not in your actual month, just add 7.

so now you got the first working day in a month.

for the rest you dont us but just a little brain work

Read only

0 Likes
733

oh and dont forget to recheck if your first day in week is maybe a FREE day due to some celebrity.