Public Holiday in SCAL

Hi,
I want to define public holidays in SCAL. 1st, 2nd, 3rd of every month is a holiday. and monday of every week is a holiday. move to next day if its a holiday.
Thanks
Nidhish

Bhaskar Rajaram
Being an old member of SCN and should be knowing the forum rules, I am really surprised that you copy pasted from other source without bothering to adhere to forum rules, which is not acceptable.  If you are able to assist the members with your own suggestion, you can participate; else, please keep watching how others are giving.  Please adhere to SCN rules
G. Lakshmipathi

Similar Messages

  • Error while accessing public holiday calendar on 20100101

    Dear Gurus.
    When i was created Work Schedule TC-PT01
    Error Showing
    "Error while accessing public holiday calendar on 20100101"
    Message no. P2518
    Diagnosis
    The function module HOLIDAY_CHECK_AND_GET_INFO has generated an error.
    Please Advised
    Regards
    MHPO

    Hi
    As Surisetti told that, that public holiday might not created in that year. So check the same in SCAL and again re-generate the work schedule.
    Thanks & Regards
    Bharathi

  • What's report name show list of public holiday?

    Dear all,
    I want to view the list of public holiday on production system. Please help me to view this.
    Thanks for your susports.
    Huyen Nguyen

    Hi Dude,
    We have a Function Moudule to get the details of public hoilday...
    HOLIDAY_GET Provides a table of all the holidays based upon a Factory Calendar &/ Holiday Calendar.
    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: HOLIDAY_CHECK_AND_GET_INFO
    data: ld_date like scal-datum default sy-datum,
    lc_holiday_cal_id like scal-hcalid default u2018CAu2019,
    ltab_holiday_attributes like thol occurs 0 with header line,
    lc_holiday_found like scal-indicator.
    CALL FUNCTION u2018HOLIDAY_CHECK_AND_GET_INFOu2019
    EXPORTING
    date = ld_date
    holiday_calendar_id = lc_holiday_cal_id
    WITH_HOLIDAY_ATTRIBUTES = u2018Xu2019
    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 = u2018Xu2019.
    write: / ld_date, u2018is a holidayu2019.
    else.
    write: / ld_date, u2018is not a holiday, or there was an error calling the functionu2019.
    endif.
    Checking dates
    DATE_CHECK_PLAUSIBILITY Check to see if a date is in a valid format for SAP. Works well when validating dates being passed in from other systems.

  • How to calculate days between 2 dates excluding public holidays over SAP ?

    Hi
    Have a universe over SAP data. Trying to calculate days between 2 dates. SAP holds Public Holiday data in various tables e.g  Thol and data is updated via scal. Using my univeres as a source I want to run  reports for different countries so need to have various bank holidays not just UK. In SAP function modules handle this. Has anyone designed a solution to cater for this situation in a universe ?
    Thanks in advance
    M

    Hi,
    I assume you mean SAP R/3 (ECC) when you write SAP and SAP BW.
    Are you using BW? If so, I would load the data into SAP BW, create a query using customer exit variables and build your universe on top of that...
    -J

  • Year 2009 Malaysia Public Holidays set wrongly in SAP calendar Time Mgmt

    Dear Guru,
    I have a  scenario that the Year 2009 Malaysia Public Holidays for Hari Raya Day 1 and Hari Raya Day 2 has set wrongly in SAP calendar Time Management.
    Seeking your advice how do I change the Public Holiday dates in the SAP calendar to retify the discrepancy.    From  TCode:SCAL >  SAP Calendar Main Menu > _____
    Many thanks.
    Wai Cheng

    Hi,
    Please go to SCAL and then Public Holidays and then change and then inside the screen select the public holidays that have been wrongly assigned and then click on change now ur public holidays class and rest details comes up so change as per ur requirement.
    Let us know if u have any doubts further
    Thanks
    Swati

  • Public Holiday Calender

    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,
    Alam

    Go 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.

  • How to Create Public Holiday

    HI,
    How to Create Public Holiday and how to create work schedule??
    SCAL is the TCODE for Createing the Public Holiday and assign it to your Holiday Calendar
    and for Creation of DWSR
    you need
    Holiday Calendar
    Break Schedule
    Dailly work Schedule
    Period Work Schedule
    DWSR  for more info Check  V_T508A table   and generate the DWSR  through PT01

    hi
    for holiday calender goto tocde SCAL.
    Regards
    sameer

  • How to tranport the public holiday calendar?

    Hi,
    Now I have chage a public holiday calendar, but I find I can't tranport this change to another system.
    In the initial screen of the public holiday calendar, the "Calendar -> Transport" button is gray. I don't know why?  if have another place to be set?
    thanks~

    Hi,
    After creation public holidays and holiday calendar and factory calendar, a small "Truck" icon in tcode SCAL , then select publc holidays click on the truck button, again select holiday calendar click on truck button, select the factory calendar click on truck button, when you are clicking the transport it will ask the workbench request not customizing request,  create the workbench request TP.
    After creation of TP, I think you know all the procedure(release the TP) 
    Hope this helps.
    Warm Regards,
    Devi

  • Fixed Public holiday in Factory Calendar

    Hello All,
    I an trying to understand how can I define a fixed holiday in a Factory Calendar.
    I understand the process of defining a public holiday and assigning it to Factory calendar but what I want is a fixed holiday every month.
    So how can I define a holiday in which we would like to have 2nd monday(or any other day) of every month as a holiday.
    Please let me know
    Thanks
    SAP Fans..

    Hi,
    As per my understanding system will not come to knowon what date second monday is going to come on every month.
    In your Case you can meet ur requiremnt by defining special rules for your factory calendar.
    First from the calendar,list out the dates on which second monday is coming every month
    Then go to SCAL,click on Factory calendar radio button and then change,selct ur factory calendar and then go to change mode and then click on special rules.
    Then Click on create button,enter from date and to date same as from ur  listed dates for secon monday of every month.entr text and dont click the check box of work  day.
    like this you do for all the dates of second monday of every month.
    Those dates which are defined here will be considered as holiday in the calendar,
    Hope it helps

  • Public Holiday calendar not to be taken into account for Sick Leave

    Dear All,
    I need help.
    Public Holiday calendar not to be taken into account for Sick Leave.
    Eg -When I employee applies for sick leave, the public holiday in between the dates shouldnt be considered. How can I configure this requirement.
    Please help.
    Regards,
    Poornima

    For that group, you need 2 counting rules:
    - one for Holiday Class 0 (not a public holiday) and Day Work Schedule Class 0 (not a working day)
    - one for Holiday Class 0 (not a public holiday) and Day Work Schedule Class 1 to 9 (a working day)
    If you want, you can add an other one or two for Holiday Class 1 to 9 (public holiday)
    extract from our T556C
    2       1   10 Q      10 Sick leave deduct from quotas (incl personal/spec) XXXXX   X  X    XXXXXXXXXX  XXXXXXXXX X X        XX XX    100.00  100.00              1     1       10              
    2       1   10 Q      11 Sick leave deduct from quotas (incl personal/spec) XXXXX   X  X    XXXXXXXXXX X          X X        XX XX      0.00    0.00              1     1       10              
    2       1   30 Q      10 Special leave with pay (with quotas deduction)     XXXXX   X  X    XXXXXXXXXX  XXXXXXXXX X X        XX XX    100.00  100.00              1     1       30              
    2       1   30 Q      11 Special leave with pay (with quotas deduction)     XXXXX   X  X    XXXXXXXXXX X          X X        XX XX      0.00    0.00              1     1       30

  • After last icloud backup, unrequested by me public holidays in the UK have been marked on the calendar and I can't find how to delete this. Also, I have been trying to delete a birthday from the same calendar for months and it keeps reappearing.

    iPad 2 with iOS 7.01 After the last backup to Icloud, unrequested by me,  my calendar has been filled with public holidays of the UK which there doesn't seem to be any way of deleting. Also, I have been trying to delete a birthday from the calendar for months, this time using all variations of 'delete' and it keeps popping up again!

    Are you also restoring from your backup? That sounds like what is happening or someone else has your Apple ID.
    A backup to iCloud would have no way to add UK holidays to your calendar. Open Calendar, tap on Calendars at the bottom middle of the page and untick the ones you don't want.

  • Error while accessing public holiday calendar

    Friends,
    Well when creating a work schedule for the year 2008 (practice mode - at home) i am getting the below message..
    I checked all the configurations and no where i mention about 2009. Any tips and suggestions.
    Error while accessing public holiday calendar
    The function module HOLIDAY_CHECK_AND_GET)INFO has generated an error

    friends the problem still exists..
    i created a new calender, new dws, pws, bws.. but again the same error comes in play.
    Friends,
    Well when creating a work schedule for the year 2008 (practice mode - at home) i am getting the below message..
    I checked all the configurations and no where i mention about 2009. Any tips and suggestions.
    Error while accessing public holiday calendar on 20090101
    The function module HOLIDAY_CHECK_AND_GET)INFO has generated an error

  • Error while accessing public holiday calendar on 20120101

    Dear All,
    When I'm posting PL(Personnel Leave) against 31.12.2011 it is working fine but If I'm posting a Sick Leave against 31.12.2011 or CB the error is coming like "Error while accessing public holiday calendar on 20120101".
    Please suggest what to do.

    Dear All,
    When I'm posting PL(Personnel Leave) against 31.12.2011
    it is working fine but If I'm posting a Sick Leave against 31.12.2011 or
    CB the error is coming like "Error while accessing public holiday calendar on 20120101".
    Please suggest what to do.
    the error clearly saying that you dont have holiday calendar for 01.01.2012,, so please change it using PT02 to avoid the error.
    then you check what exactly system is doing.
    you have to create a wsr with one month extra validity than the exact periods required to avoid the future errors as you are getting now.
    system always takes one month extra validity it is standard functionality.
    regards,
    mohammed

  • Function Module for getting public holidays between two dates

    Dear Freinds,
                     I want  a function module which checks a day is public holiday or not based on the "HOLIDAY CALENDAR ID", i have
    found a function moudule('DATE_CHECK_WORKINGDAY') which checks a  holiday or not  but based on Factory Calender id,
    so could any one please let me know how can i get a day is a public holiday or not based on "HOLIDAY CALENDAR ID".
    regards
    divya.

    Hi,
    Use  HR_FORMS_READ_HOLIDAYS.
    pass calendar id, begin date, end date, holiday date.
    it will fetch the text of holiday... u can put a check that if the text fetched in initial then the holiday date u have passed is not a holiday..
    hope it helps

  • 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.M

                qPane = 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().

