cancel
Showing results for 
Search instead for 
Did you mean: 

Rotating Work Schedule, as and when Start date given in IT0007

Former Member
0 Kudos

Hi Masters,

Please find the below table and advise me to fulfill requirement.

Requirement is, this rotating work schedule, one PWS and DWS is different from 001 to 007.

Normally we give reference date in WSR and we generate Work schedule, and system will generated for the year.

But, as per the requirement, when employee IT0007 is creating with this WSR - start date, must be start with Shift 001.

Ex: 01.01.2013, automatically it should be Shift1 -002 Tuesday.

PS grpPWSTextW01020304050607
38SHF1Shift1001FREEDWS1DWS1DWS1DWS1FREEFREE
38SHF1Shift1002DWS1FREEDWS1DWS1DWS1FREEFREE
38SHF1Shift1003DWS1DWS1FREEDWS1DWS1FREEFREE
38SHF1Shift1004DWS1DWS1DWS1FREEDWS1FREEFREE
38SHF1Shift1005DWS1DWS1DWS1DWS1FREEFREEFREE
38SHF1Shift1006DWS2DWS2DWS2DWS2DWS2FREEFREE
38SHF1Shift1007DWS2DWS2DWS2DWS2DWS2FREEFREE

Thank you,

Sreenu.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

If the work schedule has to start with Shift1- 002 on 01.01.2013, then the reference date in the Workschedule should be 11.02.2013 and the Start point in PWS should be 001. If you would want the work schedule to have Shift1 - 001 on 01.01.2013 then the reference date has to be 18.02.2013 and the start point in PWS should be 001. Using this pattern you can create 7 different workschedule rules.

Best regards,

Santosh Nayak

Former Member
0 Kudos

HI Santosh,

Requirement is that what ever the PWS i mentioned, need to generated based on the start date of IT0007, when ever we assign this WSR to employee.

Thank you,

Srinivas.

VWITS01
Active Contributor
0 Kudos

I am not sure but I do not think that same WSR can be created on the basis of start date of IT 0007 as it will deiffer to EE to EE - very strage why you want this ??

More importantly, work shedule rule would be obviously start with the start date of IT 0007 , why you want to generate it with the same date ..

Please correct me if I am not getting you clearly.

Regards

Priya

Former Member
0 Kudos

Hi Priya,

So you understood my requirement correctly.

That's the client requirement to do this.

When ever they created i.e. date that has to be validate and that particular DWS need to be generated.

First time i got this thing.

Thanks,

Srin

VWITS01
Active Contributor
0 Kudos

You need to go with User Exit - please check with ABAPer - I do not think this can be achieved with standard config. ( I am not sure though)

Please wait if experts get back to you on this.

Priya

VWITS01
Active Contributor
0 Kudos

Further - Logic can be as below :

If IT 0007 is maintained , it should call the T code PT01 to generate particular DWS which is maintained in 0007 with the start date.

I think ABAPer can work on this - Not sure please check with experts on this,

Hope this helps.

Regards

Priya

Former Member
0 Kudos

Hi Priya,

Thanks for your reply, normal function of SAP is if WSR not generated, when ever you create IT0007 system will generate it, but with reference to V_T508A reference date mentioned by us.

That's the issue here.

Thanks,

Srin

former_member193652
Active Contributor
0 Kudos

Hi Srinu,

I am not so clear on your requirement but have you ever tried "start point in PWS" in V_T508A?

For more detail please have a look at my reply at http://scn.sap.com/thread/3316562  and http://scn.sap.com/message/14232338#14232338

Hope you find it helpful.

Regards,

Omid

VWITS01
Active Contributor
0 Kudos

Hi Srinu,

In this case, you can select only one reference date in table V_T508A however you require dates as per IT 0007 start date , which I do not think is feasible.

I still think, User exit should be used to meet your requirement - Kindly check with your Develpoement team if they can help you with this.

I wonder is it can be achieved by config - if you get it please do not forget to share her 🙂

Regards

Priya

VWITS01
Active Contributor
0 Kudos

Hi Srinu,

Can you be more clear with your requirement.

Regards

Priya

Former Member
0 Kudos

HI Priya,

Requirement is that what ever the PWS i mentioned, need to generated based on the start date of IT0007, when ever we assign this WSR to employee.

Thank you,

Srinivas.

former_member193210
Active Contributor
0 Kudos

You would need to create 7 different Work Schedule Rules, (SHF1 to SHF7), each one starting on the next week of the rotation,

Example for PSW SHF2

PS grpPWSText W 01020304050607

38 SHF2 Shift2 001 DWS1FREEDWS1DWS1DWS1FREEFREE

38 SHF2 Shift2 002 DWS1DWS1FREEDWS1DWS1FREEFREE

38 SHF2 Shift2 003 DWS1DWS1DWS1FREEDWS1FREEFREE

38 SHF2 Shift2 004 DWS1DWS1DWS1DWS1FREEFREEFREE

38 SHF2 Shift2 005 DWS2DWS2DWS2DWS2DWS2FREEFREE

38 SHF2 Shift2 006 DWS2DWS2DWS2DWS2DWS2FREEFREE

38 SHF2 Shift2 007 FREEDWS1DWS1DWS1DWS1FREEFREE

On the employee's IT0007, the user would have to select which of the 7 PWS is required.
Former Member
0 Kudos

Hi Remi,

Thanks for your reply,

This is only 1 Pool means 1PWS, like this we have 7 more pools.

As you said if i create 7 PWS differently its rotation will be different because there would not be any change in sequence of DWS.

The issue is If i change the reference date in WSR for PWS it will work properly for one employee but the same shift assigned to another employee with another date, it wont work.

If i not mentioned clearly please ask me.

Thank you,

Srinivas.

former_member193210
Active Contributor
0 Kudos

You should be able to have one Periodic Work Schedule and still be able to create 7 different Periodic Work Schedule Rules.  In such a case, their configuration should be identical except for the reference date (V_T508A-BZPKT) which would shift by 7 days for each of the 7 PWS Rules.  I've never tired it but it should work.

This way, on any given week, one of the 7 work schedules will be on Week 001 of your Periodic Work Schedule, and that is the one your users will have to select for the employee's IT0007.