on 04-02-2014 5:15 PM
Hello,
I need a timewindow which is opened from first day of month to U+3 with all holidays and weekend between.
U+3 is the third workday in month considering german holidays.
Is it possible to define a timewindow with start and end date?
Thanks for your help!
Best regards,
Dana
As a workaround with a small bug I created a timewindow with 3 elements:
So the timewindow is closed from the first day of month to the 3 workday of the month in german calendar.
A problem I have with the Easter holiday. The 6th April 2015 should also be excluded in my timewindow but it isn't.
Best regards
Dana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Dana,
Is it correct to assume that you want the Time window to be open for the first day of the month to 3rd working day of the month?
For example, the time window will be open from May 1st, 2014 to May 5th, 2014.
In this case,
I have attached a screenshot for your reference. You can cross-check the time window in "Opens at" tab.
thanks
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nanda,
the problem is that in your example the 3rd workday should not be the 5th of May.
1st workday = 4th of May (1st of May is a holiday and 2nd and 3rd of May is weekend)
2nd workday = 5th of May
3rd workday = 6th of May
So the timewindow should be opened from 1st of May to 6th of May.
Thats why it is a problem to create the timewindow with the CPS-function "to xx workday".
I created a timewindow with the 3rd german working day every month and tried to use period function but it didn't work.
Best regards
Dana
Lets try this,
You are creating three calendars.
2. A calendar that is open for the working days in previous calendar - in elements 1 day of the month to 3rd workday of the month (didn't include screenshot)
3. final calendar - two elements, one element for 1st working day, as the previous calendar doesn't have that.
thanks
Nanda
Hi Dana, Hello Nanda,
Please see the example for time window shifting (skipping holidays):
http://<server>:<port>/scheduler/help/user_guide/schedules/time_windows/time_windows_shift.html
Now, I am sorry, the example in the documentation uses the French holiday calendar ;-), and, that is easy to change. The example uses an SAP factory calendar via a period function in one time window, but you can use an ordinary time window that is open on workdays (excluding public holidays) instead.
Regards,
HP
Hi Dana,
The following code illustrates the possibilities, where _ is a weekend day or public holiday and X is a workday - my postulate is the longest possible weekend/public holiday period is three days long, maybe Easter is a problem Good Friday & Easter Monday for you, let me know:
a. ___XXX
b. __XXX
c. _XXX
d. X_XX
e. X__XX
f. X___XX
g. XX__X
h. XX___X
i. XXX
Now we have integrated support for first, second, and third day of the month, first, second, third workday of the month (non-weekend day, non-public holiday, for the 2nd workday, we shift 2 days instead of the 3 in the example, likewise for first, we shift 1 day), the only problem I see is, if the 4th day of a month is a public holiday/weekend day and the third workday (excl weekends and public holidays) falls on the 5th (g.), f. (2nd, 3rd, 4th day are public holidays/weekend days, here 4th is a problem) and h. (3rd, 4th, and 5th day are public holidays/weekend days).
We can create a time window that's open on the 3rd, checks if it's a public holiday/weekend day and shift to the 4th day and a second time window that uses this first one and checks to see if it also falls on a public holiday/weekend day, then shift one day more.
This is all pretty complex, I will come up with a time window combination after work ... my boss will kill me if I make this during work hours ... ;-), unless I can find a use for it internally, which I cannot for now.
Just my thoughts, try and build on that.
Regards,
HP
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.