Work Schedule Time ( Planned work time ) problem HR ABAP
I want to get the Work Schedule and Work Schedule time of an employee for a particular date whose holiday type is 9 and day type is 1 i.e., even for the holidays I should pick up the data. The following FM's HR_PERSONAL_WORK_SCHEDULE, HR_WORK_SCHEDULE_TIMES are only fetching for non-holiday class. Is there any other way to fetch the Planned work time please suggest me.
Kapil Thuthuku replied
Thanks Everyone got the solution...
Here is the solution
Need to check if there is any holiday using FM HOLIDAY_CHECK_AND_GET_INFO.
If there is holiday on a particular date pass that date to FM HR_DWS_RE550 and get the work schedule for that holiday date.
If there is no holiday then the work schedule time that is obtained through FM HR_WORK_SCHEDULE_TIMES is correct.