rest day update/substitute

Human Resources (PM, OM, PA, TM ,PD)

Moderators: Snowy, thx4allthefish, muhnkee_2

durga

Post by durga » Wed Oct 23, 2002 9:12 pm

hi,
suppose we have a work schdule 5day_1 its has 3 weeks cycle.
and am01 is a 2 weeks cycle so on.
i can use t551a table if i know the no.of weeks from starting to that holiday date.
so..how can i do this ..?
tell me,...
**There is any func. module to find whether a date is rest day or off day in particular work schdule for an employee..???( dont consider holiday).
I want to know whther a date is a RestDay or off day for a particular employee.
our restday code is REST and off day code is OFF .
how can we do this..?pla. help me.
Durgaa

DURGAA

Post by DURGAA » Thu Oct 24, 2002 1:51 am

ANYBODY CAN HELP..???

RK

Post by RK » Thu Oct 24, 2002 2:43 am

Hi Durga,

U can write simple function modlule to get work schedule details of
an Employee for the particular period.

steps:


1)Retrive work schedule rule from 0007 infotype where pernr=pa0185-pernr
2)Retrive employee group and employee subgroup 0001 where pernr=pa0185-pernr

using CALL FUNCTION 'HR_READ_INFOTYPE'


3)get the daily work schedule rule of employee on each day in to another itab.

loop at it_0007.

endloop.


4)get the personal area, employee group,employee subgroup and
personal subarea of employee for each day

loop at it_0001

enloop.

5)get employee subgroup grouping for work schedules (t503)
6)get personnel subarea grouping for work schedules(t001p)
7)get work shedule for a month (t552a)
8)get details of daily work schedule then append to the workschdule itab.

which itab should have below fields .Start Date,Daily Work Schedule,Day Type,Public holiday class,Daily Work Schedule Variant,Daily Working Hours,Normal working time,End of normal working time.

i hope u understand above things.

Regards
Rk.

endurista
Posts: 133
Joined: Sun Oct 20, 2002 10:42 am
Location: Munich
Contact:

Post by endurista » Thu Oct 24, 2002 3:49 am

Hi Durga,

ok, you only want to know the personal work schedule at a specific day and the daily work schedule.

Take a look at report RPTPSH10. The relevant function module is HR_WORK_SCHEDULE_TIMES. I haven´t tried it but I think it does what you want.
Regards,

endurista

DURGAA

Post by DURGAA » Thu Oct 24, 2002 9:42 pm

THANKYOU VERY MUCH ENDURISTA..AT LAST I GOT.I HAVE USED DIRECT TABLE T552A TO FIND THE REST OR OFF DAY FOR A WORK SCHDULE.
THANK YOU A LOT.
REGARDS
DURGA

endurista
Posts: 133
Joined: Sun Oct 20, 2002 10:42 am
Location: Munich
Contact:

Post by endurista » Fri Oct 25, 2002 2:47 am

Glad to hear that. Hope to see you again at my website.
Regards,

endurista

Durgaa

Post by Durgaa » Sun Oct 27, 2002 10:05 pm

Hai Sapfans,
U can also visit the site hr-manager.de , which deals with HR modules.
Just keep on vsiiting that site also.hope its also helpful for u,.
regards
durga

Durgaa

Post by Durgaa » Sun Oct 27, 2002 10:06 pm

Hai Sapfans,
U can also visit the site hr-manager.de, which deals with HR modules.
Just keep on vsiiting that site also.hope its also helpful for u,.
regards
durga

Post Reply