Quantcast
Channel: SCN : Discussion List - SAP ERP Human Capital Management (SAP ERP HCM)
Viewing all articles
Browse latest Browse all 7926

Comp-Off Rule

$
0
0

Hi Experts.

 

Hello All, our project is going live on April 20 th and iam stucked in Compoff Rule,....Kindly help me .

Client Requirement:

1 If employee works on day for 8 hours he is eligible for compoff.

2. If employee works 6 extra after his planned working hours he is eligible for comp off

I have Created one day balance time type.

 

5002 Compoff Calculation

    *

      ****

        VARSTFREE  Plnd hrs DWS = 0?

          N

            VARSTPRSNT Employee at work

              N

                LEAVE      Stop with PC Rule

              Y

                HRS=DCOMP  Set

                HRS?14     Decision op.     HRS

                  *

                    HRS=1      Set

                    ADDDBCOMPZ Set day balance = 0

                  <

                    HRS=0      Set

                    ADDDBCOMPZ Set day balance = 0

          Y

            VARSTPRSNT Employee at work

              N

                LEAVE      Stop with PC Rule

              Y

                HRS=DCOMP  Set

                HRS?8      Decision op.     HRS

                  *

                    HRS=1      Set

                    ADDDBCOMPZ Set day balance = 0

                  <

                    HRS=0      Set

                    ADDDBCOMPZ Set day balance = 0

This Pcr is working Fine for week off but the rule is not working for the employee who works extra 6 hours apart from his planned workings hours.

 

Experts, kindly help.

 

Thanks in advance


Viewing all articles
Browse latest Browse all 7926


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>