cancel
Showing results for 
Search instead for 
Did you mean: 

Rounding for absence

Former Member
0 Kudos

Dear all,

Find the requirement below,

working hour = 8hrs (half n hour paid break)

If any employ taken 4 or below 4 ours leave, half day have to deduct from quota.

If morethan 4 hours, it has to consider as full day.

I gone to rounding rule, but confussed what all the values has to be given or what to do in the screen.

Regards

ET

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks all...

Former Member
0 Kudos

Hi ET,

I assume you want to know how to setup the rounding rule, here some example.

Example 1


No. Lower Limit    Incl. Upper Limit    Incl. Target Value Roll.
1   0.00000        Y     0.50000        N     0.00000      N

That's mean: if ( value >= 0 and value < 0.5 ) result = 0

Example 2


No. Lower Limit    Incl. Upper Limit    Incl. Target Value Roll.
1   0.00000        Y     0.50000        N     0.00000      Y

This one is same as example 1 with Rolling on, and rolling is somethings look like this at the end


No. Lower Limit    Incl. Upper Limit    Incl. Target Value Roll.
1   0.00000        Y     0.50000        N     0.00000      N
2   0.50000        Y     1.00000        N     0.50000      N
3   1.00000        Y     1.50000        N     1.00000      N
.
.
.

Rolling generate a set of rule by adding the difference of Upper and Lower Limit to the field Lower Limit, Upper Limit and Target Value

Example 3


No. Lower Limit    Incl. Upper Limit    Incl. Target Value Roll.
1   0.00000        Y     0.50000        N     0.00000      N
2   0.50000        Y     1.50000        N     1.00000      Y
3   1.50000        Y     2.00000        N     2.00000      N

This is a rule which setup wrongly, rule number 3 will never run because rule number 2 with rolling on will handle all value larger then 0.5.

And that mean SAP check the rule in seq., once it find one, it stop.

Wish it help

Regards

Bill

Former Member
0 Kudos

Good efffort, thanks

seg_hr_it
Active Contributor
0 Kudos

Hi ET!

Please follow some steps below:

View table T556C in T-code SM30/SM31.

First: Create 1 new Rounding rule: example:

08 Rounding test 001 0,00000 0,50000 0,50000

08 Rounding test 002 0,50001 1,00000 1,00000

Next choose Counting rule and choose subtype of absence you want to maintain:

Finding Counting:

Hours: choose rounding rule as 08 and choose Round first.

Days: do the same.

That's all! I have successfully configured. Hope you can do it soon. It's quite easy.

Good luck!

Woody.

Former Member
0 Kudos

Thanks Friend,

I'll try this, but I think the table that you given is wrong. I think the table number is V_T559R.

Alse please explain me, what the below given values mean?

08 Rounding test 001 0,00000 0,50000 0,50000

08 Rounding test 002 0,50001 1,00000 1,00000

Is it says 0 to 0.5=5 and 0.51 to 1 = 1 ?

and also I can see some check boxes between the values, what is that and need to check the box or leave it?

Regards

Thomas

Former Member
0 Kudos

Hi Thomas,

This is the standard example on the use of those check boxes you see in V_T559R.

You want to set a rounding rule that states that an accrual entitlement greater than or equal to 0.5 and less than 1.5 should be rounded to the value 1. The rule should apply to a rolling interval.

Enter 0.5 as the lower limit and select the Incl. field. Enter 1.5 as the upper limit and leave the Incl. field blank. Enter 1 as the target value. If you want the rule to apply to all intervals, select the Roll. field.

The length of the interval is 1.0. The next interval is the interval from 1.5 - 2.5 with a target value of 2, the next from 2.5 - 3.5 with a target value of 3, and so on.

Regards,

Ram...

Former Member
0 Kudos

Thanks for your reply