Maybe you are looking for

  • My CS4 will not launch.  I receive error 148:3.  Any fixes?

    When I try to launch my Photoshop CS4 (old, I know but I like it), I receive an error message that says I need to restart the computer.  I do so and the same thing happens again.  It says contact Adobe support.  Error is 148:3. Thanks George

  • Mac Mini i7

    Hi! I'm plannig to order a Mac Mini i7, 8gb RAM, 750gb/256 SSD. I'm a Final Cut 7, After Effects and Photoshop user. I'm worry about the Mac Mini specs. Can this machine support dual screens. Will I be able to do smooth editing...?

  • HT1430 I reset my ipod by accident. HELPPP !

    I tried downloading music to my computer from my friends ipod & I accidently reset it and I lost all her pictures and her music won't stop suffling to the next one. What do I do ??????????????????????????????????????????????????????????????????!!!!!!

  • Export from QT Pro to Flash?

    I have a number of video clips which I now find out need to be in Flash format. Is there a way that anyone is aware to export/save as from Quicktime Pro to Flash? If not directly, than how?

  • Problem with Smart Form ('RLE_DELNOTE')--Please Help

    Hello, I am facing a problem in the smart form. So far I am printing certificates (QM module) for the finished goods.  i.e. first level batches.  Now I should incorporate down level batches info also. i.e. semi finished goods info (second, third... l