07-04-2007 8:04 AM
Hi guys/girls,
Is there an easy way, to check if a certain date, is a working day for a pernr with a FM? If possible without checking his whole working schedule...
Kind regards,
Tom
07-04-2007 8:14 AM
Hi,
I'm sure there is.
Try with this one HR_PERSONAL_WORK_SCHEDULE_ME.
However try in se37 looking for * WORK_SCHEDULE * and find out which FM gives you all the infos you need.
Bye
07-04-2007 8:18 AM
Hi
Check the fun modules
HR_DV_WORKSCHEDULE_GET
HR_PERSON_READ_WORK_SCHEDULE
HR_PERSONAL_WORK_SCHEDULE
HR_PERSONAL_WORK_SCHEDULE_PNP
HR_WORK_SCHEDULE_RULE
Reward points for useful Answers
Regards
Anji
07-04-2007 8:28 AM
the functions with work_shedule i tried already ...
the hr_dv_worschedule_get gives me a dump , but the other ones give me the workschedule and then i should check again for myself, is it a holiday for that person, is it a public holiday but did he work, was he sick, ...
I want it easy , just give date, give pernr, and then the function returns he worked, or he didn't work :D. (even by sy-subrc is good for me...)