Day Types in WSR
Hi Gurus,
Have a question on Day Types. Have defined spl day rules and assigned it to WSR. Got the work schedule re generated.
Defined Bridge day:
Say Nov 6 is Weekly off - where they are intended to work. specified as 0/ work and paid
Following week they have PH on Thu and Fri is scheduled as work day so we need to change the work day to holiday - defined the rule as 3 Spl Day off Paid
But when we check the work schedule in IT0007 it shows day type as specified in the special day type rule.
but the work timings for that special day off is not changed to "0"(Zero) still showing the work timings defined in DWS nor the work timings for Sat is showing the daily working time.
Please let me know how this can be achieved.
Regards,
M Bharath
Posting the solution can sometimes help others.
Similar Messages
-
Time Management- Wrong Day Types coming when updating leave records
Dear Experts
Can anyone help me on what I should do to change my Day Type in Time management. The greatest challenge is that the system is not able to read the day type for Work/Paid. Despite that I have created my dailly working schedules, work schedule rule and my calender showing working and non-working periods, I still face a challenge when I want to give employees leave because the system says the whole period is a non working period. If I check in the employeeu2019s personal work schedule I notice that all the day types are Off/Paid hence that leave cannot be given especially if its vacation which does not count weekends and public holidays.
I am using the same customization as that I was using in the testing environment and was working fine but then in production, it is not. Where exactly can I check and change so that the day types are read correctly. When I run time evaluation, the system is accruing days normally but then it is picking Day type 1(one) in Table PSP
thanxHi,
For the daily WSR that you used (in table V_T550A) check that in Valuation section Daily WS class does not have value 0
Cheers -
Assigning day types to the weekdays and holidays
Hi,
Using the submodule Time Management, day types 1(time off/paid), 2(Time off / not paid), 3(time off/special) are created
The different positions of the weekday, saturday and sunday are b(working), 1-public holiday, 2- half day holiday, 3 to 9 - customer specific holidays
Can anyone explain me how the day types are assigned to the different positions of the weekdays, saturday and sunday?
Thanks
GracyHey Gracy,
What you have done will assign day type 1 ( Paid/OFF) to all the calendar days. If you use this Day type rule in your Work Schedule rule then the use this WSR for an employee in IT 0007 then your Employee will be in Honeymoon period As he will be paid for all days and his attendance won't matter
OK.. lets start afresh.
Day types are used for determining whether employees have to work on public
holidays and whether they are still paid on these days.
The main purpose of Day type rules is to assign a day type ( 0 or blank, 1,2 and 3) to each calendar day. A week has 7 days. Mon - Fri are weekdays and then we have Saturday and sunday.
While generating work schedule, the system will assign a day type to each day. For this it will reference the day type rule.
First it will check what day it is evaluating i.e a weekday or a saturday or a sunday. Then it will check the Public holiday class of that day and finally depending on the combination of day of the week and the public holiday class of the day it will assign a day type.
Eg Consider this
Weekday Saturday Sunday
b123456789 b123456789 b123456789
.1.1111111 .1.1111111 .1.1111111
Explanation for above example
If a day with public holiday class BLANK(indicated as dot in above example) falls on WEEKDAY then it is a PAID/WORK day
If a day with public holiday class 1 falls on WEEKDAY then it is PAID/OFF day
If a day with public holiday class 2 falls on WEEKDAY then it is a PAID/WORK day
and so on for other Public holiday classes for WEEKDAY.
The same applies to Saturday and Sunday.
Suppose
Weekday Saturday Sunday
b123456789 b123456789 b123456789
Suppose if blank is assigned in the rule for all days and for all public holiday classes then your employees will have to work on all public holidays.
Hope this clarifies your doubt. Read what I have written very carefully. I know its a little confusing
Cheers
Ajay -
Hi,
I need to a special day type rule assigned in period work schedule to a group of expatriate employees since they will not be using the standard public holiday calendar.
The days need include 23Nov, 25,26, Dec, 14 April. How do I create this and how can I link this to the PWS.
Many thanks,
TomuriHi,
Create the public holidays and assign those PHs a particular holiday class which is not used for others and assign these holiday classes to the workshcedules for expatriates.
~BiSu -
Creation of rule for day type for Unpaid Day off
Hi,
i working on two types of day off one is paid another one is unpaid.
For first one i selected the standerd SAP rule 01
And for unpaid I created one rule Like
Dy.ty Wd d.ty sat d.Sud.
2 2222222 2 2222222 2 2222222
like that i was created i assigned to the work schedule rule.
can u any body tell me is it correct or wrong.
Thanks in Advance
Edited by: bhaskar K on Sep 23, 2008 12:33 PMhi bhaskar
want to make some thing clear when ur creating a rule u take into account the holiday class along with day type when u try to combine and match them u can precisely say tht ur rule wud be correct based on ur requirements.
please make it clear
regards
sb -
How to create a day type in Infotype 0041 (Want to maintain EE Retirement date)
Dear Consultants,
Can any buddy tell how to create a day type (Retirement date) in Infotype 41,
My client want to maintain employees retirement date in Infotype 0041, please share your Ideas.
Thanks & Regards,
NaveshHi Sridevi,
Thanks for quick reply.
Regards,
Navesh -
Hi all,
Does anybody have a doc on creation of daytype rules and can share
Thanks in advance
Raghuhi
in day type rules we are linking holiday classt to day type
if holiday class b (blank) i.e. full working day
day type specifies whether full working day is paid or unpaid
let us see the link
holiday class b
day typ b
b and b means on full working day work paid is possible
Edited by: M. Madhu on May 13, 2009 1:26 PM -
Can I modify the the day type with a time rule???
Hello,
I´m trying to modify the day type,I want to change in some particular cases the day type from 1 to 0 for example. I´m looking in the documentation but I don´t find no operation to do this trough a time rule.
I think that it would be abble to do with a function that modify the table PSP.
Anybody knows how can I do it??
Thank you very much!!!.Regards,
Emi DFThank you Valéire,
I´ve solved the problem with your answer.Regards,
Emi DF -
Define selection rule for Day type
Dear Experts
As I want to "Define selection rule" for "day types" in Time Management-> work schedule-> Day types-> define selection rule, the third and 4th columns are default weekdays of SAP, But weekend is different in our system. How can we handle this subject? Can we change these columns to our needs? How?
For example we want to define that friday is not working day in our company and it should be payed, is there any other option?
Thank you all,...Hi friend,
Check:
Time Management -> Work Schedules -> Period Work Schedules -> Define Period Work Schedules
btw, you should check factory Holiday calendar (Tcode: SCAL) and generate Work schedule for year.
IMG: Time Management -> Work Schedules -> Work Schedule Rules and Work Schedules -> Generate Work Schedules in Batch
Regard,
Michael. -
Hi,
Is there any function module available to know the day type of an employee. i.e weather its an holiday or working day...HR_DE_CHECK_HOLIDAY
HR_BE_DAQ_UN05_NATUDAY_HOLIDAY
HR_BE_UN05_NATURE_DAY
HR_DE_GET_HOLIDAY -
Hi to all,
Its very urgent,
Can any one explain the day type rule one by one in detail, which i listed below.
Rule Day type Weekday Day type Saturday Day type Sunday
01 1 1111111 1 1111111 1 1111111
03 1 1111111 1111111 1 1111111
10 1 1111111 1 1111111 1 1111111
01 1 1111111 1 1111111 1 1111111
Thanks in advance for your valuable concept.
Regards,
babu.AHi Babu,
According to the rule 01, on Weekdays, if it is working day or Half day (b or 2 ) it will be Work and paid...And if it is weekday and any other holiday class, it will be Work off and Paid including 1 & 3 to 9.
As I don't see any difference in other rules, same is applicable to all.
I understand that last rule 01 is not possible as it will not allow the entry with same Rule name/number.
Now, we need to define these selection rules, if we want to distinguish between certain Group of employees, by paying / not paying them in case of Holiday.
Reward the suitable points if you find helpful and close the thread, if you understand that you got the answer of your query...
Regards,
Dev -
Public Holiday text not displaying in PT03 (Special Days)
Hi Experts,
For my client, I have to configure a public holiday and restrict it to only few WSRs. This public holiday is not part of any public holiday calendar. I have configured this holiday as a special day by defining the day type selection rule & special day.
When I checked the work schedule in PT03, it is not displaying the holiday class and the text of the public holiday. It is only displaying the day type for this day.
Please help.
Many Thanks for your help in advance.
Warm Rgds,
Arun.MqPane = new JScrollPane(qTextArea);
qPane.add(qTextArea);
performedOpsPane = new JScrollPane(performedOpsTextArea);
performedOpsPane.add(performedOpsTextArea);
logPane = new JScrollPane();
logPane.add(logTextArea); When you create a scrolled component, you either pass the component to the JScrollPane constructor or add it afterward, not both. If you're going to add it afterward, you use the setViewportView() method, not add(). -
Half working day before a holiday
Hi All,
I have a scenario wherein client wants employees to work half day before every public holiday ( holiday class 1 ).
I am trying to create a variant of Normal ( 5days X 8hrs ) WS by following rule.
Rule No Holiday Class Holiday Class ( Next Day ) Day Variant
AA 01 XXXXXXXXXX _X__________ XXXXX__ C
Above rule is good to replace WS with variant (reduced hour) if holiday is falling between Tuesday to Thursday.
What i am unable to implement is when Holiday falls on Monday and I want WS to reflect half day on Friday.
Appreciate if anyone can share his/her expertise in implementing this scenario.
Thanks
AbhayHi Abhayadeep,
We will have to use a workaround to achieve this.
If your public holiday is falling on Monday, then create a dummy public holiday for Saturday with public holiday class 9. Ensure that you keep the day type blank for public holiday class 9 in your day type selection rule.
Then in your variant condition, write the below condition:
Rule No Holiday Class Holiday Class ( Next Day ) Day Variant
AA 01 XXXXXXXXXX _X__________ XXXXX__ C
AA 02 XXXXXXXXXX ___________X _____X__ C
Please do generate your WSR after making the above changes. I hope this will resolve your issue.
Regards,
Vivek -
Calendar List View Issue - No Month, Week, Day Icons
I'm trying to setup a Calendar view for a list in SharePoint 2010. Everything is working the way I want, except there are no icons to change the view from Month, Week, or Day. Right now, if someone clicks on a date on the calendar, it switches to the Day
view. But there is no way for them to go back to the month view.
I open the page in SharePoint Designer, and in the Design view I can see three icons on the Calendar (Month, Week, Day). But at no time do these icons show up anywhere except the design view.
I want it to have the arrow buttons, the month and year (which are already displaying) and then the icons to change the view. How do I get them to appear?hi,
i was also facing the same problem but some how i solved this by adding 3 buttons for day,week,month and added javascript. it worked for me
i placed the buttons just above the webpart content place holder
u try like that.
<input name="Week" type="button" value="Week" onclick="Test()" />
<input name="Day" type="button" value="Day" onclick="TestDay()" />
<input name="Month" type="button" value="Month" onclick="TestMonth()" />
At the page end page in designer
<script type="text/javascript">
function Test()
CoreInvoke('MoveView','week');
function TestDay()
CoreInvoke('MoveView','day');
function TestMonth()
CoreInvoke('MoveView','month');
</script> -
Elapse days - calculation from month and year
Duplicate thread ...
coding required for converting month into days
I have Month and year field in my DSO --Year( 2009), Month(4)
I want below logic to calculate -
MTD qty % = (qty * elapse days) / no of days in month
so from the above, I want to know,
1. How can we get the no of days from the above 2 objects (year and month).
2. Elapse days are the days that are over from current date to Ist day of that month.
eg: current date - 04.03.2009 , 1st day of the month - 04.01.2009,
elapse days = 2. (you need to consider all days in the month, not only working days)
so my questions is how can we get, # of days n a month from above 2 fields and elapse days based on the above condition.
also want to know, where can I have the logic in transformations or query level.
please provide your suggestions.
Thanks,
Pra
Edited by: Arun Varadarajan on Apr 5, 2009 10:44 PM
Edited by: Arun Varadarajan on Apr 5, 2009 10:45 PMHello,
I think the sample program below does what you ask: it finds the days in the month (bit of an overkill to use function modules for that) and then computes the QTD.
Note that the internal string representation of a data variable is always YYYYMMDD, regardless of the "externalized" form (e.g. yyyy/mm/dd or dd.mm.yyyy), so this code will work regardless of your custom date format.
Regards,
Mark
REPORT zqty_to_date.
PARAMETERS:
p_date TYPE dats,
p_qty TYPE i.
DATA:
days TYPE i,
n_year TYPE numc4,
n_month TYPE numc2,
n_day TYPE numc2,
qtd(6) TYPE p DECIMALS 1.
START-OF-SELECTION.
n_year = p_date+0(4).
n_month = p_date+4(2).
n_day = p_date+6(2).
PERFORM days_in_month USING n_year n_month CHANGING days.
qtd = ( p_qty * ( n_day - 1 ) ) / days.
WRITE: / 'Days in month:', days,
/ 'Qty to date :', qtd.
*& Form days_in_month
* text
FORM days_in_month USING year month CHANGING days.
DATA: ymod4 TYPE i,
ymod100 TYPE i,
ymod400 TYPE i.
CASE month.
WHEN 4 OR 6 OR 9 OR 11.
days = 30.
WHEN 2.
ymod4 = year MOD 4.
ymod100 = year MOD 100.
ymod400 = year MOD 400.
IF ( ymod4 = 0 AND ymod100 > 0 ) OR ( ymod100 = 0 AND ymod400 = 0 ).
days = 29.
ELSE.
days = 28.
ENDIF.
WHEN OTHERS.
days = 31.
ENDCASE.
ENDFORM. "days_in_month
Maybe you are looking for
-
Hi Friends, I created billing document with reference to DMR in 2009, now I am trying to cancel the billing doc in 2010 but am getting error message that billing doc xxxx can not be cancelled with yyyy. reason CO reposting document cccc must be rever
-
Javascript to check for duplicate entries in 2 pull-down lists
I have created an application form in Acrobat 8 Professional, using LiveCycle and would like to compare selections in 2 drop-down lists so that the same option is not selected twice. I think this is something that could be done with javascript, but m
-
XML property aliasing with namespace
I have a problem: I receive a XML file in my transaction input <?xml version="1.0" encoding="UTF-8"?> <ns0:DATA xmlns:ns0="http://xxx.com/test"> <VALUE_1/> <VALUE_2/> </ns0:DATA> and I maodify it obtaining the following XML file <?xml version="1.0" e
-
Shortest Path Algorithm with Djikstra
Hi all, im developing a shortest path searching techniques by using Djikstra's algorithm. My search space is very huge and it is about 100,000 nodes or we can call it Vertex. I store all the nodes and weight of edges in MySql as follows: From | To |
-
Is there a way to easily add sequential numbers to track names
I have a Samsung home theater unit with an IPOD dock. Unfortunately, no matter what type of folder I am playing the music from, tracks are played in alphabetical order. I can fix this by changing the track names so that they have a number at the fron