Skip to Content
1
Sep 10, 2010 at 02:17 AM

Time PCR using constant

430 Views

I have a scenario where client wants number of working days to be 26 - the PL, CL. We are not using time, so cannot use the tksoll etc.

I have written a time PCR where i have kept a constant 26 in T511K table. Now i am reading that constant through time evaluation and when i am doing so, the system is calculation value of 25-1-2 = 22 but it is doing for every day the time evaluation runs. I just want system to take the value once in a month. Can anyone please tell why this is happening. Instead of value 22 coming at end of month, it is coming out to be 600, or 500 coz it is again and again cumulating.

I amc alling my rule iwth ACTIO and in time type have selected only add to period balance as i thought adding to daily balance may be raeson but still not working.

HRS=CZTWRDHRS-MY-RL HRS-MY-PL HRS-MY-PE HRS-MYSLC NEXTR A

HRS-MYSLX HRS-MY-OL ADDMBYPRD

where ZTWRD is 26 and all other are my leave type time types for RL, PL, PE SLC, SLX, OL.

I jus want a value of 26 - leave types once at end of month, not on a daily basis. No selected ADDDB. Please guide.