on 08-04-2008 10:04 AM
Does anybody know of a Function Module that I can call that will calculate the number of hours a person was SUPPOSED to work between two dates?
Hi try this
*CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE
'*EXPORTING
pernr = pernr-pernr
begda = static_sunday
endda = static_saturday
KUG =
REFRESH = 'X'
WORKING_HOURS = 'X'
SWITCH_ACTIV =
IMPORTING
WARNING_OCCURED =
TABLES
i0000 = p0000
i0001 = p0001
i0002 = p0002
i0007 = p0007
I0049 =
i2001 = p2001
i2002 = p2002
I2003 = P2003
perws = perws
EXCEPTIONS
error_occured = 1
OTHERS = 2.
Regards divya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use the following variable in payroll schema
TSSOLL : Planned working time measured in working hours
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
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.