Application Development and Automation 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: 
Read only

HR Functioin Module

Former Member
0 Likes
605

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

2 REPLIES 2
Read only

messier31
Active Contributor
0 Likes
475

Hi Deepesh,

Try using <b>HR_PERSONAL_WORK_SCHEDULE_ME</b> function module.

just check out if it returns all data that you require....

Read only

Former Member
0 Likes
475

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