Application Development 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: 

Check working schedule for a person

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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...)