on 02-13-2007 10:23 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohit,
TRY, table PA0007 (HR Master Record: Infotype 0007 (Planned Working Time)) with field SCHKZ
Cheers,
TG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.