cancel
Showing results for 
Search instead for 
Did you mean: 

Time Management - Wage type

former_member182377
Active Contributor
0 Kudos

Hi SAP Guru's

Can any one help me out with the below scenario on this issue,

OT is currently being calculated through table T510S in our system. however client has come up with some new requirement,

In my work schedule Saturdays and Sundays are off day, when employee clocks in on friday 10:00 and clocks out next day 04:00, which means saturday he works for 4 hours where i have to do a different OT calculation for him,

If the next day is public holiday i can achieve it through T510s by checking next day. But here is not a public holiday and day type is still blank, in this case how do i identify the next day i.e Saturday or Sunday? is it possible through a PCR or Standard itself?

Can any one help me out on this issue.?

Thanks in advance

Thanks

Sriram

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

you can split your time pair with the hours those are falling in Saturday using GENTP operation in PCR and assign a processing type to it and make one entry in t510s with week days 5 or you can directly pass the same tip pair to t510s and select week day as 5 and start time as 2400 and end time as 4800

former_member182377
Active Contributor
0 Kudos

Hi Srikanth,


Thank you so much for your reply, would you please let me know , how to achieve this by explaining the PCR please.

I am new to it and deliberately needs this solution to be resolved. Will you please help me on this.

Thanks

Sriram

former_member193652
Active Contributor
0 Kudos

Hi Sriram,

What is the daily work schedule(DWS) for the EE? For weekend system by defult will consider it as a part of his/her DWS and not generate OT. If Saturday is a public holiday yes you are right some companies give OT for working times on Saterday.

Anyway, I think you can handle it by T510S also. You can make a rule based on Weekdays or DWS class by define a new one for Saturday in V_T550A, can't you?

Regards,

Omid

former_member182377
Active Contributor
0 Kudos

Hi Omid,

Thanks for coming back. Hope you can help me with the scenario.

DWS for saturday we kept it as OFF and sunday as REST and planned working time is Zero with DWS class 5 and 6,  they work for 5 days mon to fri. Sat and Sun Off and rest  day,

As i mentioned in the thread if employee clocks in on friday and clocks out satruday Which is actually an OFF day for him, But still he worked on Saturday We have to give an OT to him.

So when time evaluation reads the data on friday it generates the OT based on T510S right now,  But since clock out has been done on Saturday, OT calculation should be differ from what we give for him on mon to friday.

We have seperate OT calculation for Weekdays, Saturday and Sunday and Publi Holidays,

employees clocks in on friday  and clocks out on saturday. still time evaulation reads his friday data only and generating OT for weekday calculation. but client requirment is he worked four hours for saturday so 4 hours calculation should be Saturday's,

So in T510S how do we find out NeXt day is saturday or sunday or public holiday and how to achieve this.

Thanks

Sriram

Former Member
0 Kudos

create an entry in T510S with your Sat or Sun OT payment wage type with below entries ( give your valid processing type)  and try run the Time evaluation and check whether the below rule is processed or not.

former_member182377
Active Contributor
0 Kudos

Hi Srikanth,

It worked, since after friday is defintely saturday , this condition really worked and i should thank you for this.

But my saturday calculation is like that ,

Less than 4 hours- one amount, > 4 hours and < 8 hours - one amount and > 8 hours one amount. Will this condition can be achieved in T510S

Thanks

Sriram

Former Member
0 Kudos

better you go for a PCR for this type of calculations by checking the hours which are greater than the 24:00, extract the hours which are greater than 24:00 and compare it with 4 and 8 and pass the value to your desired wage type.

former_member182377
Active Contributor
0 Kudos

Hi Srikanth,

Thanks for your suggestion. I go with PCR as you mentioned, so i would not get the things from standard due to calculation restriction.

So i check in PCR itself if its friday using VARSTWEDAY and Clockout time Greater than 24(which is next day) i do appropriate calculation on this , thanks for the solution

One final question on this, as i mentioned i have different calculation of weekdays. sat and sund and public holidays.

For example friday day clock in : 15:00, clock out Next day 06:00, if its normal saturday i can achieve my calculations which you have mentioned through a PCR, but if next is just in case is public holiday. then i can get it from T510S, but My PCR also reads the same as i have not checked anything in PCR whether next day has holiday class 1 or not , so i get double calculation right. Either i have to check Next day class in PCR?? Do we have any standard filed available in PCR to achieve this.

Thanks

Sriram

Former Member
0 Kudos

better you calculate everything from PCR only to avoid the mismatch in calculation. you can query the next day holiday class in your PCR using VARSTNDYHC.

former_member182377
Active Contributor
0 Kudos

Hi Srikanth,

Thank you so so much for your patience on this. I will go for the same way you proceeded and let you know the outcome.

Once again, THANK YOU SO MUCH

Regards,

Sriram

Answers (2)

Answers (2)

Former Member
0 Kudos

in standard you can manage it in T510s.

You can identify saturday by actual day is Friday , the next day is no public holiday and the interval is 24:00 - 30:00 o'clock (e.g).

Sunday you can find by actual day is Saturday and so on...

Kind regards

Inge

former_member182377
Active Contributor
0 Kudos

Hi Inge,

Would you please elaborate it please, it would be really helpful for me to achieve this functionality,

Can you please inge?

Thanks

Sriram

Former Member
0 Kudos

Hi Sriram.

you can check all this things by the entrys in tabel T510s.

In T510s you can define the "Conditions day" for weekdays,

weekday 5 means friday and then the next day is automatical saturday.

Conditions for PH next day = blank (no public holiday)

and "Conditions time" is 24:00 - 46:00 o'clock.

If you want to have sunday the actual day hast to be 6, the other conditions are equal to the example above.

Thats all.

Kind regards

Inge

Former Member
0 Kudos

Hi,

Yes, it is possible using PCR. There is one operation to find relevant day of week.

VARSTWEDAY. Check for 6 (SAT) or 7 (SUN). Based on that apply your logic for calculation.

Thanks,

Ketul

former_member182377
Active Contributor
0 Kudos

Hi Inge,

thank you so much. yes your suggestion works. but my saturday calculation is like that ,

Less than 4 hours- one amount, > 4 hours and < 8 hours - one amount and > 8 hours one amount. Will this condition can be achieved in T510S?

Thanks

Sriram


Former Member
0 Kudos

friday      clock-in      22:00

saturday clock-ou     04:00

in your TIP table I expect something like:

22:00     28:00          for total of 6 hours.

Now to have the 4 hours assign to next day you can (high level):

1. create pcr which splits the time entry. Store the 24:00 - 28:00 time frame in time type ZXXX,

2. when processing saturday, read ZXXX in pcr via HRS=LZXXX

3. make required configuration so time type ZXXX is handled properly e.g. extra payment (T510S)