‎2006 Nov 14 5:54 AM
Hi all,
I am facing this problem, I am trying to read work schedule of an employee using the function module "HR_PERSON_READ_WORK_SCHEDULE". I am passing as import parameters the begining date, ending date and employee number.
If I check the HR Master data (PA30) for infotype 7 work schedule rules it shows a particular day off (say 2nd October 2006) by reflecting a field tagty as '1'.
But when I read the work schedule with above mentioned function module the field tagty is coming out with value '0' and not '1' so it is difficult to find a weekoff for a particular date.
any idea about any other functioin module to read work schedule of an employee.
Regards,
Deepesh
‎2006 Nov 14 6:25 AM
Hi Deepesh,
Try using <b>HR_PERSONAL_WORK_SCHEDULE_ME</b> function module.
just check out if it returns all data that you require....
‎2006 Nov 14 7:51 AM
Hi Pankaj,
I tried using the mentioned function module, but it does not serve my purpose. I entered Emp. No. Begining Date and Ending as input parameters in the function module, but on execution it does not return me with any data in tables.
An error seems to have occured which reads as " READ_ME_PWS_ERROR" The message that comes out is "Infotype 0001 does not exist or is incomplete for 00004205". But infotype 0001 is maintained for the above employee.
Any idea what could be the problem.
Regards,
Deepesh