Hi,
In the ZL table, you will get the OT hours and after that you will calculate the OT amount.
Now as per logic calculation logic you will derive that with PCR and after that compare that amount with 50% actual Basic pay amount.
After done the calculation of OT amount in the XT00 subschema. Then you will calculate the Compare the OT amount with actual 50 % of basic pay wage type with custom PCR.
ZCMR
3
9400
AMT= 1000
AMT/2
ADDWT&100A
AMT=& 100A
AMT- 9400
AMT?0
*
ZERO= NRA
AMT=& 100A
ADDWT 9400
>
ADDWT *
Insert this PCR with PIT function just after XVAL PCR in the factoring schema.
Here WT9400 is the OT wage type and WT1000 is the Basic Pay wage type.
Regards,
Sankarsan