on 08-12-2014 2:00 PM
Hi All,
Incase employee is late above the tolerance time; it should pass value one into the time type for further querying. Dont know y the time type is not cumulating.
Using TM04; tolerance time (Z1234) is maintained in the Constant Table V_T511K for 5 minutes.
Login Time: 9:00 and begin tolerance is 9:05. In case if employee logins at 9:06 - time type should get the value of 1 and it should be cumulated on monthly basis for further purpose.
ZLAT - daily time to capture employee late above tolerance time / ZTOL - daily time types to capture employee late by the planned working times and below tolerance time.
ZCNT - period time type - to know how many times employee is late above the tolerance time in a month.
Test case:
Time Events 2011 -> 02.01.2014 – 07.01.2014
03.01.2014
06.01.2014
Regards,
Basanthi
Hi SAP HCM Experts,
I am from PS I need to know how PTIMEOV1 is populated??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Basanthi,
Please attach your schema screenshot also.
Regards
Kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Basanthi,
You have shown the screenshot of Table ZES. Cumulation doesn't happen in Table ZES.
In your scenario, you should check the value of time type ZCNT in Table SALDO. It will be 2 in that.
Every time a violation happens, it will report with value 1 in Table ZES and it will cumulate in Table SALDO.
I hope this clarifies your query.
Thanks and regards,
Vivek Barnwal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Basanthi,
Just to explain how cumulation works.
Cumulation is done by function CUMBT. This function is responsible for passing the value of time type from Table TES to Table ZES and Table SALDO.
Please see the below calculations for time type ZCNT before and after CUMBT. This is just a schematic representation of how time type works. Here ZCNT is a monthly time type.
TES After CUMBT ZES SALDO
01-Jan-14 1 1 1
02-Jan-14 0 0 1
03-Jan-14 1 1 2
04-Jan-14 0 0 2
05-Jan-14 0 0 2
06-Jan-14 1 1 3
I hope this clarifies your query.
Thanks and regards,
Vivek Barnwal
Hi Vivek,
The issue is time type cumulation should follow a time wage type cumulation when the value of time type is greater than 2. As you were mentioning in the above thread CUMBT is the function which is responsible for cumulation. But when i place my PCR below the CUMBT function; time wage type cumulation is occurring but it is not reflecting in the DZL table. Can you extend your support if we want to see the time wage type value in DZL so that further payroll would take place with the help of ZLIT function.
Position in Schema: PCR ZS04 & ZS02
regards,
Basanthi
Hi Basanthi,
You can try likeiInitially if condition is successful transfer one to your day type then day type value to monthly time type.
try like below in your pcr
hrs=1
hrs=dzlat (day type time type)
adddbzlat
In another pcr
hrs=dzlat
adddbzcnt (monthly time type)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Basanthi,
As Inge suggest, you need to check the SALDO table for the monthly balance.but for this, you need to change the "Cumulate in period balance" as 1 in table V_T555A for the time type ZCNT.
Just try it.
Regards,
Dinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Basanthi,
in table TES you always have the daily value of a time type.
The cumulation you will find in the table SALDO.
best regards
Inge
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
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.