About Holiday calender
Dear All ,
I need to use Holiday calender data in my Report Program , which Table to be used for refference.
Regards,
Satya.
HOLIDAY_CHECK_AND_GET_INFO--Useful for determining whether or not a date is a holiday. Give the function a date, and a holiday calendar, and you can determine if the date is a holiday by checking the parameter HOLIDAY_FOUND.
Example:
data: ld_date like scal-datum default sy-datum,
lc_holiday_cal_id like scal-hcalid default 'CA',
ltab_holiday_attributes like thol occurs 0 with header line,
lc_holiday_found like scal-indicator.
CALL FUNCTION 'HOLIDAY_CHECK_AND_GET_INFO'
EXPORTING
date = ld_date
holiday_calendar_id = lc_holiday_cal_id
WITH_HOLIDAY_ATTRIBUTES = 'X'
IMPORTING
HOLIDAY_FOUND = lc_holiday_found
tables
holiday_attributes = ltab_holiday_attributes
EXCEPTIONS
CALENDAR_BUFFER_NOT_LOADABLE = 1
DATE_AFTER_RANGE = 2
DATE_BEFORE_RANGE = 3
DATE_INVALID = 4
HOLIDAY_CALENDAR_ID_MISSING = 5
HOLIDAY_CALENDAR_NOT_FOUND = 6
OTHERS = 7.
if sy-subrc = 0 and
lc_holiday_found = 'X'.
write: / ld_date, 'is a holiday'.
else.
write: / ld_date, 'is not a holiday, or there was an error calling the function'.
endif.
HOLIDAY_GET--Provides a table of all the holidays based upon a Factory Calendar &/ Holiday Calendar.
HR_GET_LEAVE_DATA--Get all leave information (includes leave entitlement, used holidays/paid out holidays)
regards,
srinivas
Similar Messages
-
Problem in Transporting Holiday calender 2008 ....
Hi Experts,
I have prepared holiday calender for the year 2008.
When im trying to transport the Holiday calender from Development server to quality server Im getting message that """ALL PUBLIC HOLIDAYS,PUBLIC HOLIDAY AND FACTORY CALENDERS WILL BE TRANSPORTED ; ALL PUBLIC HOLIDAYS,PUBLIC HOLIDAY AND FACTORY CALENDERS WILL BE FIRST DELETED IN TARGET SYSTEM""".
Will there be any problem if we click the CONTINUE button!
Here im getting the prompt for workbench request.
If i continue should i do with holiday calender and factory calender along with public holidays.
Please advice me.
Thanking you sir/madam.
saiHi Rahil,
It is good that you looked back at old posts for your answer, but others would see it sooner if you created your own thread.
If you create a holiday with a specific date - say February 20th and then gave it the characteristic to be "guaranteed", the system will move it to the previous scheduled/next scheduled working day if it should fall on a non-work day. Example, moves to Friday if holiday falls on non-work day Saturday or Monday if falls on non-work day Sunday.
Paul -
Hi Experts....
I have created Holiday calender for the year 2008 and successfully tranported to production server.What are the further things to be done to get complteness...
Please advice....
Regards,
Sai.thats all.
it is advisable to run RPTUPD00
Revaluation of Attendance/Absence Records using Batch Input
The program creates a batch input session for revaluating absence and attendance records. A revaluation can be necessary if work schedule data on which the valuation is based changes after the absence or attendance is entered, for example.
The relevant absence or attendance records are saved when the batch input session is processed, and the absence or attendance data is revaluated. -
Function Module Related to Holiday Calender
Hi Experts,
Please provide me with FM's pertaining to Holiday Calender.
Regards,
IFFDATA : IT_HOLIDAYS TYPE TABLE OF ISCAL_DAY.
CALL FUNCTION 'HOLIDAY_GET'
EXPORTING
HOLIDAY_CALENDAR = 'IT'
FACTORY_CALENDAR = ' '
DATE_FROM = '20080101'
DATE_TO = SY-DATUM
IMPORTING
YEAR_OF_VALID_FROM =
YEAR_OF_VALID_TO =
RETURNCODE =
TABLES
HOLIDAYS = IT_HOLIDAYS
EXCEPTIONS
FACTORY_CALENDAR_NOT_FOUND = 1
HOLIDAY_CALENDAR_NOT_FOUND = 2
DATE_HAS_INVALID_FORMAT = 3
DATE_INCONSISTENCY = 4
OTHERS = 5
IF SY-SUBRC EQ 0.
WRITE 'Done'.
ENDIF. -
Holiday calender - how to change/maintain
Hello Gurus,
I m new to SAP HR.
I want to change holiday calender for few holidays. Currently the holiday calender for year 2010 is exactly same as 2009. But now i need to change few holiday dates in it.
I tried tcode SCA5_U but in this there is no option to change the holiday calender directly.
Also, the holiday calender is marked as used in the Factory calender. Can I change the holiday calender directly or need to do few more configurations?
Thanks in advanceHello,
After the changes how to tranport the changes to QA?
I was planning to do it from the SCAL screen but then I encountered a message 'All public holidays, public holiday and factory calendars
will be transported. All public holidays, public
holiday and factory calendars will first be deleted
in the target system.'
Am I suppopse to transport the changes from somewhere else? or the message is always there and need to be ignored?
thanks,,, -
Dear friends,
We have gone live on dec 2008 in SAP-HCM.Now we need to update this year holiday calender .
Could u pls guide how to activate new holiday calender..
Regards:
KumarGo for Tcode SCAL
define ur hoidays list
than assign them to ur holiday calendar
later on assign that holiday clanedar to ur Factory Calendar
than check with ur DWS and PWS and DWSR and generate the Work Schedule Rule
thru PT01
The following is the config. document of TM.
I think its helpful to u.
Work Schedules Personnel Time Management IMG Define Public Holiday Classes
Work Personnel Time Management IMG Group Personnel Subareas for the Work Personnel Subarea Groupings Schedules Schedule
Personnel Work Schedules Personnel Time Management IMG Group Personnel Subareas for theDaily Work ScheduleSubarea Groupings
Daily Work Schedules Work Schedules Personnel Time Management IMG Define Daily Work Schedules
Work Personnel Time Management IMG Define Period Work Schedules. Period Work Schedules Schedules
IMG Define Day Day Types Work Schedules Personnel Time Management Types.
Day Types Work Schedules Personnel Time Management IMG Define Day Types.
Day Work Schedules Personnel Time Management IMG Define Special Days.Types
Work Personnel Time Management IMG Define Employee Subgroup Work Schedule Rules and Work Schedules Schedules Groupings
Work Work Schedules Personnel Time Management IMG Define Groupings for the Public HolidaySchedule Rules and Work Schedules Calendar.
Work Work Schedules Personnel Time Management IMG Set Work Schedule Rules and WorkSchedule Rules and Work Schedules Schedules.
Work Work Schedules Personnel Time Management IMG Generate Work Schedules ManuallySchedule Rules and Work Schedules
IMG Set Planned Working Time Work Schedules Personnel Time Management Default Value for the Work Schedule.
Personnel Time Management IMG Set Default Value for Time Management Planned Working Time Work Schedules Status.
Edited by: Sikindar on Jan 6, 2009 10:28 AM -
Dear All,
I want to Maintain Public Holiday Calender with the below holidays in ECC 6.Suggest me
1. REPUBLIC DAY SATURDAY 26.01.2008
2. MAHASHIVRATRI THURSDAY 06.03.2008
3. HOLIKA DAHAN SATURDAY 22.03.2008
4. RAM NAVAMI MONDAY 14.04.2008
5. INDEPENDENCE DAY FRIDAY 15.08.2008
6. RAKSHABANDHAN SATURDAY 16.08.2008
7. GANDHI JAYANTI THURSDAY 02.10.2008
8. DUSSEHRA THURSDAY 09.10.2008
9. DIWALI TUESDAY 28.10.2008
10. GOVERDHAN POOJA WEDNESDAY
29.10.2008
Thanks,
AlamGo to SCAL t code
1. Double-click with the mouse on the Execute symbol, select the option Public holidays and choose the function Display.
2. Check whether the list of public holidays displayed contains all the public holidays that you need.
If you want to see detailed information on any public holiday, choose the function Display def.
3. If you need other public holidays, return to the initial screen of the maintenance transaction, and choose the function Change.
4. Choose the function Insert, and now make the following entries:
Public holiday type
Date or calculation rule
Public holiday text (short and long)
If required: Sort criterion, religious denomination or public holiday class (for notes on this, press the F1 Help).
Save the definition. -
hi
i have defined holidays in Holiday calender assigned in factory calender also. i chked them, they all appeared corrrectly in Red mark on particular dates. and even i chked in the node " generate work schedules manually" in TM. i got all 1 for sundays and Holidays correctly.
my problem is when i am entering attendance to an employee on sunday it is not accepting , giving error message.
but when i am entering attendance for public holiday like festivals it is not throwing any error. will it accept in general, i dont know- where exactly the mistake.
plz help me.
Thanks in Advancewhen i tick that public holiday check box, it is not accepting. it is showing error no holiday calender to be entered where public holidays and work days exist
so u got my query clearly, so plz help me how to solve this. like sundays how i am getting an error mesaage , like that i need to get on public holidays.
what to do and where to do --
plz help me
Edited by: praseeda ** on Jul 14, 2008 7:55 AM -
Holiday Calender - Floating holidays
Hi,
My client has holiday calender 3 days A, B, C - out of which
A - Fixed holiday
B & C - Floating holidays.
For year 2008, A, B & C are showing in Holiday calender
But for year 2009 only A is being shown. So I presume, B & C are not showing as they are floating and per std sap function, floating holidays are to be created every year explicitly. Right?
Now I want to have B & C in 2009 H.Calender as well.
Do I have to create one again for 2009, if yes, how?
OR
Is there any work around to make these floating holidays changed to Fixed holidays.
Please suggest....Hi,
First of all to clear your doubt, there is no need to create a separate holiday calendar if you have created already...
To solve your problem, you have to select the holiday which is already created and then create period as when that particular holiday occurs in the year 2009..
Then you have to select the holiday calendar and extend the already assigned cloating holiday to the year 2009..
Hope it helps you..
Regards
Priya -
Print Holiday Calender/ Team Calender
Hi can anyone tell me how can Manager print his team/holiday calender on his ESS/MSS
Deepali,
If you just want to Print the Holiday calander in ESS/MSS and if u are already in the Team calander screen then:
In the Team calander screen - Click on the Small Box like Icon on the right hand corner which says "Options", it is right next to Back, forward, history links.
Now click on "open in new window" and then print it from the new window.
Hope this helps -
Holiday calender in ESS calender
Hi Experts,
Is there any facility available in ESS so that employee will able to see holidays from holiday calender in the ESS leave application calender.
Thanks
SameerHi ,
Log in SAP system go to T-code u201CSPROu201D and follow following link
Personnel Management - > Employee Self-Service -> General Settings -> Services ->
In the Define Services
Create the service say u201CZ_EMPLOYEE_WORKTIME_LEAVEREQUEST05u2019
For u201CLeave requestu201D
Service Link Text Leave Request
Service Type WebDynpro java application
Link Resource EMPLOYEE_LEAVEREQUEST_SERVICE05
Assign Services to Subareas
Click up on u201CNew Entriesu2019
Z_EMPLOYEE_WORKTIME_SUBLEAVEREQUEST_2005
Service Key Z_EMPLOYEE_WORKTIME_LEAVEREQUEST05
Position u201C1u201D.
Define links on confirmation page -
Assignment of holiday calender to Per. Subarea
Hi
Pls guide me where do we assign the holiday calender to Personnel subarea
Regards
SeemaThe Enterprise Structue which you are design like Personal Area and Personal Subarea
based on that you will define the Holiday Calendar for example
you PA is INDIA
under PSA is Maharastra and Punjab and the holiday will differ for both the places at that time you have to define two holiday calendars and assign it to them
the most important part is how you are going to bifuricate the Enterprise Structure -
Holiday calender with optional leave
Hi,
pls help me-
my client is asking me to creat a Holiday calender , and giving the option for all employee to take one optional leave from the 5 leave in a year. How to do it???
thanks
shivHI,
You have to create Quota of one day per annum as holiday and employees will take leave on that day will be paid only for a single time .
This scenario cant be covered with holiday calendar
Regards,
KApil -
plz help with this query...
we created holiday calender from 2008 and 2013...
now once we run the work schedule rule ...its only gives holiday till 2009....
from 2010 its not giving the holidaysHi
Chk the settings(Holidays & Grpng.) once more the range should be the year which you are generating.
the assignment of holidays is much important once you generating the HC.
Thanks & Regards
Zamy -
Difference between Holiday Calender and Factory Calender
What is the difference between Holiday Calender and Factory Calender.
Holiday Calendars is used in Time and Payroll. It is Holiday Calender which is used in defining Work Schedules Rules for different regions.
In simple, we can say... it is defined for Employees.
Factory Calendar in turn in used in Shift Planning concept, T&E Mng, in defining/planning for Units.
In simple, we can say... it is defined at Unit(Area) Level.
Eg: Employee can be on holiday based on holiday calendar assigned to his area. But Factory may be running/open on the same day.
Regards
...Sadhu
Maybe you are looking for
-
How can I get Photoshop CS4 to open?
I just got the Adobe Production Suite CS4 Student Edition, I installed it onto my computer (Windows XP Media Center Edition), All of my programs run great except for Photoshop. When I try to open Photoshop it gets to the building twain portioin of th
-
Building A Photo Gallery Index Page...
I recently installed the PowerGallery Dreamweaver Extension. I've uploaded my photos (a total of thirty five separate galleries), but am unsure of how to create an index page that will allow my readers/users to easily select from what we offer. Any s
-
How to compare 2 columns in a cross tab
Hi, I need some idea on how to compare 2 columns in a cross tab in Deski. Original Table is like this: Type..............ID...........Name Type1............1............BO1 Type1............2............BO1 Type1............3............BO2 Type2....
-
I have 2 tables initially. Now I have written a query creating a table/view based on those two tables using inner join based on a condition involving 1 column from either of the two tables. Now the requirement is as such where the data has been distr
-
Hello everybody Iam trying to clone win 7 but an error appears Error cloning: Process A:FASTPREP.EXE failed with error '[Error=Operation failed with error -2135228411],[ErrorInfo={Component=Guest, Text=Process killed because system is shutting down,