on 07-02-2015 7:06 AM
Dear Seniors,
I have a requirement to change the week off from 2nd & 4th saturday to 1st & 3rd Saturday. I have made the changes in table V_T551A, however when I generated the work schedule I was unable to find the 1st and 3rd sat off.
Please suggest what else I need to change in this case.
Regards,
Ritu
Are you using an user exit to handle this? The user exit EXIT_SAPLPTWS_001will help you with this. In this there is a structure which has fields for each day - TPR01 is for Day 1. Check with your technical person. Using this structure you can overwrite the DWS of any day. After this you need to write a custom FM to pick the 1st and 3rd Saturdays. If the FM returns Yes (for 1st and 3rd Sat) then replace the DWS to the weekly off.
Logic of this custom FS needs to be thought out - like looping through each day. The structure I mentioned will have all the fields needed for the logic.
Hope this helps.
Pramod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ritu,
Check the below user exit.
The solution
provides 1st & 3rd Saturday of every month as an off day while generating some
specific work schedule rules. To implement we will use SAP standard Enhancement
PTIM2007. This enhancement will call Function Module “EXIT_SAPLPTWS_001” and
program “ZXP01U03”.
You have to give the proper logic to technical person who can able to check and do the rest part.
Regards,
Sankarsan
Once you have done the changes in the WSR generation table i.e. nothing but PT01 then you have to save that record and pass to TR.
Check that TR has been moved perfectly ok or not. After that check are you running for the correct month where you have done the changes.
Check and let me know.
Regards,
Sankarsan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sankarsan,
I have changed the ref date 29.06.2015 for PWS in WSR. After this, for july and august system is considering 1st & 3rd sat off along with 5th sat off, but again for sept 2015 its not working. For sept month its reflecting 2nd and 4th sat off.
I have to restrict system for 1st and 3rd sat off. In case if 5th sat is present in any month then it should not be off. Hence, for 29th aug 2015 it should not come as OFF.
Please suggest
Ritu
Hi Sankarsan,
July and Aug 2015 details are fine (1st and 3rd sat off ) but details of sept, oct 2015 are wrong( 2nd & 4th sat off ), again nov 2015 is fine. This is the pattern this time.
I can change for this calender year but again I need to update next year manually.
Is there any other solution instead of this manual change ?
Ritu
Check from which date you regenerated the WSR and the month you are checking.
Pramod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.