/PACG/ECM_TRIG_HLDCL - Trigger transfer of Holiday Calendar

Learn more about the calendar integration feature: https://proaxia-prod-doc.atlassian.net/wiki/spaces/PFCC/pages/564133891

Common reasons why calendars are not displayed properly in FSM:

  • Older FSM Cloud Connector version, or relevant SAP notes not implemented. It is recommended to upgrade to Service Pack 5 of add-on 200. We try our best to keep fixing spotted issues with SAP notes but it is not possible to deliver them for older service packs.

  • Missing time zone in the calendars - mapping in transaction /PACG/ECM_TZCNV -Time zone conversion not maintained for relevant time zones. This is necessary because FSM uses another time zone format than SAP.

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.

 

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.

 

Note that it might be necessary to execute the sending transaction twice to ensure proper object creation order in SAP FSM.

 

Holiday calendar and assignments determination

The assignment of the ‘HOLIDAYCALENDAR’ object determines how holiday calendars and holiday calendar assignments are retrieved.

 

By default (using the setup program), the ‘HOLIDAYCALENDAR’ object is set as plant-dependent in transaction https://proaxia-prod-doc.atlassian.net/wiki/spaces/PFCC/pages/31952548. It can be manually changed to be personnel area-dependent.

 

Learn more about these two approaches from the diagram below:

 

Plant assignment

Holiday calendars relevant for transfer to a given company are retrieved based on relation to a factory calendar assigned to a specific plant in transaction OX10.

 

E.g. the ‘HOLIDAYCALENDAR’ object is assigned to ‘Plant’ (transaction /PACG/ECM_EOAS - Object Assignment). For this object in company 1, plant 1000 is assigned (transaction /PACG/ECM_PLAS - Plant Assignment).

 

After executing transaction /PACG/ECM_TRIG_HLDCL - Trigger transfer of Holiday Calendar and specifying only the company ID (‘1’), the holiday calendar related to the factory calendar assigned to plant 1000 (transaction OX10) will be transferred to company 1.

 

Holiday calendar assignments are retrieved based on assignment of work centers to a specific plant. Active and plannable FSM-relevant technicians belonging to work centers related to the plants assigned in transaction /PACG/ECM_PLAS - Plant Assignment to object ‘HOLIDAYCALENDAR’ will be transferred to SAP FSM as holiday calendar assignments.

 

Personnel area assignment

Holiday calendars relevant for transfer to a given company are retrieved based on assignment of a personnel subarea to a specific holiday calendar in SPRO transaction ‘Define Groupings for the Public Holiday Calendar’:

 

E.g. the ‘HOLIDAYCALENDAR’ object is assigned to ‘Personnel area’ (transaction /PACG/ECM_EOAS - Object Assignment). For this object for company 1, personnel area 1000 is assigned (transaction /PACG/ECM_PAAS - Personnel Area assignments)

 

After executing transaction /PACG/ECM_TRIG_HLDCL - Trigger transfer of Holiday Calendar and specifying only the company ID (‘1’), the holiday calendar assigned in SPRO to the personnel subarea which belongs to the personnel area specified for the ‘HOLIDAYCALENDAR’ object for company 1 (transaction /PACG/ECM_PAAS - Personnel Area assignments) will be transferred to company 1.

 

Holiday calendar assignments are retrieved based on assignment of active and plannable FSM-relevant users to a personnel subarea in transaction PA30, infotype 0001. If the personnel area of this personnel subarea can be found in transaction /PACG/ECM_PAAS - Personnel Area assignments for the ‘HOLIDAYCALENDAR’ object and a specific company, the holiday calendar assignment will be transferred to SAP FSM to a given company.

 

Work center assignment  

ADD-ON 200 SP04

Starting from add-on 200, SP04, apart from Personnel Subareas and Plants, holiday calendars can be determined also based on work center’s calendar:

 

The work center’s factory calendar’s holiday calendar can be sent as FSM Holiday Calendar to a given company if the following conditions are met:

  • the work center belongs to the Plant to which ‘HOLIDAYCALENDAR’ object is assigned in transaction /PACG/ECM_PLAS - Plant Assignment for the target company 

 

  • Any active and plannable FSM-relevant user is assigned to the work center

 

 

  • Since this approach requires plant assignment, to differentiate from the already existing “Plant” approach, it must be also enabled in the new dedicated transaction - /PACG/ECM_HCAL - Holiday calendar customizing (field Cal Source set to ‘Work center’).

 

 

 

To use work centers as an additional filter in the sending transactions (/PACG/ECM_TRIG_HLDCL - Trigger transfer of Holiday Calendar and /PACG/ECM_TRIG_HLDAS - Trigger transfer of Holiday Assignments), enter a company ID and press enter:

 

Sending transactions depending on object assignment

Depending on the plant or personnel area assignment, the sending transactions for calendars and calendar assignments will vary.

 

Personnel area assignment of the ‘HOLIDAYCALENDAR’ object:

 

Plant assignment of the ‘HOLIDAYCALENDAR’ object:

 

Plant assignment of the ‘HOLIDAYCALENDAR’ object and work center approach enabled in transaction /PACG/ECM_HCAL - Holiday calendar customizing:

 

 

 

 

 

If you'd like to help us improve the documentation, please provide your feedback using the communication channels listed /wiki/spaces/PFCC/pages/1561427969. Learn about support possibilities here.