Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Question from HR Functional on Jan 26 at 10:58 AM Hi Experts, Kindly help me with below issue. I'm stuck in the middle of the PCR. We are using TM04 schema. The issue is , OT hours should be calculated from Mon-Sun. Within this week, first 7,5hours should goto WT 2020 and the rest of the hours should go to WT2021. I wrote PCRs as below. -------- PCR1. (Initialisation) Varstwdy 1 N HRS=M0901 ADDDB 0901Z Y HRS=0,00 ADDDB0901Z ------ PCR2 : (Evaluate OT - ) OUTOTWGTYP **** |_ ADDOT * 0300 |_HRS=D0901 HRS?COVERT (Constant stored with 7,5hrs in V_T511K) * HRS-COVERT HRS- * ADDOT 2020 > HRS=OVERT ADDOT 2020 HRS>0 HRS<D0901 GENOWB* ADDOT 2021 ----- PCR 3: HRS=D0901 HRS-M0901 ADDDB0901Z I'm unable to get the result. When hours are >7,5, how do I check the condition to split the hours and put them into WT 2021? Thanks in advance, G | Reply to this email to post your response. __.____._ | _.____.__ |