cancel
Showing results for 
Search instead for 
Did you mean: 

TD10 PCR Logic

Former Member
0 Kudos

Dear Guru's,

Could you explain the below PCR with an Example.

HRS=BRELTI

HRS-SWTE 

HRS?CTETOL

*

<

VARSTREDAY

**

TEXIT NE N

01

TEXIT NEWN

Thanks

Vedanth.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vedanth,

  1. HRS=BRELTI (in this operation, HRS get the time of time evaluation run. for example: 14:30 or 14,5)
  2. HRS-SWTE (in this part. number of HRS in previous part, deduct from end of daily work schedule. for example you set Daily work Schedule from 8-16. so HRS=14,5 => 14,5-16=-1,5. as a result HRS get new value. -1,5 is the new value for HRS)
  3. HRS?CTETOL (in this part, HRS New value, is compared with a value of payroll parameters. you can see payroll parameters in V-T511K. in CTETOL, C means a Payroll constants from table V_T511K. we consider TETOL=5. then the result of this part is -1.5 is compared with 5.
  4. IF HRS<CTETOL then rule continue in VARSTREDAY.... but ELSE rule will end.
  5. in our example HRS is less than TETOL. in continue, VARSTREDAY get value of relative day of time evaluation period. consider we are in 3nd of time evaluation period.
  6. because 3nd is not equal to 01, the rule continue in TEXIT NE N operation. this operation means  Function CUMBT is not processed+Further processing is cancelled and The next day is not evaluated.

IF we are on the 1nd of time evaluation period TEXIT NEWN means Function CUMBT is not processed+Further processing is cancelled and The next day is not evaluated+ A recalculation is only set for RPTEZL00 if the previous day also belongs to the current period.

 

Regards.

Former Member
0 Kudos

Excellent Explanation of TD10.

Former Member
0 Kudos

Thanks a Lot Hossein. the best explanation on TD10

it gave a clear understanding.

Former Member
0 Kudos

you're welcome Vedanth

i hope its useful for you

Answers (0)