Shift employees annual leave submission
Hi
When shift employees in our company is submitting annual leave on the day when their daily work schedule is on afternoon or night then workflow error is occuring, eventhough annual leave is approved couldnt be saved and asking HR to create manually..Why getting error in work flow? any suggestions please...
Thanks in advance..
Regds
Shaila
hi
can you try to make one more set of workschedule which will have thursdays and fridays excluded from the counting.
Try once.
Regards
sameer
Similar Messages
-
How to display balance days for annual leave in payslip report
hi all,
cn sm1 let me know how i can display the leave balance days of each employee on their payslip.
please let me know the tables where i can find the info of the employee annual leave days balance.
The leave defined is decreasing.
Plz i need your assistance gurus.
All comments are welcomed!No one out there to response buddies?
-
Generation of Annual Leave Quota at a time for the whole year
Hi All,
Kindly give some suggestions.
I am working on Time evaluation. We have a quota , Annual leave which is now given on monthly basis, means lets 12 annual leave are for whole year and employee are getting 1 leave on each month.
Now my requirement is to give this quota at a time in the start of every year. That means all the 12 annual leave should be generated in the start of a year.
When I select the option no pro rata calculation then I am getting all this leave in the start of the year. But when an employee is joined in the mid of the year then also 12 leave is been generated which is not correct.
Please suggest me how to make this leave as prorated so that for new joinee , this leave is generated taking into account the period and generate the prorate value for the whole year at the time of joining.
Thanks
Tanuja.Hi Sikinder,
I am using + time evaluation Status-2. We have to generate quota in PT60 for each period.
Write now we are getting annual leave quota getting generated in monthly basis. We want to genarate whole quota for the year in the 1st month of the year.
When I have given calender year in the accrual period , i am not getting any quota in the 1st month rather getting the whole quota in the end of the year.
Please suggest me what to do.
Regards,
Tanuja. -
How to view CEO annual leave on self selvice
I have a requirement for the CEO HR personnel to be able to view his annual leave details on self service.
But as he is not her surbordinate, he doesnt appear in the list of 'My Employee'
information she can view. Can someone please advise the best way to meet this requirement?
How can we allow the HR personnel to view his entitlement etc details on self
service.Hi
What is the need to see Annual leave only through self service. I think HR should use professional screen.
Just change the security profile of responsibility and check if this works. Not sure though.
Thanks
Avinash -
Error while generating the annual leave quota.
Hi All,
For all the employee group's for the past 2 years we are generating the Annual leave quota.
For one employee group, management decided not to give annual leave quota. i have done the necessary configuration so that the quota will not get generated for them.
For the new employees quota is not getting generated.
For the old employees i have deleted the annual leave absence quota and run PT60. For these employees system is throwing the following error.
Error entry no. 83 Error when creating absence quota
General information
Rule: 000 quota type 00
No quota type for key 7 99 01 20110930
Please suggest the solution.
Thanks & Regards,
Sumathi.Hi ERP12345,
This is for employee Group,
We have 2 employee groups, 1. Permanent
2. Contract
For all the contract employees, we have generated the annual leave quota for the past 2 years.
Now management doesn't want any annual leave quota to be generated for this particulat employee group. so i have deleted all the configuration related to this employee group from base entitlement, accrual of quota generation, deduction rule,selection rule & couting rule.
When i am hiring a new empoyee the quota is generating correctly, means annual leave quota is not generating, remaining leaves are generating.
Is it a right way of doing, normally if this is the scenario, what we have do to,
For the old employees, after deleting the 2006 IT also, system if thwoing the error as i mentioned in my first conversation.
Please suggest.
Thanks & Regards,
Sumathi. -
Report on Annual leave details
Dear All,
Would you please give a hint on the REPORT of giving all the annual leave details of the employees.
Also, please advise the report name on leave balance.
Thanks and best regards,
Sophie QueHI,
You can run the SAP Standard Progran RPTQTA10 in transaction SE28 or SA38.
Regards,
Kapil Kaushal -
Absence Management-Annual Leave CarryOver
Hi,
I have a single BG with multiple companies, the requirement is, in absence Management- Annual Leave carryforward is different for different companies.
For one of the companies the maximum carry over is 60 days and other company there is no limit for the carry overs.Employees can carry any number of leaves.
Can i achieve the requirement. Appreciate your reply.
Regards,For one accrual plan there is only one carry over formula.
You have to handle multiple conditions to satisfy the different companies carryover policies in same Carry Over Formula.
Thanks -
Time Management - Annual Leave carry forward ceiling
Dear All,
We are implementing SAP HCM - Negative Time Management. Here the sceanrio is to have a ceiling for the Annual leave carry forward. For example , the employees should not be able to carry forward not more than 15 days of Annual leave
Guess we can achieve this using User Exit ? Would be helpful if anyone could tell me the Name of the User Exit to be used
Thanks in advance.
Kind regards
SathyaNo iam not looking for Annual leave entitlements.
We need to have ceiling on Annual Leave Carry Forward. for example let say an employee has 20 days as Annual leave Balance he / she can carry forward only 15 out of that 20 days to next year.
Kind regards
sathya -
How to remove annual leave accrued in time management
Hi all.
I have question in Time management. When I run some employees, their annual leave increase 15 days every day. So at the end of the year
their annual leave become more than 10000 days. How I want to stop this.What I want annual leave for this staff is 15 days every year and
the max carry forward can is 15 days per year. Can you help me.I'm too new in time management let alone negative time management.
ThanksI believe you are referring to Absence Quota Accrual right?
If it is, table T556C (SM30) has all the customizing for counting and deduction rule. For the counting rule, check if you haven't set a multiplier.
But more important, is to check V_T559L -> Selection Rules. I believe you have a bad customizing for the ACcrual Period. If you want to accrue yearly based, I would recommend maintaining IT0041 with the date employee entered company and use it on the field Rel. to Date Type.
Of course, you can accrue as per calendar year as well.
Please check that and get back in case you still have issues.
Regards,
Bentow. -
How to calculate annual leave - please advise
Hi,
I need your advise please..
here is the detail:::
The employee contract can be definite (with expiry date) or indefinite (open without expiry date).
The employee contract will always have date of join
if the contract is definite then employee will have 30 days every year where the year is the period between the date of join and
+365 days and the renewal is the same (from the renewal date and +365)
if the contract is indefinite then employee will have 30 days every year where the year is the period between the date of join
it's every 365 days so the contract has not renewal but the employee will have 30 days annually.
for example, if indefinite and date of join is 1 April 2010 then every period from 1 April until 30 March will have 30 days for
the employee
I want to calculate the leaves for the employee without having to keep a renew table so it will be calculated based on the leave
date and the first date of join.
so the data will be just one leave table with from and to indicating the leave period for every leave and the result will be
1 April - 31 March - [Total Taken Leaves] - [Total Remaining Leaves]
hope
I explained it well...I think I understand what you're saying. Try out the code below to see if it works for you.
I know you mentioned possibly have a table with leave_from and leave_to as the structure for how you would keep track of each employee's leave days, but I would simplify it to just EmployeeID and the LeaveDate, which is what I did below.
If you choose to go with a range, then you need to start dealing with only business days in your leave range calculations.
-- CREATE SOME DATA
IF OBJECT_ID('tempdb..#Employee', 'U') IS NOT NULL DROP TABLE #Employee;
CREATE TABLE #Employee (
EmployeeID int NOT NULL
,FullName varchar(30) NOT NULL
,JoinDate date NOT NULL
,EndDate date NULL
IF OBJECT_ID('tempdb..#EmployeeDaysOnLeave', 'U') IS NOT NULL DROP TABLE #EmployeeDaysOnLeave;
CREATE TABLE #EmployeeDaysOnLeave (
EmployeeID int NOT NULL
,LeaveDate date NOT NULL
INSERT #Employee
SELECT A.*
FROM (SELECT * FROM #Employee WHERE 1=2
UNION ALL SELECT 1, 'Joe', '01/01/2014', NULL
UNION ALL SELECT 2, 'Bob', '07/01/2014', '01/01/2015'
UNION ALL SELECT 3, 'Eve', '10/15/2007', NULL
UNION ALL SELECT 4, 'Ila', '09/08/2000', NULL
UNION ALL SELECT 5, 'Oto', '07/01/2014', '01/01/2017'
UNION ALL SELECT 6, 'Pop', '01/01/2013', '06/01/2013' -- Already let go
) A
INSERT #EmployeeDaysOnLeave
SELECT A.*
FROM (SELECT * FROM #EmployeeDaysOnLeave WHERE 1=2
UNION ALL SELECT 1, '01/30/2013'
UNION ALL SELECT 1, '01/31/2013'
UNION ALL SELECT 1, '02/01/2013'
UNION ALL SELECT 1, '02/04/2013'
UNION ALL SELECT 1, '04/15/2013'
UNION ALL SELECT 1, '04/16/2013'
UNION ALL SELECT 1, '04/17/2013'
UNION ALL SELECT 1, '04/18/2013'
UNION ALL SELECT 1, '04/19/2013'
UNION ALL SELECT 1, '01/30/2014'
UNION ALL SELECT 1, '01/31/2014'
UNION ALL SELECT 1, '02/03/2014'
UNION ALL SELECT 1, '02/04/2014'
UNION ALL SELECT 1, '04/14/2014'
UNION ALL SELECT 1, '04/15/2014'
UNION ALL SELECT 1, '04/16/2014'
UNION ALL SELECT 1, '04/17/2014'
UNION ALL SELECT 1, '04/18/2014'
UNION ALL SELECT 2, '07/21/2014'
UNION ALL SELECT 2, '07/22/2014'
UNION ALL SELECT 2, '07/23/2014'
UNION ALL SELECT 2, '07/24/2014'
UNION ALL SELECT 2, '07/25/2014'
UNION ALL SELECT 2, '07/28/2014'
UNION ALL SELECT 2, '07/29/2014'
UNION ALL SELECT 2, '07/30/2014'
) A
-- NOTE: I'm throwing all these calculations into a quick temp table, but you may want to put this logic into a view or table function
IF OBJECT_ID('tempdb..#EmployeeLeaveCalculations', 'U') IS NOT NULL DROP TABLE #EmployeeLeaveCalculations;
DECLARE @DaysPerYear int
,@CurrentDate date
SELECT @DaysPerYear = 30
,@CurrentDate = CONVERT(date, GETDATE())
SELECT A.EmployeeID
,A.FullName
,A.JoinDate
,A.EndDate
,A.LeaveCalculationStartDate
,A.LeaveCalculationEndDate
,CASE WHEN A.LeaveCalculationEndDate < A.LeaveCalculationStartDate -- Ignore if they are no longer with the company
THEN 0
ELSE CASE WHEN DATEDIFF(DAY, A.LeaveCalculationStartDate, A.LeaveCalculationEndDate) < 365
THEN @DaysPerYear * DATEDIFF(DAY, A.LeaveCalculationStartDate, A.LeaveCalculationEndDate) / 365.0
ELSE @DaysPerYear * 1.0
END
END as LeaveDaysEntitledTo
,CASE WHEN DATEDIFF(DAY, A.LeaveCalculationStartDate, A.LeaveCalculationEndDate) = 0 OR -- Avoid divide by zero
A.LeaveCalculationEndDate < A.LeaveCalculationStartDate -- Ignore if they are no longer with the company
THEN 0
ELSE ROUND(DATEDIFF(DAY, A.LeaveCalculationStartDate, @CurrentDate) * 1.0 /
DATEDIFF(DAY, A.LeaveCalculationStartDate, A.LeaveCalculationEndDate)* 1.0 *
CASE WHEN DATEDIFF(DAY, A.LeaveCalculationStartDate, A.LeaveCalculationEndDate) < 365
THEN @DaysPerYear * DATEDIFF(DAY, A.LeaveCalculationStartDate, A.LeaveCalculationEndDate) / 365.0
ELSE @DaysPerYear * 1.0
END
, 1)
END as CurrentLeaveDaysAccrued
INTO #EmployeeLeaveCalculations
FROM (
SELECT EmployeeID
,FullName
,JoinDate
,ISNULL(EndDate, '12/12/9999') as EndDate
-- If the Month/Date of their JoinDate is less than the current Month/Date,
-- then we reset the leave start date to this year
-- else it will be the previous year
,CASE WHEN CONVERT(int, RIGHT(CONVERT(char(8), JoinDate, 112),4)) <= CONVERT(int, RIGHT(CONVERT(char(8), @CurrentDate, 112),4))
THEN CONVERT(date, CONVERT(char(4), YEAR(@CurrentDate)) + RIGHT(CONVERT(char(8), JoinDate, 112),4))
ELSE CONVERT(date, CONVERT(char(4), YEAR(@CurrentDate)-1) + RIGHT(CONVERT(char(8), JoinDate, 112),4))
END as LeaveCalculationStartDate
,CASE WHEN EndDate IS NOT NULL AND EndDate < DATEADD(YEAR,1,JoinDate)
THEN EndDate
WHEN CONVERT(int, RIGHT(CONVERT(char(8), JoinDate, 112),4)) <= CONVERT(int, RIGHT(CONVERT(char(8), @CurrentDate, 112),4))
THEN CONVERT(date, CONVERT(char(4), YEAR(@CurrentDate)+1) + RIGHT(CONVERT(char(8), JoinDate, 112),4))
ELSE CONVERT(date, CONVERT(char(4), YEAR(@CurrentDate)) + RIGHT(CONVERT(char(8), JoinDate, 112),4))
END as LeaveCalculationEndDate
FROM #Employee
) A
SELECT X.*
,Y.TotalLeaveDaysTaken
,X.CurrentLeaveDaysAccrued - Y.TotalLeaveDaysTaken as CurrentLeaveDaysBalance
,X.LeaveDaysEntitledTo - Y.TotalLeaveDaysTaken as TotalRemainingLeaveDays
FROM #EmployeeLeaveCalculations X
JOIN (
-- Get the total leave days taken from the given Employee's leave calculation start date
SELECT A.EmployeeID
,SUM(CASE WHEN B.EmployeeID IS NOT NULL THEN 1 ELSE 0 END) as TotalLeaveDaysTaken
FROM #EmployeeLeaveCalculations A
LEFT JOIN #EmployeeDaysOnLeave B
ON A.EmployeeID = B.EmployeeID
AND A.LeaveCalculationStartDate <= B.LeaveDate
GROUP BY A.EmployeeID
) Y
ON X.EmployeeID = Y.EmployeeID -
Maintain Company Annual Leave and Statutory Annual Leave based on seniority
Hi experts,
I am trying to configure an additional absence quota for the employees to generate leave quota. In current system, there is only Company Annual Leave quota but with a new requirement, should have another quota type calls Statutory Annual Leave for employees
Company Annual Leave quota based on the day when employee joined the current company, this is maintained in IT0041 date type 01 Year of Service.
NEW Statutory Annual Leave quota is based on the 1st day of his 1st job in life ( this may not be in the current company )
For an example, John has been working for 13 years for his working life and currently he has worked in Star company for 1 year and he entitles for 16 days Company Annual Leave.
The Statutory Annual Leave entitlement is based on the criteria below
1) 5 days Statutory Annual Leave for those works from 1-9 years
2) 10 days Statutory Annual Leave for those works from 10-19 years
3) 15 days Statutory Annual Leave for those works above 20 years
The total Annual Leave ( Statutory AL + Company AL ) should be same as total of initial total company annual leave
For John, he should entitle as below ;
1) Statutory Annual Leave 10 days ( he worked for 13 years in life )
2) Company Annual Leave ( the difference between total company AL(10)u2013 Statutory AL(16) = 6 ) 6 days
The roadblock Iu2019m facing now is where can I control the Statutory Data Type seniority in order to generate the new absence quota type.
In the feature HDATE it is being set to 01 which all the leave related calculation is based on date type 01, but the statutory date type is 07 so how can I caters on date type 07?
Please help, thank you and have a nice day.Since you able to set the seniority for company annual leave.
same matter you can set the seniority for statutory annual leave.
If the annual leave is fix to 16 days
seniority for statutory annual leave
1) 5 days Statutory Annual Leave for those works from 1-9 years
2) 10 days Statutory Annual Leave for those works from 10-19 years
3) 15 days Statutory Annual Leave for those works above 20 years
Seniorty for company annual leave
1) 16-5=9 days Statutory Annual Leave for those works from 1-9 years
2) 16-10=6 days Statutory Annual Leave for those works from 10-19 years
3) 16-15=1 days Statutory Annual Leave for those works above 20 years -
Annual Leaves calculating wrongly
Hi All,
I applied Annual leaves in IT2001 for 10 days. After running my time evaluation it is deducting only 4 days, It should deduct 10 days from year entitlement.
How & where can i check ?
Thanks,
Kumar.Hi,
The Min 0 and Max is 999 days.
No entry in table T556C.
It is used Calendar days, No records in IT2003.
User applied leave From 14.06.2010 - 21.06.2010
Absence hours 47.50
Absence days 7.00
Calendar days 7.00
Amount of leave 7.00 Days
But in infotype0005 showing only 4 days, it should show 7. -
How to craete a 'annual leave 1/2day-AM' in ESS leave request
Hi ,
I have created 2001- subtype 670 : "annual leave 1/2day-AM".
I wanted to see "annual leave 1/2day-AM" in the ESS leave request list down box ( already we have few ) ... please let me know what are the steps i need to follow ...
thanks,
sunitha
Edited by: Sunitha Reddy on Sep 19, 2008 9:27 AMHi,
Your ABAPer will be the best person to let you know the table name or some experts here who have come across this situation will guide you. Also check where other types of leaves are populated in SAP and your new value is there or not.
Thanks,
Preetham -
Creating Permission Lists for an Annual Leave Calendar
Can Someone Help Please:
I currently have a SharePoint Annual Leave Calendar i have created when users enter the date onto the calendar which then emails the line managers requesting them.
I wanted to create permissions so all staff with contribute permissions for the calendar List can only edit their own items but the Line Manager who has owner rights to still be able to modify anyones items..
Is that possible? If so how?
Thanks in advanceHi,
According to your description, my understanding is that you want to make the users can only be able to edit the events created by themselves in the calendar list.
I recommend to go to the List settings > Advanced settings > check Create items and edit items that were created by the user in Item-level Permissions.
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
The annual leave cannot be processed (Urgent)
Hi All,
I am using R11i. This is urgent.
The annual leave cannot be processed in self service because its balance cannot exceeds -5.
How can i modify the limit value -5 so that no constraint is imposed when taking the annual leave?
Any solution for the above issue?
Thanks.
Roshan
Edited by: Roshan30 on Apr 26, 2011 9:11 PMSome where you are putting limit for -5. Check BG_ABSENSE_FORMULA for debug this.
Generally Global value should be set for these limit.
Thanks
Maybe you are looking for
-
I'm trying to install Oracle 8.1.7 on Suse Linux 7.0 (with glibc 2.1.3). However, while runnning universal installer, I get the following error messages: "Error in writing to file /opt/oracle/product/8.1.7/javavm/admin/libjox8oracle_jpub_c.so" and (l
-
Create new text file in UTF-8 format by default
I'm working a lot with UTF-8 text files and mainly in this format. It's becoming annoying when I have to manually save every text file as UTF-8. After several trial-and-errors, I've made up a procedure that I've put in a blog. I think I could share
-
Catproc.sql and catalog.sql files
I am using oracle 10g recently i have runned two files catproc.sql and catalog files by connecting to sys after running those files in sys when i select select * from tab; no rows were returned 1) these files will show any eeect on data base 2)From t
-
I have an iPod Touch and theres is an account through iTunes which i cannot access. I was wondering if anyone knew how to reset all of that and start from scratch?
-
Have I done this right? (Restoring from Time Machine Backup)
This morning I turned on the iMac, it came up with the apple logo and a loading bar, which fills up within about 5-10 minutes and then the computer turns off. After research apparently this was harddrive problems. As I have Time Machine Backups I wen