cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping of Planned Working Time to Work Schedule

Former Member
0 Kudos

Hi ,

I have the following query.

For a partiular employee 'abc' , i check his planned working time from 'IT 0007' .

From the planned working time how can i get the work schedule in coding , ie for an employee in IT 0007 how do i write a code to read his work schedule ?

Can anyone please tell me from where is the work schedule mapped to the employee number? (ie which table or field)

Thanks,

Rohit

Accepted Solutions (0)

Answers (3)

Answers (3)

amit_khare
Active Contributor
0 Kudos

Hi,

I think you are talking of reading the detailed work schedule for an employee apart from getting value from PA0007.

You can take help from some standard FM to get that value.

You may use this one HR_BE_WORKING_SCHEDULE.

Regards,

Amit

Reward all helpful replies.

Former Member
0 Kudos

Hi Rohit,

The relavant code would be:

tables : PA0007.

select SCHKZ from pa0007 where pernr EQ lv_pernr (and the begda and endda constraint) into lv_wrksch .

This is I think what you would want. Also the master table for work schedules is T508A, but the mapping for pernr and work schedule is done in IT0007.

Hope this helps.

Vivek

PS: Plese <b>reward points </b>if useful.

gangadharrao_tenneti
Active Contributor
0 Kudos

Hi Rohit,

TRY, table PA0007 (HR Master Record: Infotype 0007 (Planned Working Time)) with field SCHKZ

Cheers,

TG