on 10-20-2016 10:49 AM
Hello Experts,
I want to create a flex time work schedule and want to add some conditions in PCR / Schema, requirement is that if employee attendance hours in a day are as follows
8 hours = Full day attendance
Hour > 6 and < 8 = Short leave
Hours > 4 and < 6 = Half day
Hours < 4 = Full day absent
please guide me how to add these conditions in pcr / schema.
Regards.
Hi Muhammad,
1st you have to understand how table TIP in Time Schema.
Then u might following my examples e.g.
https://blogs.sap.com/2013/03/02/early-or-late-coming-and-generation-ot-by-t555z/
https://blogs.sap.com/2013/01/29/relationship-time-evaluation-and-payroll/
I am processing table TIP with function RTIP in Time schema.
You can get the number in each Absence / Attendance via HRS=PNUM.
Assuming u are watching pcr ZW05, I am counting whether emp has absence 1020 or not.
If I wanna count how many hours emp logs in this absence 1020, I will write pcr as below
1020
HRS=PNUM
ADDWT9WSL
It's for Absence that why I check OUTTPORGIS as A, for attendance, this OUTTPORGIS should be P.
If you understood my 2 above documents, you can create your own logic to handle your reqs. Good luck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
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.