Time pair on Planned working hours 0
I want to generate time pair for days where planned working hours is 0. how can i do that do i have to write a rule to generate time pairs on day with hours 8 (fixed if it is a off day) because if anybody takes PL on off day and CL on off day then i have to generate 8 hours of attendance during time evaluation. By default system is not generating any time pairs and hence i am not able to generate 8 hours. Plz guide.
I can generate time types but the problem is that time type will be a generic time type and will be applicable to all absence classes with operation VARST or OUTTP. Until I have a time pair on a non working day and if that time pair is generated then it can be read using RTIPA OR PTIPA variables.
Otherise for every absence type it will generate 8 hours but I want 8 hours to be generated wtih PL and CL only. If i give LOP or LWP then also system is generating 8 hours time type which is wrong. So until I generate a time type for the off day i cannot read 2001 or TIME PAIR TABLE.
Kindly guide.
Similar Messages
-
Planning working hours and actual working hours
Hi All,
From which cube or data source i will get the job Order Planning Working hours & Actual Working hours.
Thanks in Advance
Edited by: ranamk on Jan 24, 2011 7:10 AMHi Anil,
I have already go through the links and couldn't able to find the solution.
I need Actual Working and Planned working Hours by Job Order.
Thanks -
Allowance calculation based on Planned & Actual working hours
Hi,
Please advise how to calculate an allowance based on employees Planned working hours & Actual working hours for a particular work schedule rules.
Example A Employee on Work Schedule for the Whole Month Employee has a 0007 infotype record that has them on Work Schedule SC112 for the whole of April 2008. System pays 100% of the allocated payment of $166.67 per month
Example B Employee on Work Schedule for part of the Month, Employee has a 0007 infotype record that has them on Work Schedule SC112 for the part of April 2008 as they only started on 14th April 2008. Planned Hours for April for SC112 are 180 hours and this person has worked 108 hours which is 60% (=108/180). System should pay 60% of the allocated payment of $166.67 per month which results in a payment of $100.00 for the employee.
Your help would be really appreciated.
Regards
Ranjith YamaHi Manoj,
Suppose ABCD is the wagetype for xyz allowance. I hope you are getting this 1000 amount from T510.
This is the logic of PCR for your requirement.
ABCD
NUM=TKAU** --> Getting Unpaid Absences (Suppose 2)
RTE=KCONS2 --> Maintain CONS2 constant in T511K Table with 200
MULTI NRA --> Multiplying No.of Absences with 200.. that is 400
ADDWT &BUFF --> Saving that in one Variable
FILFF NRA --> Restoring Actual values
AMT- &BUFF --> Subtracting from 1000 and you will get the 600
AMT?0
ADDWT *
<
AMT=0 --> if amount is less than 0 then amount will bocome 0
Hope this helps.
Pradeep. -
Generate Separate New Time Pair (not split)
Hi All-
US SAP_HCm 4.7
I am trying to generate a separate time pair (in schema TM04) for overtime (M), while keeping the planned working time (S) time pair untouched. I am basically trying to make a copy of a time pair (i.e. hours) except for changing the processing type (S to M).
Example:
TIP Table - IN
0800-1400 --- 8 hours -
(S) Planned Working Time Pair
Operation in Time
Some Clever idea ... or concept
TIP Table- OUT
0800-1400 --- 8 hours -
(S) Planned Working Time Pair
0800-1400 --- 8 hours -
(M) Overtime Time Pair
I have tried using the operation GENTG in a PCR .. but it seems very limited. Is there any SAP Time gurus out there with a clever idea?
Any help is much appreciated.
Thanks
B-I can generate time types but the problem is that time type will be a generic time type and will be applicable to all absence classes with operation VARST or OUTTP. Until I have a time pair on a non working day and if that time pair is generated then it can be read using RTIPA OR PTIPA variables.
Otherise for every absence type it will generate 8 hours but I want 8 hours to be generated wtih PL and CL only. If i give LOP or LWP then also system is generating 8 hours time type which is wrong. So until I generate a time type for the off day i cannot read 2001 or TIME PAIR TABLE.
Kindly guide. -
Assigned Working Hours Display
Hi,
For evaluating Workforce Management, I am running transaction CM50 for specific Work Center and have followig data for this WORK CENTER -
Entries - Rem.cap.reqs - Avail.capacity - Rem.a - Rem. avail. capaci
Total --- --- 222,012 HR --- --- 824,0 HR --- --- --- --- --- --- --- --- 601,988 HR
25.03.2011 --- 7,048 HR --- --- 8,0 HR --- --- --- --- --- 88,1 --- --- 0,952 HR
26.03.2011 --- 3,524 HR --- --- 8,0 HR --- --- --- --- --- 44,1 --- --- 4,476 HR
27.03.2011 --- 3,524 HR --- --- 8,0 HR --- --- --- --- --- 44,1 --- --- 4,476 HR
28.03.2011 --- 3,524 HR --- --- 8,0 HR --- --- --- --- --- 44,1 --- --- 4,476 HR
29.03.2011 --- 3,524 HR --- --- 8,0 HR --- --- --- --- --- 44,1 --- --- 4,476 HR
Here 222,012 HR is the Rem.Cap.Requested hours.
From CMP3 Transaction, for a employee, I am booking 3 hours daily from 26.03.11 to 29.03.2011(total 12 hours). When I am again running CM50 Transaction, these 12 hours should also add in 222.012 Hours because it's already allocated and I must see - 234 Hours updated. But I am not able to see that. Am I running wrong transaction to review the updated data or am missing something else so that I will get updated Working Hours evaluation data, everytime I allocate hours to someone. Please let me know. Shall I see some other transaction?
Thanks and Regards,
Roshan Gupta
Edited by: Roshan Gupta on Mar 25, 2011 3:22 PMSolved by myself.
In this case, planned working hours was not changing the reports data that I illustrated above. Actual Working hour was affecting the data.
Thanks,
Roshan -
Hello,
I am using the below sql query to calculate working hours. The problem which i am facing is that query is taking lot of time to calculate the working hours. Please help to reduce the execution time of this query or if there is any other way to calculate working hours
The following query take 63.499 sec
SELECT sql_calc_found_rows gstime,
MAX(stoptime) AS mx,
MIN(starttime) AS mn,
Sec_to_time(SUM(Time_to_sec(Timediff(stoptime, starttime)))) AS totalworktime
FROM (SELECT gstime,
gstime AS stoptime,
Coalesce((SELECT MAX(b.gstime)
FROM xydata b
WHERE objectid = '17'
AND clientid = '1'
AND gstime > '2010-04-20 08:22:27'
AND gstime < '2010-04-26 10:22:27'
AND b.objectid = a.objectid
AND b.gstime < a.gstime), gstime) AS starttime
FROM xydata a
INNER JOIN fm4features f
ON f.id = a.id
WHERE objectid = '17'
AND clientid = '1'
AND gstime > '2010-04-20 08:22:27'
AND gstime < '2010-04-26 10:22:27'
AND f.dataid = '1'
AND f.VALUE = '1') derived
GROUP BY Date_format(gstime, '%Y-%m-%d')
ORDER BY gstime ASCplease help me how do i change the query to reduce the sec.
Bakthavachalam EI post explain output here
explain extended ouput
1 PRIMARY <derived2> ALL 2749 100 Using temporary; Using filesort
2 DERIVED a range PRIMARY,id_objid id_objid 16 33359 100 Using where; Using index
2 DERIVED f ref ID ID 4 navl.a.ID 3 100 Using where
3 DEPENDENT SUBQUERY b range id_objid id_objid 16 33359 100 Using where; Using indexxydata and Fm4features show create table
xydata CREATE TABLE `xydata` (
`ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
`Longi` varchar(255) DEFAULT NULL,
`Lat` varchar(255) DEFAULT NULL,
`Altitude` int(11) NOT NULL,
`Angle` int(11) NOT NULL,
`Satellite` int(11) NOT NULL,
`Speed` int(11) NOT NULL,
`ObjectId` int(10) unsigned NOT NULL,
`ClientId` int(10) unsigned NOT NULL,
`GpsTime` datetime NOT NULL,
`Location` varchar(255) DEFAULT NULL,
`City` varchar(255) DEFAULT NULL,
`State` varchar(255) DEFAULT NULL,
`Distance` varchar(100) DEFAULT NULL,
`Times` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`ID`),
KEY `id_objid` (`ObjectId`,`ClientId`,`GpsTime`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=70288 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSEDand
Fm4features show create table
fm4features CREATE TABLE `fm4features` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`DataId` int(11) NOT NULL,
`Value` varchar(20) NOT NULL,
KEY `ID` (`ID`),
CONSTRAINT `new_xydata_id` FOREIGN KEY (`ID`) REFERENCES `xydata` (`ID`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSEDPlease any one help how to reduce the execution time.
Edited by: user13055307 on May 1, 2010 12:38 AM
Edited by: user13055307 on May 1, 2010 12:45 AM
Edited by: user13055307 on May 1, 2010 12:46 AM -
Dear All,
I want to calculate daily working hours but Half an hour flexi before start of planned time & shortfall hours calculation if a person didn't completed 9 hours job.
We have different types of DWS, PWS & WSR for different PS/PSA & EG/ESG groupings.
We have a requirement for Executives/Officers (E0-E8/ S1-S2) for only one PSA (1100) for only one DWS(GFLX). In this requirement I want to calculate daily working hours but Half an hour flexi before start of planned time & shortfall hours calculation if a person didn't completed 9 hours job.
Please see the requirement and my configured DWS and PCR's in detail with example and suggest me the solution:-
Overview
I want to calculate (Please take the reference from DWS screenshot)
daily working hours, but starting from first Begin Tolerance Time
Shortfall of hours if 9 hours not completed, but again starting from first Begin Tolerance Time, although employee has come before Begin Tolerance Time
I've configured one DWS as below,
Requirement:-
The planned shift timings is 9:30 - 18:30. Employees should work and complete 9 hrs in a day, but this 9 hours should be counted only from 9:00 (i.e. Begin tolerance time). It means. In time should not consider before 9:00.
1. Suppose 1st day employee punch In time is 9:00 then he has to work up to 18:00, then only 9 hours of working will be completed & no shortfall will be calculated.
In above case, if Out time is 17:00 then shortfall will be calculated 1.0 hours, because his working hours will be counted 8 hrs only.
2. Suppose 2nd day employee punch In time is 9:45 then he has to work up to 18:45, then only 9 hours of working will be completed & no shortfall will be calculated.
In above case, if Out time is 18:00 then shortfall will be calculated 0.75 hours, because his working hours will be counted 8.25 hrs only.
3. Suppose 3rd day employee punch In time is 8:30 then he has to work up to 18:00, then only 9 hours of working will be completed & no shortfall will be calculated. (In between 9:00 - 18:00 ). Here In time is 8:30 but system should consider and count from 9:00.
In above case, if Out time is 17:30 then shortfall will be calculated 0.5 hours, although he has worked 9 hrs.
4. Suppose 4th day employee punch In time is 10:11 then he will be marked as Late Come(as per DWS) and then he has to work up to 19:11, then only no shortfall will be calculated, because he completed 9 hours.
Now the below PCR is calculating Daily Working Hours,
Now the below PCR is calculating Late Coming Hours,
Overview
I know that use of begin tolerance time is different in from my requirement. Please guide me if this DWS configuration will not work.
As of now system is able to calculate Daily Working Hours (but not from the begin tolerance time), Late coming days and Late coming hours, but shortfall is not getting calculate properly.
Please give me the idea how to write PCR for these requirement, I know that my ZDHR PCR (Daily Working Hours) needs to change or replace to fulfill this requirements.
If you want any other details please let me know.
Best Regards,
DeepakHi Sankarsan,
After changing the function PTIP and I used GEN in PAR2, because in PAR3 error was coming.
After the changes PCR is processing as below for three different IN time :
1. when IN time is 8:45
and in this case, ZES table No Time type is showing which is wrong because he worked from 8:45 to 18:30 it means 9:30 hours (calculation should start from 9:00 am).
2. when IN time is 9:15
and in this case, ZES table Time type 9002 is showing 9.25 hours which is correct because he worked 9.25 hours.
3. when IN time is 10:30
and in this case, ZES table Time type 9003 is showing 9.00 hours which is wrong because he worked only 8 hours.
Pls suggest.
Best Regards,
Deepak -
Number of weekly working hours 48 exceeded error in Planned Working Time
Hi,
I have a group of employees called labors who work all 7 days a week, 10 hours a day so I have created the work schedule accordingly. When I maintain the Planned Working Time infotype, the system gives a warning message "Number of weekly working hours 48 exceeded". In table T77S0, value of PERCK is set to D & DAYWK is set to 700. Please guide me to solve the problemHi,
VJ for which country are you implementing this? Some countries have regulations that a person's working time may not exceed XX hours.
cheers
Ajay -
Start of planned working time in Time Statement
Hi experts,
I have a issue with Time Statement Form, the problem is that i don't know how to make appear sobeg (Start of planned working time) and soend (End of planned working time)
¿Does anybody know how to solve this?
Regards,
dpungitore.WPBP is a clauster table which contains the combined data from Infotypes 0, 1, 7, 8 and 27. Hence it also have IT0007 data. You can check the same in cluster results. In WPBP same field is named as DIVGV (Working Hours per Payroll Period) which you can use.
But i i am not sure why it is not wrking with P0007. Can u pls check if you have an entry in T514K as P0007 for your molga.
Also pls check the 'Output length' in the change single field screen.
I have tried with WPBP - DIVGV with output length 10 just to simulate your scenario and it works for me. -
In iCal, "Available Meeting Times" greys out working hours one day off, MS Exchange
I am using iCal, accessing an MS Exchange server. When setting up a meeting, "Available Meeting Times" greys out the non-working hours of potential meeting participants. However, the days are one day off. E.g. the working hours of my collegues are displayed are Tuesday-Sunday instead of Monday-Friday. The dates and times of meetings are relayed correctly. Only the display of the working hours seems to be off.
Needless to say that my collegues are using Windows Outlook, and everything works there.I still have the same issue. Had it ever since at least 2010 and meanwhile we switched Exchange-Servers and I'm on Mavericks, but still. Looks to me as if iCal requests something like "getWorkDays" from teh Server. The Server probably replies [2,3,4,5,6]. When the week starts on Sunday, this is perfectly fine. But if the Week starts on Monday, this will give you Tue-Sat as available Days. So it might be a bug in either Exchange or iCal to treat that information correctly, but I'm not obv. not sure about that.
-
Since installing mavericks my WD time machine doesn't work, it keeps insisting it needs more space? This wasn't an issue an hour earlier?
Id also like to know if Powerpc software will be supported? I have C&C Generals on disc but it doesnt run now mavericks is installed?!
Annoying!Regarding time machine, it probably took a full backup after you put mavericks on. To investigate, open Console, select "All Messages" and type "backup" (without the quotes). It will then only show you backup-related messages. If you're not sure how to read those, copy them and paste them into a reply here; we can investigate the situation.
I don't know anything about your PPC software issue, sorry. -
Time updation for Support desk message and business calender working hours
Hi Experts,
I would like to know how to set the time updation of Support desk message in CRM_DNO_MONITOR. After i receive a new message in it, I can see the from timing and to timing (even after changing the status of message) as 00:00:00. Is there any standard job to automatically update the timing of message?
Also i would like to know, how to set the working hours for various days. Lets say i want to set my business hours for Monday from 10am to 6pm and for Tuesday as 9am to 5pm.
Suitable points will be rewarded.
Thanks in advance,
Naresh Dodeja.Hi,
The reason is "created by me" selects the role "Creator" of a message/notification.
There are three roles "Creator", "Contact" or "Reporter" and "Responsible" or "Processor".
The creator is identified by his user name and the others by their BP-ID.
Therefore using the report "created by me" does not work if your users are defined for BPgen only.
That it works you have additionally to define in BP the role "BUP003 - Employee".
You find in the transaction BP for "BUP003 - Employee" in the tab "identfication" a field "User Name".
If you enter the User-ID the user has in the Solution Manager then it works.
Good look!
Best regards,
Adelbert -
Capture travel time expenses and working hours spent on the service call
Hi Experts,
I have One Year AMC contract with my customer.Under AMC he called me for 10 times.I need to
Capture travel time expenses and working hours spent on all the service call, Non of them will be billed to the customer.
This is just for our internal tracking.this particular data will reside within the office premises.
Explain how efficiently we can track this particular requirement in SAP Business One
Regards,
VikramHi Vikram
You will notice on the item master records that there is a field called Item Type. The options are Item, Labor and Travel. In order for the service module to recognize the expense or charge type, either Labor or Travel must be select. Create a service item (untick inventory item) and choose the Item Type as Labor or Travel. When you now create a Delivery/Invoice from the expenses section of the service call, it will identify and warn you if you charge the customer, as this would be defined in your service contract template as non billable charges. You can still create a Delivery for the charges and put quantities and values on the Delivery document. In this case you are not going to invoice the customer for the charges, so you can "Close" the Delivery. Just be aware that closing the Delivery will post the value to an offset account defined in the Account Determination.
The benefit of this approach is that the Delivery will post a debit and credit in your G/L that will "accrue" what the costs are of servicing the customer. My suggestion would be to set the account determination for the Labor/Travel item(s) to item level and define the Revenue/Expense accounts to specific G/L accounts.
Let me know if you need more information or assistance with the above.
Kind regards
Peter Juby -
MSS: Approval of Working Hours - Working Times Changed Subsequently/Locked
Dear All,
I am facing one issue while approving the CATS working hours in portal through MSS.
We are using task TS31000007 for approval.
In our CATS profile we have input fields as:
CO Area, Send. CCtr, Activity Type, Rec. Order, Oper./Act., Work center, Plant , Att./abs. type, Wage Type, Acctg Indicator
When user enters the working hous only against Att. / abs. type, the manager gets the task and approval/rehjection happens successfully.
But when user mentions the other fields as well in addition to Att. / abs. type, and saves the hours, the manager can see the task. But when manager tries to approve/reject the working hours he gets message like below:
At this time, you cannot save the following working times since the employees working times are currently being processed or have just been changed.
Save any other data first and wait a few moments.
You can then choose Back and attempt to save the data again. Your approval decisions are retained but you might see data that is out-of-date.
Alternatively, you can restart the application to see the changes that have been made to this data.
Working Times Changed Subsequently or Locked
Employee Date Number Message
21 29.09.2008 4.00H Not possible to save: Record has changed
But when same manger tries to approve from R3 it is working perfectly.
Please let me know what is going wrong with portal ?
Thanks ,
VinodHello All,
Please suggest the solution.
Thanks
Vinod -
Error when create Infotype 0007-Planned Working Time of Personnel data
Hi Experts,
I'm creating Infotype 0007-Planned Working Time for Personnel data then having a error below.( I created Work schedule rule and Gennerated it).
Feature structure cannot be recognized, please see documentation
Message no. P0568
Diagnosis
Cause 1:
The structure of the feature is not saved in the feature directory.
Cause 2:
The feature structure is not defined in the program that reads the feature.
Cause 3:
The feature that the program expects does not match the actual feature structure.
Procedure
Cause 1:
Please advise your system administrator that all features must be regenerated. Please note that this generation must take place in client 000 first, and then in all other clients (report RPUMKF00 or the Generation function in the feature maintenance transaction (transaction PE03)).
Cause 2:
The feature structure must always be defined in the program reading the feature (see documentation for program RPUMKC00).
Cause 3:
Please contact your system administrator
I did using T.Code PE03 in Client 000 but I don't know what is Features?
Please tell me how solves it ?
Thanks so much.
Dungnvinfotype 0007 reads two features
SCHKZ - Default value for Shift indicator
TMSTA DEFAULT VALUE FOR TIME MANAGEMENT STATUS
Please have a look at both these features
Maybe you are looking for
-
Since Comcast will no longer allow me to "send" from my AOL Address I need to change my "from:" address on every e-mail I send. I thought I could make my Comcast outgoing server the default one and that would take care of it - it didn't. Then I thoug
-
FF Add-ons Manager tells me that 1) Shockwave Flash (11.9 r900), 2) Adobe Shockwave for Director Netscape (12.0.4.144) and 3) Adobe Acrobat (10.1.9), and are all vulnerable and that the last two are outdated. When I click update on any of them, the a
-
ITunes 7, I think it's changing the genres of my songs when it looks up art
I've only noticed this, as I actually leave the "Genre" field blank. As far as I'm concerned, there's only two types of music, .....good or bad. So I've set iTunes churning through my collection, hunting for album artwork, & I notice that a lot of my
-
License management in BOBJ4.0
We are installing BOBJ4 on our POC sandbox. We notice on SAP Market Place there is a button: Obtain an SAP BusinessObjects temporary license key. The instruction downloaded with the temp license is pretty complicated. Just curious, we accepted the li
-
Printing interest invoice reversal
Hello, everybody Can anybody tell me any way to print the reversal of an interest invoice in IS-U FI-CA? We have transactions FPI1 / FPINTM1 for generation of that invoice, which includes an option for printing, but for reversal of an interest docume