SAP ABAP IMG Activity OHANZTI380 (Shift Certain Public Holidays That Fall on Saturday or Sunday by Two Days)
Hierarchy
SAP_HRCNZ (Software Component) Sub component SAP_HRCNZ of SAP_HR
   PY-NZ (Application Component) New Zealand
     P43C (Package) HR customizing: New Zealand
IMG Activity
ID OHANZTI380 Shift Certain Public Holidays That Fall on Saturday or Sunday by Two Days  
Transaction Code S_AC0_52000139   (empty) 
Created on 20041028    
Customizing Attributes OHANZTI380   Shift Certain Public Holidays That Fall on Saturday or Sunday by Two Days 
Customizing Activity OHANZTI380   Shift Certain Public Holidays That Fall on Saturday or Sunday by Two Days 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHANZTI380    

Use

Use this activity to execute the Shifting of Christmas and New Year Holidays report (HNZUXMS0). This report shifts certain public holidays that fall on a Saturday or a Sunday, which is normally a day off, by two days. For example, if the public holiday falls on a Saturday that is a day off, the report shifts the holiday to the next Monday and if the public holiday falls on a Sunday that is a day off, the report shifts the holiday to the next Tuesday. The report updates the work schedule with the changes.

The report shifts only the following public holidays:

  • Christmas Day (December 25)
  • Boxing Day (December 26)
  • New Year's Day (January 1)
  • January (January 2)

To undo the changes made by this report, regenerate the work schedule.

  • The report reads the Monthly Work Schedule table (T552A) for the work schedule. The report checks whether any of the four public holidays mentioned above fall on a Saturday or a Sunday that is normally a day off. For this, the report reads the Daily Work Schedule table (T550A). If the number of planned working hours is zero, the day is considered as a day off. If the day is off, the system shifts the public holiday by two days, that is, the system copies the Holiday Class and Day Type of the current day to the new pubic holiday date. The system also resets the Holiday Class and Day Type of the current day to that of a normal day off.

    Note: Current day is the original public holiday date. For example, December 25, December 26, January 1, January 2.

  • If a public holiday is set as a Guaranteed holiday, the work schedule generation program shifts all such holidays (working or non-working) that fall on a Saturday or a Sunday to the next working day. In such a case, if any of the public holidays mentioned above is set as a Guaranteed holiday, the report checks whether the public holiday originally falls on a working Saturday or a Sunday. If it does, the report maintains the Saturday or a Sunday as public holiday and resets the day on which the work schedule generation program has shifted the public holiday to a normal working day.

Requirements

You have generated the work schedule for the period.

Standard settings

Activities

  1. Select the public holiday calendar to which you want to make the changes.
  2. Select the Employee Subgroup Grouping, Personnel Subarea Grouping and Work Schedule Rule to filter the records of Monthly Work Schedule table (T552A).
  3. Enter the period for which you want to make the changes to the work schedule. The report will select only the records of the work schedule that fall in this period.

    For example, on the selection screen you enter the period as 04 2004 to 12 2004.

    • You have created a work schedule starting from January 1990 to December 2098. In this case, the system reads all rows of this work schedule that fall between April 2004 and December 2004, that is, the system reads nine rows of the work schedule.
    • You have created a work schedule starting from January 1990 to December 2000. In this case, the system does not read any data of the work schedule.
  4. Choose Program -> Execute.

    The system displays the Preview Changes.

  5. Select the Update Database option if you want to update the work schedule with the changes.

    The system displays the logs for the updates.

Example

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 1   Critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
OHANZTI380 NZ New Zealand
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OHANZTI380 0 HLA0100911 Leave Payments 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
DWBDUMMY D - Dummy object PC00_M43_LXMS Shift Certain Public Holidays That Fall on Saturday or Sunday by Two Days 
History
Last changed by/on SAP  20041028 
SAP Release Created in 600