SAP Factory Calendar Table

Table For Factory Calendar In Sap

I’m sure many of you have dealt with the SAP factory calendar before. Recently I proposed a change to my client’s factory calendar and one of the managers asked me to validate that the contents of the calendars across the landscape to make sure I wasn’t overwriting changes that might have been made in other clients – yes, it was a strange request, I know. So I delved into the bowels of the factory calendar. Here’s a recap of what I found.

The SAP factory calendar consists of multiple tables, which can be managed through transaction SCAL (or OY05).

In SAP, when setting up a factory calendar, it is important to follow a specific sequence. This sequence includes three subobjects: public holidays, holiday calendar, and factory calendar. Each of these subobjects has its own corresponding tables that need to be defined in the correct order.

Public Holidays

A majority of the public holidays that you may require are already pre-defined for your convenience. While it is possible to create your own holidays, I recommend utilizing the existing options as they are simpler than you might anticipate.

When creating a new public holiday in SAP, you will initially need to choose the category or guideline for it.

There are five options to choose from when it comes to rules for the factory calendar in SAP: fixed, fixed day from date, distance to Easter, Easter Sunday, and floating.

On the other hand, the fixed day from date rule involves selecting the earliest possible date for a holiday and specifying the desired day of the week it should occur. Thanksgiving Day in the US serves as an example where it always falls on Thursday but never before November 22nd.

Floating holidays offer greater flexibility since they allow for defining specific dates for particular years and exceptions similar to those available for fixed days. This makes them highly adaptable when determining holidays based on varying criteria.

The holiday assurance mentioned earlier offers various choices based on the day of the week when a holiday occurs. These options include the flexibility to shift the holiday either to the preceding or following day, along with some additional intricate alternatives. While public holidays can have certain attributes like Sort Criterion, Religion, and Public Holiday Class assigned to them, these factors do not impact their functioning.

In the process of creating a public holiday, there is no key field that can be accessed by the user. Instead, it is assigned internally as a counter. This implies that it is possible to have multiple public holidays with identical names but different definitions. It is advisable to aim for simplicity and clarity when managing calendars, considering that there may be other individuals involved in maintaining them within your system.

You might be interested:  Understanding the Phenomenon: Unraveling the Mystery Behind Ascent of Sap

The THOL table in SAP stores information about public holidays. It includes details such as the type of holiday (fixed, fixed day from date, distance to Easter, Easter Sunday, or floating) and the options for guaranteed holidays. The THOLT table contains language-specific descriptions of all public holidays, including deleted ones. Lastly, the THOLU table holds information about movable public holidays, including the month and day associated with a floating holiday in a specific year.

Holiday Calendar

Each holiday calendar must have a starting and ending validity year. Then you can assign one or more public holidays from above to this calendar and the validity years for each of those public holidays. You must assign at least one public holiday in order to save the holiday calendar. See the example from Australia below.

The THOCI table in SAP consists of a comprehensive list of holiday calendars, including their start and end years. The THOCT table contains language-specific descriptions for these holiday calendars, even those that have been deleted. The THOCD table provides the public holidays assigned to each calendar along with their respective ending years. In the THOC table, specific dates (year, month, and day) are recorded for public holidays assigned to each calendar, indicating whether they are guaranteed holidays or not. Lastly, the THOCS table displays a year-by-year breakdown of valid workdays for each holiday calendar.

Factory Calendar in SAP

The factory calendar, similar to the holiday calendar, requires a defined start and end year. It is optional to assign a holiday calendar. Special rules can be defined for the factory calendar, which will be discussed later. The Factory Date Start field allows you to set a starting point for counting all working days in that particular factory calendar. I personally have not utilized this feature in any application, so I am curious if anyone else has used it. Lastly, there is a section where you specify whether each weekday or public holiday should be considered as a working day.

You have the option to set specific rules for either working or non-working periods, such as an extended factory shutdown. These rules can be added alongside any public holidays already assigned to the factory calendar. In the screenshot below, you can observe the special rule definition popup where you input the start and end dates, provide a description for the rule, and indicate whether the days within that date range should be considered as working or non-working.

There are certain limitations associated with special rules in the factory calendar of SAP. These rules do not have the capability to be set on a recurring basis at specific intervals. To achieve this, one would need to utilize multiple public holidays instead. Additionally, there is no option available to copy an existing special rule as a template for creating new rules on the screen. However, it is fortunate that defining these rules is not overly complicated.

You might be interested:  Purchase Info Record Table In Sap

