cancel
Showing results for 
Search instead for 
Did you mean: 

Rule Overtime/Efficiency

Former Member
0 Kudos

Hi,

I have never worked in Rule/schemas so getting difficulty to undertand the rule. Can you please help me to read out the below attached rule.

Along with this now the requirement is changed by the client now the requirement is like this .

OT Hours                          OT Days

2 or less than 2 hours         = 0 days

>2 or less/equal than 6   =   0.5 days

>6 or less than or equal to 10  = 1 days

>10 or less than or equal to 14 = 1.5 days

>14 or less than or equal to 18 = 2 days

>18 or less than or equal to 22 = 2.5 days

>22 or lor equal to 24  = 3 days

Can you please help me in write a rule .

Rules attached

screen shot to save 1024 in infotype 15

Result table for 1024

Regards

Yogi

Accepted Solutions (1)

Accepted Solutions (1)

sikindar_a
Active Contributor
0 Kudos

1024

will be caluculated on 1001 + 1002

The lines AMT=   1001

               AMT+   1002 will tells that

later the amount will be doubled with *2 , again that amount will be multiplied with the number 10 which u have given in IT0015

and will be divided with no of working  in whole period ... again the amt will be divided with number 8

After that...store that amount in Variable table &TV01...later down the decimals to 100 and subract the amount from the variable table

In order to ....u to learn the PCRs add PRINT operation under all the lines .....in the PCR

EXample

AMT=   1001

AMT+   1002

PRINT

Like that you add the operation under all lines....that is the best way to learn the process of the PCR

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks Sikander... able to understand PCR now .i was stucked on GKDIVI operation .. not able to understand what was the use of GKDIV.. try to take F1 help also but not succecced .. anyway lot of thanks ...

I appreciate if  you please help me to write a rule for the below requirement.

Along with this now the requirement is changed by the client now the requirement is like this .

OT Hours                          OT Days

2 or less than 2 hours         = 0 days

>2 or less/equal than 6   =   0.5 days

>6 or less than or equal to 10  = 1 days

>10 or less than or equal to 14 = 1.5 days

>14 or less than or equal to 18 = 2 days

>18 or less than or equal to 22 = 2.5 days

>22 or lor equal to 24  = 3 days

Can you please help me in write a rule .

Former Member
0 Kudos

Hi..

Its calendar days  Divisor.

lets say you hv 5000/= in your wage type 1000 and your calendar days for tat period is 31.

AMT= 1000  AMT/GKDIV

5000 will be divided by calander days 31

(This is sample)

Dinesh