‎2007 Mar 20 2:31 PM
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 ?
‎2007 Mar 20 2:41 PM
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
‎2007 Mar 20 2:34 PM
‎2007 Mar 20 2:35 PM
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
‎2007 Mar 20 2:41 PM
‎2007 Mar 20 2:35 PM
Hi,
Please check this FM RKE_SELECT_FACTDAYS_FOR_PERIOD to get working days.
Regards,
Ferry Lianto
‎2007 Mar 20 2:41 PM
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
‎2007 Mar 20 2:43 PM
oh and dont forget to recheck if your first day in week is maybe a FREE day due to some celebrity.