TFACD is a table in SAP that stores the definitions of factory calendars, including their start and end years, weekday switches, and assigned holiday calendars. TFACT is another table that contains language-specific descriptions of these factory calendars, including any deleted ones. TFACS provides a year-by-year list for each factory calendar, displaying detailed information about valid workdays on a monthly basis. TFAIN holds the special rules for factory calendars based on specific years and start dates. Lastly, TFAIT stores language-specific descriptions of all these special rules related to factory calendar intervals.

General

There is another table connected to factory calendars.

The TCALS table provides information about the most recent update made to any factory calendar.

Creating a factory calendar is not overly complicated, as seen earlier. If you ever need to access the factory calendars, there are only a few tables that you should know about. How you manage your factory calendars depends on personal preference. Some clients prefer maintaining the calendars directly in their productive client, while others require changes to be made in their golden configuration client and then transported forward. Personally, I would lean towards the transport approach if calendar modifications are infrequent. However, for larger organizations with multiple calendars, it may be more practical to allow restricted individuals to maintain them directly in the productive client. I am curious to hear about your experiences with this matter.

The technical foundations of SAP factory calendars refer to the underlying components that support their functionality. These elements are crucial for managing and organizing work schedules within a manufacturing environment.

The T code for factory calendar in SAP: What is it?

An example of how the factory calendar is utilized in SAP applications is through its integration with MRP (Material Requirements Planning) modules. MRP helps organizations determine when and how much material should be procured or produced based on demand forecasts. The system takes into account factors such as lead times, safety stock levels, and capacity constraints while generating procurement proposals or planned orders.

Where can factory calendar information be inputted?

To access the Factory Calendar in SAP, go to the Main Menu screen and select the option “Factory Calendar.” Click on the change icon to proceed. On the Change Factory Calendar: Overview screen, click on the Create icon to create a new factory calendar. This will take you to the Change Factory Calendar Details screen.

On this screen, you need to enter specific details for your new factory calendar. These details include:

2. Description: Enter a brief description of your factory calendar.

You might be interested:  Understanding Master Data in SAP MM

3. Public holiday class: Select a public holiday class that defines which days are considered public holidays for your organization.

4. Working time schedule: Choose an existing working time schedule or create a new one that specifies when employees should work during regular days.

5. Break schedules: Define any breaks or rest periods within each working day.

Once you have entered all necessary information, save your changes and exit from the screens.

Assigning a factory calendar in SAP

In India, when configuring a factory calendar in SAP, it is important to consider the working days specific to this region. By selecting the appropriate working days and assigning a holiday calendar that aligns with Indian holidays, you can ensure accurate scheduling within your organization.

By following these steps and customizing your factory calendar according to Indian requirements in SAP, you can effectively manage work schedules while accounting for national holidays observed in India.

Obtaining a SAP factory calendar for a plant

In the SAP system, you can define a factory calendar by following these steps:

1. Go to SPRO (SAP Project Reference Object) and navigate to Enterprise Structure -> Definition -> Logistic General -> Define, Copy, Delete, Check Plant.

2. In the Factory Calendar box, select and assign a factory calendar for your plant.

A factory calendar in SAP is an essential element that helps organizations manage their production schedules efficiently. It defines the working days and non-working days for a particular plant or location based on various factors such as national holidays, company-specific events, shift patterns, etc.

Definition of factory calendar

A factory calendar in SAP is created based on a country-specific holiday calendar. It determines the working days, such as Monday to Friday, and also incorporates location-specific rules. In the case of India, the following data is provided for these categories:

1. Working Days: The factory calendar defines Monday to Friday as working days in India.

2. Public Holidays: It includes all national holidays observed in India, such as Republic Day (January 26th), Independence Day (August 15th), and Gandhi Jayanti (October 2nd).

3. Regional Holidays: Additionally, regional holidays specific to different states or regions within India are considered in the factory calendar. These may vary depending on the state or region where a particular manufacturing facility is located.

4. Festival Holidays: Festivals like Diwali, Holi, Eid-ul-Fitr, Christmas, etc., which are widely celebrated across India and have significant cultural importance, are also taken into account when setting up the factory calendar.

5. Restricted Holidays: Some organizations provide employees with optional or restricted holidays that they can choose from based on their personal preferences or religious beliefs.

Definition of factory calendar in SAP HCM

1. Republic Day – January 26th

2. Independence Day – August 15th

4. Diwali (Festival of Lights) – Varies each year (typically in October or November)

5. Christmas Day – December 25th