Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Bank Holiday Management

The Bank Holiday Management screen is used to create and manage public holidays and events displayed in the Planning and Dispatching. Holidays and events can be assigned to specific calendars. Calendars can be maintained for specific countries or states that have differing public holidays.

An ongoing holiday affecting a technician can be seen on the Planning Board.

FSM Cloud Connector integration

As part of the holiday calendar integration solution, three transactions have been created:

·       /PACG/ECM_TRIG_HLDRL - Trigger transfer of Holiday Rules

·       /PACG/ECM_TRIG_HLDCL - Trigger transfer of Holiday Calendar

·       /PACG/ECM_TRIG_HLDAS - Trigger transfer of Holiday Assignments

 

TRANSFER OF HOLIDAY RULES

General

Use transaction /PACG/ECM_TRIG_HLDRL to transfer specific holidays from SAP ECC/S4 to SAP FSM.

 

The holidays are selected by public holiday ID and are retrieved from table THOL.

 

The mentioned table stores public holidays maintain with SAP-standard transaction SCAL.

 

Holiday rule types

The implementation supports the following holiday rule types: F (fixed), U (floating) and V (counted from Easter). The ‘W’ holiday rule type is not supported currently (such holidays won’t be sent).

 

F (fixed) – holidays with specified, fixed day and month

 

The holiday is sent to SAP FSM in /PACG/ECM_ITYPE_HOLIDAYRULE idocs as type ‘FIXED’ and contains one month and day value.  

 

U (floating) – with a set of month/day values

The holiday is sent to SAP FSM in /PACG/ECM_ITYPE_HOLIDAYRULE idocs as type ‘FLOATING’. A range of dates is stored in separate ‘FLOATING_DATES’ segments.

V (calculated with Easter)

 

The holiday is sent to SAP FSM in /PACG/ECM_ITYPE_HOLIDAYRULE idocs as type ‘FLOATING’.

 

The dates are stored in ‘FLOATING_DATES’ segments and are calculated by default for one year, unless a different value is specified in field of transaction /PACG/ECM_COMP.

Half-day holidays

Holidays set as half-day (Holiday Class ‘2’) are sent to SAP FSM as the second-half-of-day holidays (the ‘Part of the day’ field).

 Other holidays are sent as full-day.

 

TRANSFER OF CALENDARS

General

Use transaction /PACG/ECM_TRIG_HLDCL to transfer holiday calendars from SAP ECC/S4 to SAP FSM.

The calendars are retrieved from table THOCI which stores calendars maintained in transaction SCAL.

 

The holiday calendars relevant for sending to a given company are retrieved based on plant assignment of the EMPLOYEE object (the EMPLOYEE object should be assigned to ‘2 Plant’ in transaction /PACG/ECM_EOAS - Object Assignment and proper plants should be maintained in transaction /PACG/ECM_PLAS - Plant Assignment).

 

If the EMPLOYEE object is assigned to a personnel area, the personnel area’s ID should correspond directly to the plant ID. Usage of plant assignment is recommended.

 

A holiday calendar should be assigned to a factory calendar (in transaction SCAL) which is assigned to a specific plant in transaction OX10.

 

The calendars are sent in idocs of type /PACG/ECM_ITYPE_HOLCALENDAR. Each related holiday is included as a separate segment.

For the calendar time zones to be sent correctly, it is necessary to maintain proper time zone conversion entries in transaction /PACG/ECM_TZCNV - Time zone conversion.

Send all holiday rules

Calendars won’t be displayed in SAP FSM if all assigned holidays hadn’t been sent. This can be achieved by sending holidays with transaction /PACG/ECM_TRIG_HLDRL or checking the ‘Send all related holiday rules’ field.

 

Send calendar assignments

Similarly, holiday assignments can be sent together with calendars by checking the ‘Send calendar assignment’ option.

 

Valid years

In SAP FSM, calendars valid from a year which is in the past are not correct and cannot be changed. During calendar transfer it is checked if its ‘valid from’ year in table THOCI is at least the current year (e.g. 2020). The ‘valid to’ year should be at least (current year + 1).   

If this is not the case, the current year is assigned automatically as ‘valid from’ and the ‘valid to’ year is determined based on the number of years specified in field ‘NumOfYearsForEaster’ in transaction /PACG/ECM_COMP (e.g. add 5 years to the current year).  If this field is empty, one year is added to the current year value.

 

TRANSFER OF CALENDAR ASSIGNMENTS

Use transaction /PACG/ECM_TRIG_HLDAS to transfer holiday calendar assignments from SAP ECC/S4 to SAP FSM.

 

The person assignments are determined based on work centers related to plants for which a factory calendar is assigned.

E.g. a holiday calendar H_BE is assigned to a factory calendar F_BE. This calendar is assigned to plant 1000. Plant 1000 is related to work centers WC1000 and WC1001. Active and plannable users (to be checked in transaction /PACG/ECM_MAINT_USER) belonging to those work centers will be sent for calendar H_BE.   

Holiday calendar assignments are sent in idocs of type /PACG/ECM_ITYPE_HOLCALASS.

 

In SAP FSM a user can be assigned to one calendar only.

 

Assignment sent with an employee 

Calendar assignment can be sent during transfer of an employee with transaction /PACG/ECM_EMPL by checking the ‘Send calendar assignment’ field.

  • No labels