cancel
Showing results for 
Search instead for 
Did you mean: 

Second Saturday after half day working

Former Member
0 Kudos

Hi All,

I have requirement where every second saturday of the month is half day working and rest all saturday would be as normal working days. Sunday is the dedicated off.

We could able to resolve the issue by creating the 12 holidays using holiday class '2'  and created a selection rule incorporate to Daily work schedule.

Correspondingly i have created a variant for Daily work schedule with half day working. Then, created the work schedule and subsequently we have generated the work schedule. Automatically every second saturday was replaced with the DWS with half working day.

Alternatively we are looking to build the same logic through a PCR and need your inputs in going forward:

Time type:

PCR ZM02 -  I have taken a monthly time type and on every friday the time would get a value of 1 added.

PCR ZM03 - This PCR helps to identify second saturday when the time type value 2 and replace the existing DWS with the new DWS with half day working.

Saturday half day DWS  is DSAT

Normal DWS is DW01

I have incorporate both the PCR in Schema TM04 above the P2001 & P2002 and used the function ACTIO to call the PCR's.

Thanks in advance.

Regards,

Basanthi

Accepted Solutions (1)

Accepted Solutions (1)

vianshu
Active Contributor
0 Kudos

Hi Basanthi,

In the PCR ZM02, please change HRS+ZSAT to ADDDBZSAT.

Kindly test the solution after making the above change.

Thanks and regards,

Vivek

Former Member
0 Kudos

thanks Vivek for your reply.

I have done the changes and tested the same. Still the old DWS is continuing.

Regards,

Basanti

vianshu
Active Contributor
0 Kudos

Can you please attached PCR processing log for both the PCRs?

Also kindly show me the screenshot where you have placed the PCRs in the schema.

Thanks and regards,

Vivek

Former Member
0 Kudos

thanks vivek for your reply.

Please find the below screen shots for your reference :

Positioning in the Schema:

PT60 & PCR Processing:

Regards,

basanti

vianshu
Active Contributor
0 Kudos

Please give me a day's time to check this. I am slightly busy today.

My suggestion for this was based on PCR TE20 where DAYPGOFF replaces existing DWS with OFF for public holiday class 2.

I will see in my system why it is going wrong.

Thanks and regards,

Vivek

vianshu
Active Contributor
0 Kudos

Hi Basanthi,

Please find below step by step configuration of Second Saturday as half day working in time evaluation.

I hope this will resolve your issue. If you are happy with solution, kindly close the thread by marking this answer as correct.

Regards,

Vivek

Former Member
0 Kudos

Thanks Vivek for your time.

Got the output when time evaluation is executed but wanted to know whether we can replace the DWS in the Work Schedule in the back end.

When I checked the PA30 -> Infotype 007 old DWS is still there not replaced by the new one. When i executed the live run for time evaluation it is correctly taking for the reduced hours and rest is calculated as overtime.

Regards,

Basanti

vianshu
Active Contributor
0 Kudos

Time Evaluation can't replace the DWS in IT0007. There is no standard functionality available for it. If you want to replace the DWS in IT0007, please use TCode PT02.

Thanks and regards,

Vivek

Former Member
0 Kudos

Thanks Vivek for your time and support.

Regards,

Basanti

Answers (0)