on 09-12-2014 11:20 AM
Dear All,
I want to calculate late coming days and late hours for the particular day.
Requirement:-
The planned shift timings is 9:30 - 18:30. If employee Punch IN is after 10:10 (10:11 onward) then it should mark as late come and late hours should be count from planned start time (09:30)
Time Type 9000 = Late hours
Time Type 9001 = Late come day
1. Suppose 1st day punch In 10:30 then
Time Type 9000 = Late hours will be (9:30 - 10:30 = 1 hours)
Time Type 9001 = Late come day will be 1
1. Suppose 1st day punch In 10:15 then
Time Type 9000 = Late hours will be (9:30 - 10:15 = 0.75 hours)
Time Type 9001 = Late come day will be 1
Best Regards,
Deepak
Use the operation SNTB to query the planned working time it will work .
Regards
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear All,
Sorry all of you. I have wrote mistaken PEBG instead of PBEG.
Yes, now its working but I have one problem i can put only one PCR just after P2011. When I'm putting late coming PCR ZLT2, then its calculating late days and late hours, but its not calculating my daily working hours and shortfall of hours PCR ZFX1 & vice versa.
Pls guide me what needs to be done for getting both the calculation.
Best Regards,
Deepak
When you look at your out put table TIP of ZLT2 PCR it is saying that no entry in table since it is not processing for further try to use the operation COLOP* it may work.
As far i understand the output of one line in schema will become the input of next line, ZLT2 Output(No entry in table) will become Input to ZFX1.
Regards
Venkatesh
Hi Deepak,
Can you tell me your designed PCR logic.
I have applied the below sample PCR as per your requirement and it's working and what's the TGMAX value?
Sample PCR design,
9.6667 it's 09:40 am. For my case planned working time starts on 9am. Time Type 9998 is late hours and TTy9999 is counting late day's.
Schema Placing:-
Employee has come on 09:41 am.
ZES table result:-
Hope so you are clear and will rethink about your designed PCR.
Regards,
Sankarsan
Hi Sankarsan,
You only given me the solution for my below requirement and as per your suggestion I have maintained TGMAX value as 9 in table V_T511K and inserted PCR ZFX1 just after P2011.
I have applied the PCR ZFX1 for Daily working hours & Shortfall hours just after function P2011, then its working and giving me the Daily working hours & Shortfall hours correctly.
Please see the below link.
Now I want to calculate Late hours & Late coming days, along with Daily working hours & Shortfall hours and its calculating both the things correctly but only one PCR is working at a time.
So as per your suggestion I have written PCR ZLT2 and inserted after function P2011, but my problem start from here. If I have applied the PCR ZFX1 after function P2011 then its not calculating PCR ZLT2 and vise versa.
Please see the ZES table result:-
when I applied ZFX1 just after P2011 as below
Please see the ZES table result:-
when I applied ZFX1 just after P2011 as below
I hope now you will be remembering all the things.
Best Regards,
Deepak
Hi Deepak,
For your vice versa case. You have to use COLOP* operation in your 1st pcr which you are processing 1st in Schema.
As per your current Schema structure ZLT2 are processing 1st so in the PCR you have to use COLOP* in every resultant stage because in you 2nd pcr is not getting TIP entry in input table and due to this it's not processing further.
Please see the below PCR for your reference.
Hope so you got and understand the error.
Regards,
Sankarsan
As i communicated When you look at your out put table (TIP) of ZLT2 PCR it is saying that no entry in table since it is not processing for further try to use the operation COLOP* it may work.
As far i understand the output of one line in schema will become the input of next line, ZLT2 Output(No entry in table) will become Input to ZFX1.
Regards
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
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.